phoneapp/phoneuivoipextension/inc/tphonetouchpanewrapper.h
branchRCL_3
changeset 25 5266b1f337bd
parent 24 41a7f70b3818
equal deleted inserted replaced
24:41a7f70b3818 25:5266b1f337bd
    20 #define TPHONETOUCHPANEWRAPPER_H
    20 #define TPHONETOUCHPANEWRAPPER_H
    21 
    21 
    22 // INCLUDES
    22 // INCLUDES
    23 #include <e32base.h>
    23 #include <e32base.h>
    24 #include <teltouchpaneextension.h>
    24 #include <teltouchpaneextension.h>
       
    25 #include <bmtouchpaneinterface.h>
       
    26 
    25 
    27 
    26 /**
    28 /**
    27  * Wrapper class to touch pane interface.
    29  * Wrapper class to touch pane interface.
    28  *
    30  *
    29  * @since S60 5.1
    31  * @since S60 5.1
    30  */
    32  */
    31 NONSHARABLE_CLASS( TPhTouchPaneWrapper ): public MTelTouchPaneExtension
    33 NONSHARABLE_CLASS( TPhTouchPaneWrapper ): public MTelTouchPaneExtension
    32     {
    34     {
    33 
    35 
    34 public:
    36 public:
    35     TPhTouchPaneWrapper();
    37 
    36      
    38     TPhTouchPaneWrapper( MBubbleTouchPaneInterface& aTouchPane );
       
    39     
    37     /**
    40     /**
    38      * Returns number of buttons in touch pane.
    41      * Returns number of buttons in touch pane.
    39      *
    42      *
    40      * @since S60 v5.1
    43      * @since S60 v5.1
    41      * @return Button count.
    44      * @return Button count.
    62      */
    65      */
    63     void SetButtonDimmed( TInt aCommand, TBool aDimmed );
    66     void SetButtonDimmed( TInt aCommand, TBool aDimmed );
    64 
    67 
    65 private:
    68 private:
    66     
    69     
       
    70     /**
       
    71      * Reference to touch pane interface
       
    72      * Not own.
       
    73      */
       
    74     MBubbleTouchPaneInterface& iTouchPane;
       
    75     
    67     };
    76     };
    68 
    77 
    69 
    78 
    70 #endif TPHONETOUCHPANEWRAPPER_H
    79 #endif TPHONETOUCHPANEWRAPPER_H
    71 
    80