diff -r 41a7f70b3818 -r 5266b1f337bd phoneapp/phoneuivoipextension/src/tphonetouchpanewrapper.cpp --- a/phoneapp/phoneuivoipextension/src/tphonetouchpanewrapper.cpp Tue Aug 31 15:14:29 2010 +0300 +++ b/phoneapp/phoneuivoipextension/src/tphonetouchpanewrapper.cpp Wed Sep 01 12:30:10 2010 +0100 @@ -28,7 +28,9 @@ // might leave. // ----------------------------------------------------------------------------- // -TPhTouchPaneWrapper::TPhTouchPaneWrapper() +TPhTouchPaneWrapper::TPhTouchPaneWrapper( + MBubbleTouchPaneInterface& aTouchPane ) : + iTouchPane( aTouchPane ) { } @@ -38,9 +40,9 @@ // --------------------------------------------------------- // TInt TPhTouchPaneWrapper::NumberOfButtonsInPane() const - { - return KErrNotSupported; - } + { + return iTouchPane.NumberOfButtonsInPane(); + } // --------------------------------------------------------- // TPhTouchPaneWrapper::ButtonCommandId @@ -48,18 +50,21 @@ // --------------------------------------------------------- // TInt TPhTouchPaneWrapper::ButtonCommandId( - TInt /*aButtonIndex*/ ) const + TInt aButtonIndex ) const { - return KErrNotSupported; - } + return iTouchPane.ButtonCommandId( aButtonIndex ); + } // --------------------------------------------------------- // TPhTouchPaneWrapper::SetButtonDimmed // (other items were commented in a header). // --------------------------------------------------------- // -void TPhTouchPaneWrapper::SetButtonDimmed( TInt /*aCommand*/, TBool /*aDimmed*/ ) +void TPhTouchPaneWrapper::SetButtonDimmed( TInt aCommand, TBool aDimmed ) { + iTouchPane.SetButtonDimmed( aCommand, aDimmed ); } + + // End of File