phoneapp/phoneuivoipextension/src/tphonetouchpanewrapper.cpp
changeset 21 92ab7f8d0eab
parent 0 5f000ab63145
child 22 6bb1b21d2484
equal deleted inserted replaced
4:c84cf270c54f 21:92ab7f8d0eab
    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 // <-- QT PHONE START --> 
    31 TPhTouchPaneWrapper::TPhTouchPaneWrapper( 
    32 TPhTouchPaneWrapper::TPhTouchPaneWrapper( 
    32         MBubbleTouchPaneInterface& aTouchPane ) :
    33         /*MBubbleTouchPaneInterface& aTouchPane*/ ) :
    33         iTouchPane( aTouchPane )    
    34         //iTouchPane( aTouchPane )    
    34     {
    35     {
    35     }
    36     }
    36 
    37 
    37 // ---------------------------------------------------------
    38 // ---------------------------------------------------------
    38 // TPhTouchPaneWrapper::TPhTouchPaneWrapper
    39 // TPhTouchPaneWrapper::TPhTouchPaneWrapper
    39 // (other items were commented in a header).
    40 // (other items were commented in a header).
    40 // ---------------------------------------------------------
    41 // ---------------------------------------------------------
    41 //
    42 //
    42 TInt TPhTouchPaneWrapper::NumberOfButtonsInPane() const
    43 TInt TPhTouchPaneWrapper::NumberOfButtonsInPane() const
    43    	{
    44     {
    44    	return iTouchPane.NumberOfButtonsInPane();
    45     return KErrNotSupported; //iTouchPane.NumberOfButtonsInPane();
    45    	}
    46     }
    46 
    47 
    47 // ---------------------------------------------------------
    48 // ---------------------------------------------------------
    48 // TPhTouchPaneWrapper::ButtonCommandId
    49 // TPhTouchPaneWrapper::ButtonCommandId
    49 // (other items were commented in a header).
    50 // (other items were commented in a header).
    50 // ---------------------------------------------------------
    51 // ---------------------------------------------------------
    51 //
    52 //
    52 TInt TPhTouchPaneWrapper::ButtonCommandId( 
    53 TInt TPhTouchPaneWrapper::ButtonCommandId( 
    53         TInt aButtonIndex ) const
    54         TInt /*aButtonIndex*/ ) const
    54     {
    55     {
    55    	return iTouchPane.ButtonCommandId( aButtonIndex );
    56     return KErrNotSupported; //iTouchPane.ButtonCommandId( aButtonIndex );
    56    	}
    57     }
    57 
    58 
    58 // ---------------------------------------------------------
    59 // ---------------------------------------------------------
    59 // TPhTouchPaneWrapper::SetButtonDimmed
    60 // TPhTouchPaneWrapper::SetButtonDimmed
    60 // (other items were commented in a header).
    61 // (other items were commented in a header).
    61 // ---------------------------------------------------------
    62 // ---------------------------------------------------------
    62 //
    63 //
    63 void TPhTouchPaneWrapper::SetButtonDimmed( TInt aCommand, TBool aDimmed )
    64 void TPhTouchPaneWrapper::SetButtonDimmed( TInt /*aCommand*/, TBool /*aDimmed*/ )
    64    {
    65    {
    65    iTouchPane.SetButtonDimmed( aCommand, aDimmed );   
    66    //iTouchPane.SetButtonDimmed( aCommand, aDimmed );   
    66    }
    67    }
    67 
    68 
    68 
    69 // <-- QT PHONE END --> 
    69 
    70 
    70 //  End of File
    71 //  End of File