phoneapp/phoneuivoipextension/src/tphonetouchpanewrapper.cpp
branchRCL_3
changeset 62 5266b1f337bd
parent 61 41a7f70b3818
equal deleted inserted replaced
61:41a7f70b3818 62:5266b1f337bd
    26 // TPhTouchPaneWrapper::TPhTouchPaneWrapper
    26 // TPhTouchPaneWrapper::TPhTouchPaneWrapper
    27 // C++ default constructor can NOT contain any code, that
    27 // C++ default constructor can NOT contain any code, that
    28 // might leave.
    28 // might leave.
    29 // -----------------------------------------------------------------------------
    29 // -----------------------------------------------------------------------------
    30 //
    30 //
    31 TPhTouchPaneWrapper::TPhTouchPaneWrapper()
    31 TPhTouchPaneWrapper::TPhTouchPaneWrapper( 
       
    32         MBubbleTouchPaneInterface& aTouchPane ) :
       
    33         iTouchPane( aTouchPane )    
    32     {
    34     {
    33     }
    35     }
    34 
    36 
    35 // ---------------------------------------------------------
    37 // ---------------------------------------------------------
    36 // TPhTouchPaneWrapper::TPhTouchPaneWrapper
    38 // TPhTouchPaneWrapper::TPhTouchPaneWrapper
    37 // (other items were commented in a header).
    39 // (other items were commented in a header).
    38 // ---------------------------------------------------------
    40 // ---------------------------------------------------------
    39 //
    41 //
    40 TInt TPhTouchPaneWrapper::NumberOfButtonsInPane() const
    42 TInt TPhTouchPaneWrapper::NumberOfButtonsInPane() const
    41     {
    43    	{
    42     return KErrNotSupported;
    44    	return iTouchPane.NumberOfButtonsInPane();
    43     }
    45    	}
    44 
    46 
    45 // ---------------------------------------------------------
    47 // ---------------------------------------------------------
    46 // TPhTouchPaneWrapper::ButtonCommandId
    48 // TPhTouchPaneWrapper::ButtonCommandId
    47 // (other items were commented in a header).
    49 // (other items were commented in a header).
    48 // ---------------------------------------------------------
    50 // ---------------------------------------------------------
    49 //
    51 //
    50 TInt TPhTouchPaneWrapper::ButtonCommandId( 
    52 TInt TPhTouchPaneWrapper::ButtonCommandId( 
    51         TInt /*aButtonIndex*/ ) const
    53         TInt aButtonIndex ) const
    52     {
    54     {
    53     return KErrNotSupported;
    55    	return iTouchPane.ButtonCommandId( aButtonIndex );
    54     }
    56    	}
    55 
    57 
    56 // ---------------------------------------------------------
    58 // ---------------------------------------------------------
    57 // TPhTouchPaneWrapper::SetButtonDimmed
    59 // TPhTouchPaneWrapper::SetButtonDimmed
    58 // (other items were commented in a header).
    60 // (other items were commented in a header).
    59 // ---------------------------------------------------------
    61 // ---------------------------------------------------------
    60 //
    62 //
    61 void TPhTouchPaneWrapper::SetButtonDimmed( TInt /*aCommand*/, TBool /*aDimmed*/ )
    63 void TPhTouchPaneWrapper::SetButtonDimmed( TInt aCommand, TBool aDimmed )
    62    {
    64    {
       
    65    iTouchPane.SetButtonDimmed( aCommand, aDimmed );   
    63    }
    66    }
    64 
    67 
       
    68 
       
    69 
    65 //  End of File
    70 //  End of File