equal
deleted
inserted
replaced
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 |
|
27 |
25 |
28 /** |
26 /** |
29 * Wrapper class to touch pane interface. |
27 * Wrapper class to touch pane interface. |
30 * |
28 * |
31 * @since S60 5.1 |
29 * @since S60 5.1 |
32 */ |
30 */ |
33 NONSHARABLE_CLASS( TPhTouchPaneWrapper ): public MTelTouchPaneExtension |
31 NONSHARABLE_CLASS( TPhTouchPaneWrapper ): public MTelTouchPaneExtension |
34 { |
32 { |
35 |
33 |
36 public: |
34 public: |
37 |
35 TPhTouchPaneWrapper(); |
38 TPhTouchPaneWrapper( MBubbleTouchPaneInterface& aTouchPane ); |
36 |
39 |
|
40 /** |
37 /** |
41 * Returns number of buttons in touch pane. |
38 * Returns number of buttons in touch pane. |
42 * |
39 * |
43 * @since S60 v5.1 |
40 * @since S60 v5.1 |
44 * @return Button count. |
41 * @return Button count. |
65 */ |
62 */ |
66 void SetButtonDimmed( TInt aCommand, TBool aDimmed ); |
63 void SetButtonDimmed( TInt aCommand, TBool aDimmed ); |
67 |
64 |
68 private: |
65 private: |
69 |
66 |
70 /** |
|
71 * Reference to touch pane interface |
|
72 * Not own. |
|
73 */ |
|
74 MBubbleTouchPaneInterface& iTouchPane; |
|
75 |
|
76 }; |
67 }; |
77 |
68 |
78 |
69 |
79 #endif TPHONETOUCHPANEWRAPPER_H |
70 #endif TPHONETOUCHPANEWRAPPER_H |
80 |
71 |