equal
deleted
inserted
replaced
22 |
22 |
23 // INCLUDES |
23 // INCLUDES |
24 #include "xncomponent.h" |
24 #include "xncomponent.h" |
25 #include "mxncomponentinterface.h" |
25 #include "mxncomponentinterface.h" |
26 |
26 |
27 #if 0 // MSK icon change |
|
28 class TAknsItemID; |
27 class TAknsItemID; |
29 #endif // MSK icon change |
|
30 |
28 |
31 namespace XnMenuInterface |
29 namespace XnMenuInterface |
32 { |
30 { |
33 _LIT8(KType, "menu"); |
31 _LIT8(KType, "menu"); |
34 |
32 |
97 XnMenuInterface::MXnMenuInterface::TSoftKeyPosition aPos, |
95 XnMenuInterface::MXnMenuInterface::TSoftKeyPosition aPos, |
98 CXnNodeAppIf* aNode, |
96 CXnNodeAppIf* aNode, |
99 TBool aPreserveAspectRatio = EFalse, TBool aInvertMask = EFalse, |
97 TBool aPreserveAspectRatio = EFalse, TBool aInvertMask = EFalse, |
100 TBool aTransferOwnership = ETrue ) = 0; |
98 TBool aTransferOwnership = ETrue ) = 0; |
101 |
99 |
102 #if 0 // MSK icon change |
|
103 /** |
100 /** |
104 * Sets soft key image. |
101 * Sets soft key image. |
105 * @param aId icon bitmap IID |
102 * @param aId icon bitmap IID |
106 * @param aBmpFile file path. |
103 * @param aBmpFile file path. |
107 * @param aBmp Bitmap ID. |
104 * @param aBmp Bitmap ID. |
114 const TInt32 aBmp, |
111 const TInt32 aBmp, |
115 const TInt32 aBmpM, |
112 const TInt32 aBmpM, |
116 XnMenuInterface::MXnMenuInterface::TSoftKeyPosition aPos, |
113 XnMenuInterface::MXnMenuInterface::TSoftKeyPosition aPos, |
117 TBool aEnable ) = 0; |
114 TBool aEnable ) = 0; |
118 |
115 |
119 #endif // MSK icon change |
|
120 |
|
121 /** |
116 /** |
122 * Sets softkey text. |
117 * Sets softkey text. |
123 * @since Series 60 3.2 |
118 * @since Series 60 3.2 |
124 * @param aText Text to draw |
119 * @param aText Text to draw |
125 * @param aPos Softkey position |
120 * @param aPos Softkey position |
196 XnMenuInterface::MXnMenuInterface::TSoftKeyPosition aPos, |
191 XnMenuInterface::MXnMenuInterface::TSoftKeyPosition aPos, |
197 CXnNodeAppIf* aNode, |
192 CXnNodeAppIf* aNode, |
198 TBool aPreserveAspectRatio, TBool aInvertMask, |
193 TBool aPreserveAspectRatio, TBool aInvertMask, |
199 TBool aTransferOwnership = ETrue ); |
194 TBool aTransferOwnership = ETrue ); |
200 |
195 |
201 #if 0 // MSK icon change |
|
202 /** |
196 /** |
203 * @see MXnMenuInterface::SetSoftKeyImage |
197 * @see MXnMenuInterface::SetSoftKeyImage |
204 */ |
198 */ |
205 void SetSoftKeyImageL( const TAknsItemID& aId, |
199 void SetSoftKeyImageL( const TAknsItemID& aId, |
206 const TDesC& aBmpFile, |
200 const TDesC& aBmpFile, |
207 const TInt32 aBmp, |
201 const TInt32 aBmp, |
208 const TInt32 aBmpM, |
202 const TInt32 aBmpM, |
209 XnMenuInterface::MXnMenuInterface::TSoftKeyPosition aPos, |
203 XnMenuInterface::MXnMenuInterface::TSoftKeyPosition aPos, |
210 TBool aEnable ); |
204 TBool aEnable ); |
211 #endif // MSK icon change |
|
212 |
205 |
213 /** |
206 /** |
214 * @see MXnMenuInterface::SetSoftkeyTextL |
207 * @see MXnMenuInterface::SetSoftkeyTextL |
215 */ |
208 */ |
216 void SetSoftKeyTextL( const TDesC& aText, |
209 void SetSoftKeyTextL( const TDesC& aText, |