S60UIExampleInitialContainer.inc
上传用户:laixiong
上传日期:2007-03-11
资源大小:2994k
文件大小:1685k
源码类别:

Symbian

开发平台:

C/C++

  1.     __declspec(dllexport) void* ExtensionInterface( TUid aInterface );
  2. protected:
  3. TGulBorder iBorder;
  4. private:
  5.     TInt iSpare[2];
  6. };
  7. #line 10 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikctgrp.h" /* stack depth 4 */
  8. #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\lafpublc.h" /* stack depth 5 */
  9. #line 25
  10. const TInt KLafScrollBarButtonPositionMask = 0x00C0;
  11. struct SLafScrollButton
  12. {
  13. enum TType
  14. {
  15. ENudgeLeft,
  16. ENudgeUp,
  17. ENudgeRight,
  18. ENudgeDown,
  19. EPageLeft,
  20. EPageUp,
  21. EPageRight,
  22. EPageDown,
  23. EHome,
  24. ETop,
  25. EEnd,
  26. EBottom
  27. };
  28. };
  29. struct SLafScrollBar
  30. {
  31. enum TEikScrollBarFlags
  32. {
  33. EEikScrollBarDefaultBehaviour =0x0000,
  34. EEikScrollBarNoNudgeButtons =0x0001,
  35. EEikScrollBarHasPageButtons =0x0002,
  36. EEikScrollBarHasHomeEndButtons  =0x0004,
  37. EEikScrollBarNoShaftOrThumb  =0x0008,
  38. EEikScrollBarShaftButNoThumb  =0x0010,
  39. EButtonsAtStartOfShaft   =0x0040,
  40. EButtonsAtEndOfShaft  =0x0080,
  41. EButtonsEitherSideOfShaft  =EButtonsAtStartOfShaft|EButtonsAtEndOfShaft,
  42. ENoAutoDimming =0x0100
  43. };
  44. enum TOrientation
  45. {
  46. EVertical,
  47. EHorizontal
  48. };
  49. };
  50. struct SLafListBox
  51. {
  52. enum TFlags
  53. {
  54. EMultipleSelection = 0x0001,
  55. ENoExtendedSelection = 0x0002,
  56. EIncrementalMatching = 0x0004,
  57. EPopout = 0x0008,
  58. ELeftDownInViewRect = 0x0010,
  59. EItemDoubleClicked = 0x0020,
  60. EKeepModel = 0x0040,
  61. EScrollBarSizeExcluded = 0x0080,
  62. EStateChanged = 0x0100,
  63. ECreateOwnWindow = 0x0200,
  64.         ENoFirstLetterMatching      = 0x0400,
  65. EPaintedSelection = 0x0800,
  66. ES60StyleMultiselection     = 0x00010000,
  67. ES60StyleMarkable           = 0x00020000
  68. };
  69.     enum TListItemAttribute
  70.         {
  71. ECurrent    = 0x0001,
  72. EEmphasized = 0x0002,
  73. ESelected   = 0x0004,
  74. EMask = 0x0007
  75.         };
  76. enum TListItemFlags
  77. {
  78. EItemDrawMarkSelection = 0x0001,
  79. EItemPaintedSelection = 0x0002,
  80. EItemDrawOnlyActiveSelection = 0x0004
  81. };
  82. };
  83. struct SLafScrollThumb
  84. {
  85. enum TOrientation
  86. {
  87. EVertical,
  88. EHorizontal
  89. };
  90. };
  91. struct SLafScrollBarFrame
  92. {
  93. enum TScrollBarVisibility
  94. {
  95. EOff,
  96. EOn,
  97. EAuto
  98. };
  99. enum TScrollBarSide
  100. {
  101. EBottomOrRight,
  102. ETopOrLeft
  103. };
  104. enum TScrollBarManagement
  105. {
  106. EComponent,
  107. EFloating,
  108. EApplicationScrollBar
  109. };
  110. };
  111. struct SLafControlGroup
  112. {
  113. enum TStartCorner
  114. {
  115. EFromTopLeft=0x1,
  116. EFromTopRight=0x2,
  117. EFromBottomLeft=0x3,
  118. EFromBottomRight=0x4
  119. };
  120. enum TOrientation
  121. {
  122. ELayHorizontally=0x10,
  123. ELayVertically=0x20
  124. };
  125. };
  126. struct SLafButtonGroupContainer
  127. {
  128. enum TUse
  129. {
  130. EView,
  131. EDialog,
  132. EToolbar,
  133. ECba,
  134. EDialogButtons
  135. };
  136. enum TOrientation
  137. {
  138. EVertical,
  139. EHorizontal
  140. };
  141. enum TLocation
  142. {
  143. EInternal,
  144. EExternal
  145. };
  146. };
  147. struct SLafMenuBar
  148. {
  149. enum { ENominalTextLength = 40 };
  150. };
  151. struct SLafMenuPane
  152. {
  153. enum THighlightType
  154. {
  155. ENoHighlight,
  156. EDrawHighlight,
  157. ERemoveHighlight
  158. };
  159. };
  160. struct SLafButtonBase
  161. {
  162. enum TDrawState
  163. {
  164. EDrawClear =0x00,
  165. EDrawSet =0x01,
  166. EDrawIndeterminate =0x02,
  167. EDrawClearPressed =0x10,
  168. EDrawSetPressed =0x11,
  169. EDrawIndeterminatePressed =0x12
  170. };
  171. };
  172. #line 13 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikctgrp.h" /* stack depth 4 */
  173. class TEikGroupControl
  174. {
  175. public:
  176. inline TEikGroupControl();
  177. inline TEikGroupControl(CCoeControl* aControl,TInt aId,TInt aLength,TInt aFlags);
  178. public:
  179. CCoeControl* iControl;
  180. TInt iId;
  181. TInt iLongId;
  182. public:
  183. inline TBool IsLengthSet() const;
  184. inline TInt Length() const;
  185. inline TBool IsStretchable() const;
  186. inline void SetLength(TInt aLength);
  187. inline void SetStretchable();
  188. public:
  189. enum TControlFlags
  190. {
  191. ESetLength =0x01,
  192. EAllowStretch =0x02
  193. };
  194. private:
  195. TInt iLength;
  196. TInt iFlags;
  197. };
  198. class CEikControlGroup : public CEikBorderedControl
  199. {
  200. friend class CTestControlGroup;
  201. friend class CEikCba;
  202. public:
  203. enum TStartCorner
  204. {
  205. EFromTopLeft=SLafControlGroup::EFromTopLeft,
  206. EFromTopRight=SLafControlGroup::EFromTopRight,
  207. EFromBottomLeft=SLafControlGroup::EFromBottomLeft,
  208. EFromBottomRight=SLafControlGroup::EFromBottomRight
  209. };
  210. enum TOrientation
  211. {
  212. ELayHorizontally=SLafControlGroup::ELayHorizontally,
  213. ELayVertically =SLafControlGroup::ELayVertically
  214. };
  215. public:
  216. __declspec(dllexport) CEikControlGroup();
  217. __declspec(dllexport) ~CEikControlGroup();
  218. __declspec(dllexport) void ConstructL(TStartCorner aStart,TOrientation aOrientation);
  219. __declspec(dllexport) virtual void AddControlL(CCoeControl* aControl,TInt aId);
  220. __declspec(dllexport) virtual void AddControlL(TEikGroupControl& aGroupControl);
  221. __declspec(dllexport) void InsertControlL(TEikGroupControl& aGroupControl,TInt aIndex);
  222. __declspec(dllexport) void DeleteControl(TInt aIndex,TInt aCount);
  223. __declspec(dllexport) void SetLengthInPixels(TInt aLength);
  224. __declspec(dllexport) void SetBreadthInPixels(TInt aBreadth);
  225. __declspec(dllexport) void SetControlSpacing(TInt aHSpacing,TInt aVSpacing);
  226. __declspec(dllexport) void SetControlLayout(TStartCorner aStart,TOrientation aOrientation);
  227. __declspec(dllexport) void SetNumberOfLines(TInt aNumLines,TBool aDistributeEvenly);
  228. __declspec(dllexport) void SetControlsAllSameSize();
  229. __declspec(dllexport) void LayoutControls();
  230. __declspec(dllexport) CCoeControl* ControlById(TInt aId) const;
  231. __declspec(dllexport) TInt IndexById(TInt aId) const;
  232. __declspec(dllexport) void Reset();
  233. __declspec(dllexport) TInt ControlId(CCoeControl* aControl) const;
  234. __declspec(dllexport) CCoeControl* Control(TInt aIndex) const;
  235. __declspec(dllexport) CArrayFix<TEikGroupControl> * ControlArray() const;
  236. __declspec(dllexport) TOrientation Orientation() const;
  237. __declspec(dllexport) void ControlSpacing(TInt& aHSpacing,TInt& aVSpacing) const;
  238. public:
  239. __declspec(dllexport) TSize MinimumSize();
  240.     __declspec(dllexport) TInt CountComponentControls() const;
  241. __declspec(dllexport) virtual void GetColorUseListL(CArrayFix<TCoeColorUse>& aColorUseList) const;
  242. __declspec(dllexport) virtual void HandleResourceChange(TInt aType);
  243.     __declspec(dllexport) void HandlePointerEventL(const TPointerEvent& aPointerEvent);
  244. protected:
  245. enum
  246. {
  247. EDistributeEvenly =0x40,
  248. EAllSameSize =0x80
  249. };
  250. protected:
  251.     __declspec(dllexport) CCoeControl* ComponentControl(TInt aIndex) const;
  252. __declspec(dllexport) void WriteInternalStateL(RWriteStream& aWriteStream) const;
  253. private:
  254. __declspec(dllexport) void Reserved_2();
  255. private:
  256.     __declspec(dllexport) void* ExtensionInterface( TUid aInterface );
  257. private:
  258. __declspec(dllexport) TInt Adjacent(TInt aRow,TInt aColumn,TInt aCtrlIndex,TInt aTotalRows,TInt aTotalColumns) const;
  259. __declspec(dllexport) TStartCorner StartCorner() const;
  260. __declspec(dllexport) void DeleteAllComponents();
  261. __declspec(dllexport) TSize ControlMinimumSize(TInt aIndex) const;
  262. __declspec(dllexport) TInt ControlMinimumLength(TInt aIndex);
  263. __declspec(dllexport) TSize LargestControlSize() const;
  264. __declspec(dllexport) TBool DistributeEvenly() const;
  265. __declspec(dllexport) TBool AllSameSize();
  266. private:
  267.     __declspec(dllexport) void SizeChanged();
  268. __declspec(dllexport) void Draw(const TRect& aRect) const;
  269. protected:
  270. CArrayFix<TEikGroupControl> * iControlArray;
  271. private:
  272. TInt iLayout;
  273. TInt iLines;
  274. TInt iHSpacing;
  275. TInt iVSpacing;
  276. TInt iBreadth;
  277. TInt iLength;
  278. TSize iLargestControl;
  279. };
  280. inline TEikGroupControl::TEikGroupControl()
  281. { iControl=0 ; iId=iFlags=iLength=0; }
  282. inline TEikGroupControl::TEikGroupControl(CCoeControl* aControl,TInt aId,TInt aLength,TInt aFlags)
  283. : iControl(aControl),iId(aId),iLength(aLength),iFlags(aFlags)
  284. {}
  285. inline TBool TEikGroupControl::IsLengthSet() const
  286. { return iFlags&ESetLength; }
  287. inline TInt TEikGroupControl::Length() const
  288. { return iLength; }
  289. inline TBool TEikGroupControl::IsStretchable() const
  290. { return iFlags&EAllowStretch; }
  291. inline void TEikGroupControl::SetLength(TInt aLength)
  292. { iLength=aLength; iFlags|=ESetLength; }
  293. inline void TEikGroupControl::SetStretchable()
  294. { iFlags|=EAllowStretch; }
  295. #line 10 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikcba.h" /* stack depth 3 */
  296. #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikbtgrp.h" /* stack depth 4 */
  297. #line 13
  298. class CCoeControl;
  299. class CEikCommandButton;
  300. class CFbsBitmap;
  301. class MEikButtonGroup
  302. {
  303. public:
  304. void Release();
  305. virtual void SetCommandL(TInt aPosition,TInt aCommandId,const TDesC* aText,const CFbsBitmap* aBitmap,const CFbsBitmap* aMask)=0;
  306. virtual void SetCommandL(TInt aPosition,TInt aResourceId)=0;
  307. virtual void SetCommandSetL(TInt aResourceId)=0;
  308. virtual void AddCommandL(TInt aPosition,TInt aCommandId,const TDesC* aText,const CFbsBitmap* aBitmap,const CFbsBitmap* aMask)=0;
  309. virtual void AddCommandToStackL(TInt aPosition,TInt aCommandId,const TDesC* aText,const CFbsBitmap* aBitmap,const CFbsBitmap* aMask)=0;
  310. virtual void AddCommandToStackL(TInt aPosition,TInt aResourceId)=0;
  311. virtual void AddCommandSetToStackL(TInt aResourceId)=0;
  312. virtual void SetDefaultCommand(TInt aCommandId)=0;
  313. virtual TSize CalcMinimumSizeL(TInt aResourceId)=0;
  314. virtual void RemoveCommandFromStack(TInt aPosition,TInt aCommandId)=0;
  315. virtual TInt CommandPos(TInt aCommandId) const=0;
  316. virtual void DimCommand(TInt aCommandId,TBool aDimmed)=0;
  317. virtual TBool IsCommandDimmed(TInt aCommandId) const=0;
  318. virtual void MakeCommandVisible(TInt aCommandId,TBool aVisible)=0;
  319. virtual TBool IsCommandVisible(TInt aCommandId) const=0;
  320. __declspec(dllexport) virtual void AnimateCommand(TInt aCommandId);
  321. virtual CCoeControl* AsControl()=0;
  322. virtual const CCoeControl* AsControl() const=0;
  323. virtual void SetBoundingRect(const TRect& aBoundingRect)=0;
  324. virtual void ReduceRect(TRect& aBoundingRect) const=0;
  325. virtual CCoeControl* GroupControlById(TInt aCommandId) const=0;
  326. virtual CEikCommandButton* GroupControlAsButton(TInt aCommandId) const=0;
  327. virtual TInt CommandId(TInt aCommandPos) const=0;
  328. virtual TInt ButtonCount() const=0;
  329. virtual TUint ButtonGroupFlags() const=0;
  330. private:
  331. __declspec(dllexport) void Reserved_1();
  332. };
  333. class MEikEnhancedButtonGroup : public MEikButtonGroup
  334. {
  335. public:
  336. __declspec(dllexport) virtual void OfferCommandListL(const RArray<TInt>& aCommandList)=0;
  337. __declspec(dllexport) virtual void OfferCommandListL(const TInt aResourceId)=0;
  338. __declspec(dllexport) virtual TBool IsCommandInGroup(const TInt aCommandId) const=0;
  339. __declspec(dllexport) virtual void ReplaceCommand(const TInt aCommandId, const TInt aResourceId)=0;
  340. };
  341. #line 18 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikcba.h" /* stack depth 3 */
  342. #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eiksbobs.h" /* stack depth 4 */
  343. #line 12
  344. enum TEikScrollEvent
  345. {
  346. EEikScrollLeft=1,
  347. EEikScrollUp,
  348. EEikScrollRight,
  349. EEikScrollDown,
  350. EEikScrollPageLeft,
  351. EEikScrollPageUp,
  352. EEikScrollPageRight,
  353. EEikScrollPageDown,
  354. EEikScrollHome,
  355. EEikScrollTop,
  356. EEikScrollEnd,
  357. EEikScrollBottom,
  358. EEikScrollThumbDragHoriz,
  359. EEikScrollThumbDragVert,
  360. EEikScrollThumbReleaseHoriz,
  361. EEikScrollThumbReleaseVert
  362. };
  363. class CEikScrollBar;
  364. class MEikScrollBarObserver
  365. {
  366. public:
  367. virtual void HandleScrollEventL(CEikScrollBar* aScrollBar, TEikScrollEvent aEventType)=0;
  368. };
  369. #line 22 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikcba.h" /* stack depth 3 */
  370. #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eiksbfrm.h" /* stack depth 4 */
  371. #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknscrlb.h" /* stack depth 5 */
  372. #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikscrlb.h" /* stack depth 6 */
  373. #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknscbut.h" /* stack depth 7 */
  374. #line 31
  375. class CAknScrollIndicator;
  376. class CAknScrollButton : public CAknControl
  377. {
  378. public:
  379. enum TType
  380. {
  381. ENudgeLeft,
  382. ENudgeUp,
  383. ENudgeRight,
  384. ENudgeDown,
  385. EPageLeft,
  386. EPageUp,
  387. EPageRight,
  388. EPageDown,
  389. EHome,
  390. ETop,
  391. EEnd,
  392. EBottom
  393. };
  394. public:
  395. enum TTypeOfScrollBar
  396. {
  397. ENormal =0x00,
  398. EArrowHead =0x01
  399. };
  400. public:
  401. __declspec(dllexport) static CAknScrollButton* NewL(TType aType);
  402. __declspec(dllexport) ~CAknScrollButton();
  403. __declspec(dllexport) TType Type() const;
  404. __declspec(dllexport) void CreateWindowOnlyForArrowsL(const CCoeControl* aParent);
  405. __declspec(dllexport) TBool IsNormalScrollBarUsingButton() const;
  406. __declspec(dllexport) void SetTypeOfScrollBarUsingButton(TTypeOfScrollBar aTypeOfScrollBar);
  407. __declspec(dllexport) void SetPosition(const TInt aFocusPosition, const TInt aScrollSpan);
  408. #line 138
  409. __declspec(dllexport) static CAknScrollButton* NewL(TType aType, TTypeOfScrollBar aTypeOfScrollBar);
  410. private:
  411. CAknScrollButton(TType aType);
  412. void ConstructL();
  413. void SizeChanged();
  414. void DrawIndicator() const;
  415. void ConstructL(TTypeOfScrollBar aTypeOfScrollBar);
  416. private:
  417. virtual void Draw(const TRect& aRect) const;
  418. private:
  419. friend class CAknScrollBar;
  420. TType iType;
  421. TInt iFlag;
  422. CAknScrollIndicator* iScrollIndicator;
  423. TRect iOldRect;
  424. };
  425. #line 18 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikscrlb.h" /* stack depth 6 */
  426. class CEikCba;
  427. class CAknDoubleSpanScrollIndicator;
  428. class CEikScrollBarExtensionImpl;
  429. class CEikScrollBarExtension;
  430. class CAknDoubleSpanScrollBarExtension;
  431. const TInt KEikScrollEventFromVBar=0;
  432. const TInt KEikScrollEventFromHBar=0x01;
  433. const TInt KEikScrollEventBarMask=0x01;
  434. const TInt KButtonPositionMask=KLafScrollBarButtonPositionMask;
  435. const TInt KDisplayComponentsMask=0x1f;
  436. class TEikScrollBarModel
  437. {
  438. public:
  439. inline TEikScrollBarModel();
  440. __declspec(dllexport) TEikScrollBarModel(TInt aScrollSpan,TInt aThumbSpan=0,TInt aThumbPosition=0);
  441. __declspec(dllexport) TBool operator==(const TEikScrollBarModel aModel) const;
  442. inline TBool operator!=(const TEikScrollBarModel aModel) const;
  443. public:
  444. __declspec(dllexport) TBool ScrollBarUseful() const;
  445. __declspec(dllexport) TInt MaxThumbPos() const;
  446. __declspec(dllexport) void CheckBounds();
  447.     enum TEikScrollBarModelType
  448. {
  449. EEikScrollBarModel               = 0x00000000,
  450. EAknDoubleSpanScrollBarModel     = 0x80000000
  451. };
  452.     TEikScrollBarModel::TEikScrollBarModelType ScrollBarModelType() const;
  453. public:
  454. TInt iScrollSpan;
  455. TInt iThumbSpan;
  456. TInt iThumbPosition;
  457. };
  458. inline TEikScrollBarModel::TEikScrollBarModel() {}
  459. inline TBool TEikScrollBarModel::operator!=(const TEikScrollBarModel aModel) const { return !(*this==aModel); }
  460. #line 81
  461. class TAknDoubleSpanScrollBarModel : public TEikScrollBarModel
  462. {
  463. public:
  464.     __declspec(dllexport) TAknDoubleSpanScrollBarModel();
  465. #line 117
  466.     __declspec(dllexport) TAknDoubleSpanScrollBarModel(const TEikScrollBarModel& aEikModel);
  467. #line 143
  468.     __declspec(dllexport) void SetScrollSpan(TInt aValue);
  469.     __declspec(dllexport) void SetFocusPosition(TInt aValue);
  470.     __declspec(dllexport) void SetWindowSize(TInt aValue);
  471.     __declspec(dllexport) void SetFieldSize(TInt aValue);
  472.     __declspec(dllexport) void SetFieldPosition(TInt aValue);
  473. #line 162
  474.     __declspec(dllexport) TInt ScrollSpan() const;
  475.     __declspec(dllexport) TInt FocusPosition() const;
  476.     __declspec(dllexport) TInt WindowSize() const;
  477.     __declspec(dllexport) TInt FieldSize() const;
  478.     __declspec(dllexport) TInt FieldPosition() const;
  479. #line 187
  480.     static TBool ModelIsSupported();
  481. private:
  482.     TUint16 Scale() const;
  483. #line 206
  484.     void SetScale(TUint16 aScale);
  485. private:
  486.     TInt16 ScrollSpanValue() const;
  487.     TInt16 FocusPositionValue() const;
  488.     TInt16 FieldPositionValue() const;
  489.     TInt16 FieldSizeValue() const;
  490.     TInt16 WindowSizeValue() const;
  491. #line 229
  492.     void SetScrollSpanValue(TInt16 aValue);
  493.     void SetFocusPositionValue(TInt16 aValue);
  494.     void SetFieldPositionValue(TInt16 aValue);
  495.     void SetFieldSizeValue(TInt16 aValue);
  496.     void SetWindowSizeValue(TInt16 aValue);
  497. #line 242
  498.     TInt16 LowBytes(TInt aInt) const;
  499. #line 251
  500.     TInt16 HighBytes(TInt aInt) const;
  501. #line 261
  502.     void SetLowBytes(TInt& aInt, TInt16 aValue);
  503. #line 270
  504.     void SetHighBytes(TInt& aInt, TInt16 aValue);
  505. #line 281
  506.     TInt16 PrepareScaledValue(TInt aNonScaledValue);
  507. #line 291
  508.     void ReScale(TUint16 aNewScale);
  509. #line 301
  510.     void SetScrollBarModelType(TEikScrollBarModelType aModelType);
  511. #line 312
  512.     TInt CheckMinMaxValue(TInt aValue);
  513.     };
  514. class CEikScrollThumb;
  515. class CEikScrollBarFrame;
  516. class CEikScrollBar : public CEikBorderedControl, public MCoeControlObserver
  517. {
  518. friend class CEikScrollBarExtension;
  519. friend class CAknDoubleSpanScrollBarExtension;
  520. public:
  521. enum TOrientation
  522. {
  523. EVertical = SLafScrollBar::EVertical,
  524. EHorizontal = SLafScrollBar::EHorizontal
  525. };
  526. enum TScrollBarType
  527. {
  528. ENormalScrollBar =0x0,
  529. EArrowHead =0x200,
  530. EDoubleSpan =0x400
  531. };
  532. enum TEikScrollBarFlags
  533. {
  534. EEikScrollBarDefaultBehaviour   =SLafScrollBar::EEikScrollBarDefaultBehaviour,
  535. EEikScrollBarNoNudgeButtons =SLafScrollBar::EEikScrollBarNoNudgeButtons,
  536. EEikScrollBarHasPageButtons =SLafScrollBar::EEikScrollBarHasPageButtons,
  537. EEikScrollBarHasHomeEndButtons =SLafScrollBar::EEikScrollBarHasHomeEndButtons,
  538. EEikScrollBarNoShaftOrThumb =SLafScrollBar::EEikScrollBarNoShaftOrThumb,
  539. EEikScrollBarShaftButNoThumb =SLafScrollBar::EEikScrollBarShaftButNoThumb,
  540. EButtonsAtStartOfShaft =SLafScrollBar::EButtonsAtStartOfShaft,
  541. EButtonsAtEndOfShaft =SLafScrollBar::EButtonsAtEndOfShaft,
  542. EButtonsEitherSideOfShaft =SLafScrollBar::EButtonsEitherSideOfShaft,
  543. ENoAutoDimming =SLafScrollBar::ENoAutoDimming
  544. };
  545. typedef TEikScrollBarFlags TAknScrollBarFlags;
  546. public:
  547. __declspec(dllexport) ~CEikScrollBar();
  548. __declspec(dllexport) CEikScrollBar();
  549. public:
  550. __declspec(dllexport) virtual void ConstructL(MEikScrollBarObserver* aScrollBarObserver,const CCoeControl* aParent,
  551. TOrientation aOrientation,TInt aLength,TInt aScrollBarFlags=EEikScrollBarDefaultBehaviour);
  552. __declspec(dllexport) void SetLengthL(TInt aLength);
  553. __declspec(dllexport) void SetModelL(const TEikScrollBarModel* aModel);
  554. __declspec(dllexport) void SetModel(const TEikScrollBarModel* aModel);
  555. __declspec(dllexport) void SetLengthAndModelL(TInt aLength,const TEikScrollBarModel* aModel);
  556. __declspec(dllexport) void SetModelThumbPosition(TInt aThumbPos);
  557. __declspec(dllexport) void SetFocusPosToThumbPos(TInt aFocusPosition);
  558. __declspec(dllexport) static TInt DefaultScrollBarBreadth();
  559. #line 387
  560.     void SetScrollBarObserver(MEikScrollBarObserver* aScrollBarObserver);
  561. inline const TEikScrollBarModel* Model() const;
  562. __declspec(dllexport) TInt ThumbPosition() const;
  563. __declspec(dllexport) TInt ScrollBarBreadth() const;
  564. __declspec(dllexport) static TInt MinVisibleLength(const TInt aScrollBarFlags);
  565. __declspec(dllexport) void SetDecreaseButtonsDimmed(TBool aDimmed);
  566. __declspec(dllexport) void SetIncreaseButtonsDimmed(TBool aDimmed);
  567. __declspec(dllexport) void SetAllButtonsDimmed(TBool aDimmed);
  568. inline CAknScrollButton* IncreaseNudgeButton() const;
  569. inline CAknScrollButton* DecreaseNudgeButton() const;
  570. __declspec(dllexport) void SetContainingCba(CEikCba* aCba);
  571. __declspec(dllexport) void MakeVisible(TBool aVisible);
  572.     __declspec(dllexport) void HandlePointerEventL(const TPointerEvent& aPointerEvent);
  573. protected:
  574. __declspec(dllexport) CCoeControl* ComponentControl(TInt aIndex) const;
  575. __declspec(dllexport) TInt CountComponentControls() const;
  576. private:
  577. __declspec(dllexport) virtual void HandleControlEventL(CCoeControl* aControl, TCoeEvent aEventType);
  578. private:
  579. __declspec(dllexport) virtual void Reserved_2();
  580. private:
  581.     __declspec(dllexport) void* ExtensionInterface( TUid aInterface );
  582. protected:
  583. friend class CEikScrollBarFrame;
  584. enum TPrivateScrollBarFlags
  585. {
  586. ENoComponentsToDisplay          =0x10000,
  587. EIncreaseButtonsDimmed          =0x20000,
  588. EDecreaseButtonsDimmed          =0x40000
  589. };
  590. enum TPointerDownOn
  591. {
  592. ENone,
  593. EHomeButton,
  594. EDecreasePageButton,
  595. EDecreaseNudgeButton,
  596. EDecreaseShaft,
  597. EThumb,
  598. EIncreaseShaft,
  599. EIncreaseNudgeButton,
  600. EIncreasePageButton,
  601. EEndButton
  602. };
  603. enum TShaftRedrawRequired
  604. {
  605. ENoRedrawRequired,
  606. ERedrawShaft
  607. };
  608. enum TWhichButtons
  609. {
  610. EIncreaseOnly,
  611. EDecreaseOnly,
  612. EAll
  613. };
  614. struct SEikScrollBarButtons
  615. {
  616. CAknScrollButton* iDecreaseNudge;
  617. CAknScrollButton* iIncreaseNudge;
  618. };
  619. private:
  620. __declspec(dllexport) virtual void CreateButtonL(CAknScrollButton*& aButton,CAknScrollButton::TType aType);
  621. void SizeChanged();
  622. void DoSetModel(const TEikScrollBarModel* aModel);
  623. CEikCba* Cba() const;
  624. void AddExternalFrameL(CEikScrollBarFrame* aFrame);
  625. void RemoveExternalFrame(CEikScrollBarFrame* aFrame);
  626. void DisconnectExternalFrames();
  627. protected:
  628. void CreateRequiredComponentsL();
  629. void DestroyButton(CAknScrollButton*& aButton);
  630. __declspec(dllexport) virtual void SetButtonPositionL(CAknScrollButton* aButton);
  631. public:
  632.     TScrollBarType ScrollBarType();
  633. public:
  634. TDblQueLink iSBLink;
  635. protected:
  636. SEikScrollBarButtons iButtons;
  637. TOrientation iOrientation;
  638. private:
  639. TEikScrollBarModel iModel;
  640. protected:
  641.     CEikScrollBarExtensionImpl* iExtension;
  642.   };
  643. #line 512
  644. class CEikArrowHeadScrollBar : public CEikScrollBar
  645. {
  646. public:
  647. __declspec(dllexport) CEikArrowHeadScrollBar(CCoeControl* aParentWindow);
  648. __declspec(dllexport) ~CEikArrowHeadScrollBar();
  649. public:
  650. __declspec(dllexport) void ConstructL(MEikScrollBarObserver* aScrollBarObserver,const CCoeControl* aParent,
  651. TOrientation aOrientation,TInt aLength,TInt aScrollBarFlags=EEikScrollBarDefaultBehaviour);
  652. public:
  653.     __declspec(dllexport) void HandlePointerEventL(const TPointerEvent& aPointerEvent);
  654. private:
  655. void CreateButtonL(CAknScrollButton*& aButton,CAknScrollButton::TType aType);
  656. void SetButtonPositionL(CAknScrollButton* aButton);
  657. private:
  658. private:
  659.     __declspec(dllexport) void* ExtensionInterface( TUid aInterface );
  660. private:
  661. CCoeControl* iParentControl;
  662.     TInt iSpare;
  663. };
  664. #line 551
  665. class CAknDoubleSpanScrollBar : public CEikScrollBar
  666. {
  667. public:
  668. __declspec(dllexport) CAknDoubleSpanScrollBar(CCoeControl* aParentWindow);
  669. __declspec(dllexport) ~CAknDoubleSpanScrollBar();
  670. #line 565
  671.     __declspec(dllexport) void SetFixedLayoutRect(TRect aScrollBarRect);
  672. #line 579
  673.     __declspec(dllexport) void ConstructL(TBool aWindowOwning, MEikScrollBarObserver* aScrollBarObserver,const CCoeControl* aParent,
  674. TOrientation aOrientation,TInt aLength,TInt aScrollBarFlags=EEikScrollBarDefaultBehaviour);
  675.     TRect FixedLayoutRect();
  676. public:
  677. __declspec(dllexport) void ConstructL(MEikScrollBarObserver* aScrollBarObserver,const CCoeControl* aParent,
  678. TOrientation aOrientation,TInt aLength,TInt aScrollBarFlags=EEikScrollBarDefaultBehaviour);
  679.     __declspec(dllexport) void MakeVisible(TBool aVisible);
  680. public:
  681.     __declspec(dllexport) void HandlePointerEventL(const TPointerEvent& aPointerEvent);
  682. protected:
  683. __declspec(dllexport) CCoeControl* ComponentControl(TInt aIndex) const;
  684.     __declspec(dllexport) TInt CountComponentControls() const;
  685. private:
  686.     __declspec(dllexport) void SizeChanged();
  687. private:
  688.     __declspec(dllexport) void* ExtensionInterface( TUid aInterface );
  689. private:
  690. void CreateButtonL(CAknScrollButton*& aButton,CAknScrollButton::TType aType);
  691. void SetButtonPositionL(CAknScrollButton* aButton);
  692. #line 619
  693.     void SetTransparentBackground(TBool aTransparentBackground);
  694. private:
  695. CCoeControl* iParentControl;
  696.     TInt iSpare;
  697. };
  698. inline const TEikScrollBarModel* CEikScrollBar::Model() const
  699. { return &iModel; }
  700. inline CAknScrollButton* CEikScrollBar::IncreaseNudgeButton() const
  701. { return iButtons.iIncreaseNudge; }
  702. inline CAknScrollButton* CEikScrollBar::DecreaseNudgeButton() const
  703. { return iButtons.iDecreaseNudge; }
  704. #line 10 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknscrlb.h" /* stack depth 5 */
  705. #line 11 "C:\Symbian\9.1\S60_3rd\epoc32\include\eiksbfrm.h" /* stack depth 4 */
  706. class CEikCba;
  707. class TEikScrollBarFrameLayout
  708. {
  709. public:
  710. enum TTilingMode
  711. {
  712. EClientRectConstant,
  713. EInclusiveRectConstant
  714. };
  715. public:
  716. __declspec(dllexport) TEikScrollBarFrameLayout();
  717. __declspec(dllexport) void SetInclusiveMargin(TInt aMargin);
  718. __declspec(dllexport) void SetClientMargin(TInt aMargin);
  719. public:
  720. TMargins iInclusiveMargin;
  721. TMargins iClientMargin;
  722. TSize iClientAreaGranularity;
  723. TTilingMode iTilingMode;
  724. };
  725. class CEikCornerWindow;
  726. class CEikScrollBarFrameExtension;
  727. class CEikScrollBarFrame : public CBase
  728. {
  729. public:
  730. enum { ETypeId = 0x101F8672 };
  731. enum TScrollBarVisibility
  732. {
  733. EOff,
  734. EOn,
  735. EAuto
  736. };
  737. enum TScrollBarType
  738. {
  739. ENormalScrollBar =0x0,
  740. EArrowHead =0x200,
  741. EDoubleSpan =0x400
  742. };
  743. enum TScrollBarSide
  744. {
  745. EBottomOrRight =0x0,
  746. ETopOrLeft =0x800
  747. };
  748. enum TScrollBarManagement
  749. {
  750. EComponent ,
  751. EFloating ,
  752. EApplicationScrollBar
  753. };
  754. enum TScrollBarFrameFlags
  755. {
  756. EHVisible =0x01,
  757. EVVisible =0x02,
  758. };
  759. private:
  760. enum TMarginsAdjustmentMode
  761. {
  762. EGrow,
  763. EShrink
  764. };
  765. public:
  766. CEikScrollBarFrame(){}
  767. __declspec(dllexport) CEikScrollBarFrame(CCoeControl* aParentWindow, MEikScrollBarObserver* aObserver, TBool aPreAlloc=EFalse);
  768. __declspec(dllexport) ~CEikScrollBarFrame();
  769. CEikScrollBarFrame(CCoeControl* aParentWindow, MEikScrollBarObserver* aObserver, TBool aPreAlloc, TBool aDoubleSpan);
  770.     void InitExtension(CCoeControl* aParentWindow, MEikScrollBarObserver* aObserver);
  771. __declspec(dllexport) void DrawScrollBarsNow() const;
  772.     __declspec(dllexport) void SetScrollBarVisibilityL(TScrollBarVisibility aHVisibility, TScrollBarVisibility aVVisibility);
  773. #line 132
  774.     inline TScrollBarVisibility VScrollBarVisibility() const;
  775. #line 141
  776. __declspec(dllexport) void SetScrollBarFrameObserver(MEikScrollBarObserver* aObserver);
  777. #line 153
  778.     __declspec(dllexport) TBool Tile(TEikScrollBarModel* aVModel);
  779. #line 181
  780.     __declspec(dllexport) TBool TileL(TEikScrollBarModel* aHModel, TEikScrollBarModel* aVModel,
  781.   TRect& aClientRect, TRect& aInclusiveRect, const TEikScrollBarFrameLayout& aLayout);
  782. #line 196
  783.     __declspec(dllexport) void MoveThumbsBy(TInt aDeltaX, TInt aDeltaY);
  784. #line 207
  785. __declspec(dllexport) void MoveHorizThumbTo(TInt aHorizThumbPos);
  786. #line 218
  787.     __declspec(dllexport) void MoveVertThumbTo(TInt aVertThumbPos);
  788. #line 228
  789.     __declspec(dllexport) void SetVFocusPosToThumbPos(TInt aFocusPosition);
  790. #line 237
  791.   __declspec(dllexport) TInt ScrollBarBreadth(CEikScrollBar::TOrientation aOrientation) const;
  792. #line 246
  793.     __declspec(dllexport) void SetAdjustsHorizontalModel(TBool aAdjusts);
  794.     __declspec(dllexport) void SetAdjustsVerticalModel(TBool aAdjusts);
  795. #line 263
  796.     inline void SetScrollBarFrameFlags(TInt aMask);
  797. #line 272
  798.     __declspec(dllexport) TBool ScrollBarExists(CEikScrollBar::TOrientation aOrientation) const;
  799. #line 282
  800.     __declspec(dllexport) TInt CountComponentControls() const;
  801. #line 291
  802.     __declspec(dllexport) CCoeControl* ComponentControl(TInt aIndex) const;
  803.     __declspec(dllexport) CEikScrollBar* GetScrollBarHandle(CEikScrollBar::TOrientation aOrientation) const;
  804.     __declspec(dllexport) CEikScrollBar* VerticalScrollBar() const;
  805. #line 315
  806.     __declspec(dllexport) void SetTypeOfHScrollBar(TScrollBarType aType);
  807. #line 324
  808.     __declspec(dllexport) void SetTypeOfVScrollBar(TScrollBarType aType);
  809.     __declspec(dllexport) TScrollBarType TypeOfHScrollBar() const;
  810. __declspec(dllexport) TScrollBarType TypeOfVScrollBar() const;
  811.     __declspec(dllexport) TBool IsArrowHeadScrollBar(TInt aFlag) const;
  812. #line 356
  813. void DisconnectExternalScrollBar(CEikScrollBar* aScrollBar);
  814. #line 397
  815.     __declspec(dllexport) void CreateDoubleSpanScrollBarsL(TBool aWindowOwning, TBool aRemote);
  816. #line 421
  817.     __declspec(dllexport) void CreateDoubleSpanScrollBarsL(TBool aWindowOwning, TBool aRemote, TBool aVertical, TBool aHorizontal);
  818. #line 438
  819.     __declspec(dllexport) void Tile(TEikScrollBarModel* aVModel, TRect& aVScrollBar);
  820. #line 448
  821. __declspec(dllexport) void Tile(TEikScrollBarModel* aHModel, TEikScrollBarModel* aVModel);
  822. #line 462
  823. __declspec(dllexport) TScrollBarVisibility ScrollBarVisibility(CEikScrollBar::TOrientation aOrientation) const;
  824. public:
  825.     CEikScrollBar* HorizontalScrollBar() const;
  826. protected:
  827. void SetParentWindow(CCoeControl* aParentWindow);
  828. CCoeControl* ParentWindow() const;
  829. protected:
  830. struct SBarData
  831. {
  832. CEikScrollBar * iBar;
  833. TEikScrollBarModel iModel;
  834. TScrollBarVisibility iVisibility;
  835. TBool iExternalScrollBarAttached;
  836. };
  837. private:
  838. void CalcTheoreticalScrollBarVisibility(const TEikScrollBarModel* aVModel);
  839. void ApplyModel(SBarData& aSBar);
  840. void MakeSBarVisible(SBarData& aSBar, TBool aVisible);
  841. void GetScrollBars(TBool aDoubleSpan);
  842. CEikCba* GetCurrentCba();
  843.     void DeleteScrollBars();
  844.     void CreateArrowHeadScrollBarsL();
  845.     void CalcTheoreticalScrollBarVisibility(const TEikScrollBarModel* aVModel, const TEikScrollBarModel* aHModel);
  846. protected:
  847. SBarData iV;
  848. private:
  849.     CEikScrollBarFrameExtension* iExtension;
  850.     TInt iScrollBarFrameFlags;
  851.     friend class CEikScrollBarFrameExtension;
  852. };
  853. inline CEikScrollBarFrame::TScrollBarVisibility CEikScrollBarFrame::VScrollBarVisibility() const
  854. { return iV.iVisibility; }
  855. inline void CEikScrollBarFrame::SetScrollBarFrameFlags(TInt aMask)
  856. { iScrollBarFrameFlags|=aMask; }
  857. class CEikCbaScrollBarFrame : public CEikScrollBarFrame
  858. {
  859. public:
  860. CEikCbaScrollBarFrame(CCoeControl* aParentWindow, MEikScrollBarObserver* aObserver, TBool aPreAlloc=EFalse);
  861. void ConstructL();
  862. void SwitchToArrowHeadScrollBarL();
  863. };
  864. #line 26 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikcba.h" /* stack depth 3 */
  865. #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikimage.h" /* stack depth 4 */
  866. #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikalign.h" /* stack depth 5 */
  867. #line 23
  868. class CEikAlignedControl : public CAknControl
  869. {
  870. public:
  871. __declspec(dllexport) CEikAlignedControl();
  872. __declspec(dllexport) ~CEikAlignedControl();
  873. __declspec(dllexport) void SetAllMarginsTo(TInt aValue);
  874. __declspec(dllexport) void SetAlignment(TGulAlignmentValue aAlign);
  875. public:
  876.     __declspec(dllexport) void HandlePointerEventL(const TPointerEvent& aPointerEvent);
  877. protected:
  878. __declspec(dllexport) void WriteInternalStateL(RWriteStream& aWriteStream) const;
  879. private:
  880.     __declspec(dllexport) void* ExtensionInterface( TUid aInterface );
  881. public:
  882. TMargins8 iMargin;
  883. TGulAlignment iAlignment;
  884. private:
  885.     TInt iSpare[2];
  886. };
  887. #line 10 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikimage.h" /* stack depth 4 */
  888. class CFbsBitmap;
  889. class CBitmapContext;
  890. class CEikImage : public CEikAlignedControl
  891. {
  892. public:
  893. __declspec(dllexport) CEikImage();
  894. __declspec(dllexport) ~CEikImage();
  895. public:
  896. __declspec(dllexport) TSize MinimumSize();
  897. __declspec(dllexport) void ConstructFromResourceL(TResourceReader& aReader);
  898. public:
  899. __declspec(dllexport) void CreatePictureFromFileL(const TDesC& aFilename,TInt aMainId,TInt aMaskId=-1);
  900. __declspec(dllexport) void SetPicture(const CFbsBitmap* aBitmap,const CFbsBitmap* aMaskBitmap=0 );
  901. __declspec(dllexport) void SetEmphasis(TBool aEmphasis);
  902. __declspec(dllexport) void SetPictureOwnedExternally(TBool aOwnership);
  903. __declspec(dllexport) const CFbsBitmap* Bitmap() const;
  904. __declspec(dllexport) const CFbsBitmap* Mask() const;
  905. __declspec(dllexport) void SetBitmap(const CFbsBitmap* aBitmap);
  906. __declspec(dllexport) void SetMask(const CFbsBitmap* aMaskBitmap);
  907.     __declspec(dllexport) void SetNewBitmaps(const CFbsBitmap* aNewBitmap,const CFbsBitmap* aNewMask);
  908.     __declspec(dllexport) TBool IsPictureOwnedExternally();
  909. __declspec(dllexport) void SetBrushStyle(CGraphicsContext::TBrushStyle aBrushStyle);
  910. public:
  911.     __declspec(dllexport) void HandlePointerEventL(const TPointerEvent& aPointerEvent);
  912. protected:
  913. __declspec(dllexport) void WriteInternalStateL(RWriteStream& aWriteStream) const;
  914. private:
  915. __declspec(dllexport) void Draw(const TRect& aRect) const;
  916. __declspec(dllexport) void Reserved_2();
  917. private:
  918.     __declspec(dllexport) void* ExtensionInterface( TUid aInterface );
  919. private:
  920. const CFbsBitmap* iBitmap;
  921. const CFbsBitmap* iMaskBitmap;
  922. TInt iImFlags;
  923. TInt iSpare;
  924. CGraphicsContext::TBrushStyle iBrushStyle;
  925. };
  926. #line 29 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikcba.h" /* stack depth 3 */
  927. #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\akncontrol.h" /* stack depth 4 */
  928. #line 30 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikcba.h" /* stack depth 3 */
  929. class CEikLabel;
  930. class CEikCbaButton;
  931. class CCoeBrushAndPenContext;
  932. class MEikCommandObserver;
  933. class TCoeColorUse;
  934. class CEikScrollBar ;
  935. class TEikScrollBarModel;
  936. class CEikCbaExtension;
  937. class CEikEnhancedCbaButton;
  938. class TAknsItemID;
  939. class CEikCommandTable;
  940. const TInt KMaxCbaLabelLength = 32;
  941. const TInt KMaxButtonsInCommandTable = 4;
  942.  class CEikCba : public CEikControlGroup, public MEikEnhancedButtonGroup, public MEikScrollBarObserver
  943. {
  944. public:
  945. enum { ETypeId = 0x101F4105 };
  946. static CEikCba* NewL(const CEikCba* aPrevious,MEikCommandObserver* aCommandObserver,RWindowGroup* aParentWg);
  947. static CEikCba* NewL(TInt aResourceId,const CEikCba* aPrevious,MEikCommandObserver* aCommandObserver,RWindowGroup* aParentWg);
  948. static CEikCba* NewLC(const CEikCba* aPrevious,MEikCommandObserver* aCommandObserver,RWindowGroup* aParentWg);
  949. static CEikCba* NewLC(TInt aResourceId,const CEikCba* aPrevious,MEikCommandObserver* aCommandObserver,RWindowGroup* aParentWg);
  950. ~CEikCba();
  951. public:
  952. TInt MaxCommands() const;
  953. void UpdateCbaLabels(TBool aScrollerOn);
  954. void SetSBFrameObserver(MEikScrollBarObserver* aObserver);
  955. void SetScrollBarModelL(TEikScrollBarModel* aModel);
  956. const CEikCbaScrollBarFrame* ScrollBarFrame() const;
  957. CEikScrollBar * VScrollBarAsControl();
  958. void CreateArrowHeadScrollBarL();
  959. public:
  960. void InsertControlL(TEikGroupControl& aGroupControl,TInt aIndex);
  961. public:
  962. void SetCommandL(TInt aPosition,TInt aCommandId,const TDesC* aText,const CFbsBitmap* aBitmap,const CFbsBitmap* aMask);
  963. void SetCommandL(TInt aPosition,TInt aResourceId);
  964. void SetCommandSetL(TInt aResourceId);
  965. void AddCommandL(TInt aPosition,TInt aCommandId,const TDesC* aText,const CFbsBitmap* aBitmap,const CFbsBitmap* aMask);
  966. void AddCommandToStackL(TInt aPosition,TInt aCommandId,const TDesC* aText,const CFbsBitmap* aBitmap,const CFbsBitmap* aMask);
  967. void AddCommandToStackL(TInt aPosition,TInt aResourceId);
  968. void AddCommandSetToStackL(TInt aResourceId);
  969. void SetDefaultCommand(TInt aCommandId);
  970. TSize CalcMinimumSizeL(TInt aResourceId);
  971. void RemoveCommandFromStack(TInt aPosition,TInt aCommandId);
  972. TInt CommandPos(TInt aCommandId) const;
  973. void DimCommand(TInt aCommandId,TBool aDimmed);
  974. TBool IsCommandDimmed(TInt aCommandId) const;
  975. void MakeCommandVisible(TInt aCommandId,TBool aVisible);
  976. TBool IsCommandVisible(TInt aCommandId) const;
  977. void AnimateCommand(TInt aCommandId);
  978. CCoeControl* AsControl();
  979. const CCoeControl* AsControl() const;
  980. void SetBoundingRect(const TRect& aBoundingRect);
  981. void ReduceRect(TRect& aBoundingRect) const;
  982. CCoeControl* GroupControlById(TInt aCommandId);
  983. CCoeControl* GroupControlById(TInt aCommandId) const;
  984. TInt CommandId(TInt aCommandPos) const;
  985. TInt ButtonCount() const;
  986. void RemovePreviousCommand(TInt aPosition);
  987. CEikCommandButton* GroupControlAsButton(TInt aCommandId) const ;
  988. TUint ButtonGroupFlags() const ;
  989. __declspec(dllexport) void SetButtonGroupFlags(TInt aFlags);
  990. #line 126
  991.     __declspec(dllexport) void SetSkinBackgroundId(const TAknsItemID& aIID);
  992. public:
  993. virtual void Reserved_MtsmPosition();
  994. virtual void Reserved_MtsmObject();
  995. public:
  996. TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
  997. TSize MinimumSize();
  998. void GetColorUseListL(CArrayFix<TCoeColorUse>& aColorUseList) const;
  999. void HandleResourceChange(TInt aType);
  1000.     void HandlePointerEventL(const TPointerEvent& aPointerEvent);
  1001. public:
  1002. __declspec(dllexport) void OfferCommandListL(const RArray<TInt>& aCommandList);
  1003. __declspec(dllexport) void OfferCommandListL(const TInt aResourceId);
  1004. __declspec(dllexport) TBool IsCommandInGroup(const TInt aCommandId) const;
  1005. __declspec(dllexport) void ReplaceCommand(const TInt aCommandId, const TInt aResourceId);
  1006. private:
  1007.     __declspec(dllexport) void* ExtensionInterface( TUid aInterface );
  1008. protected:
  1009. virtual void HandleScrollEventL(CEikScrollBar* aScrollBar,TEikScrollEvent aEventType);
  1010. protected:
  1011.     TTypeUid::Ptr MopSupplyObject(TTypeUid aId);
  1012.     void Draw(const TRect& aRect) const;
  1013. private:
  1014. CEikCba(const CEikCba* aPrevious,MEikCommandObserver* aCommandObserver,RWindowGroup* aParentWg);
  1015. void BaseConstructL();
  1016. void ConstructL(TInt aResourceId);
  1017. void ConstructFromResourceL(TResourceReader& aReader);
  1018. CEikCbaButton* ButtonById(TInt aCommandId) const;
  1019. void CreateScrollBarFrameL();
  1020. void InsertScrollBarL();
  1021. TEikGroupControl VScrollBarAsGroupControl();
  1022.     void CheckSkinAndUpdateContext();
  1023.     TInt AknLayoutFlags() const;
  1024. void SizeChangedInControlPane();
  1025. void SizeChangedInStaconPane();
  1026. void UpdateFonts();
  1027. private:
  1028. void SizeChanged();
  1029. private:
  1030. TUint iCbaFlags;
  1031. const CEikCba* iLink;
  1032. CCoeBrushAndPenContext* iBrushAndPenContext;
  1033. MEikCommandObserver* iCommandObserver;
  1034. CEikCbaScrollBarFrame* iSBFrame;
  1035.     CEikCbaExtension*       iExtension;
  1036. RWindowGroup* iParentWg;
  1037. CEikCommandTable*  iCommandTable;
  1038. };
  1039. class CEikCbaButton : public CAknControl
  1040. {
  1041. public:
  1042. struct SButtonOptions
  1043. {
  1044. TInt iCommandId;
  1045. TBool iDimmed;
  1046. };
  1047. public:
  1048. ~CEikCbaButton();
  1049. void ConstructL(TGulAlignmentValue aAlignment);
  1050. public:
  1051. void AddCommandL(const TDesC& aText);
  1052. void PushCommandL(TInt aCommandId,const TDesC& aText);
  1053. TInt PopCommand();
  1054. void RemoveCommand(TInt aCommandId);
  1055. void RemovePreviousCommand();
  1056. void SwitchToShortTextL(TBool aShortText);
  1057. void SetLabelFont(const CFont* aLabelFont);
  1058. void TruncateLabelText();
  1059. public:
  1060. void SetContainerWindowL(const CCoeControl& aContainer);
  1061. void ConstructFromResourceL(TResourceReader& aReader, TGulAlignmentValue anAlignment);
  1062. TSize MinimumSize();
  1063. void SetDimmed(TBool aDimmed);
  1064.     __declspec(dllexport) void HandlePointerEventL(const TPointerEvent& aPointerEvent);
  1065. public:
  1066.     void SetImage(CEikImage &aImage);
  1067.     void ReplaceImageByLabel();
  1068.     inline TBool IsImageOn() const {return iDoImage;};
  1069. protected:
  1070. TInt IndexFromCommandId(TInt aCommandId);
  1071. void UpdateLabelText(TPtrC aLabelText);
  1072. private:
  1073. TInt CountComponentControls() const;
  1074. CCoeControl* ComponentControl(TInt aIndex) const;
  1075. void SizeChanged();
  1076. private:
  1077.     __declspec(dllexport) void* ExtensionInterface( TUid aInterface );
  1078. protected:
  1079. TBuf<KMaxCbaLabelLength> iFullLabelText;
  1080. TPtrC iLongLabelText;
  1081. TPtrC iShortLabelText;
  1082. CEikLabel* iLabel;
  1083. CDesCArray* iText;
  1084. CArrayFix<SButtonOptions> * iButtonOptions;
  1085.     CEikImage* iImage;
  1086.     TBool iDoImage;
  1087. TInt iSpare;
  1088. };
  1089. class CEikEnhancedCbaButton : public CEikCbaButton
  1090. {
  1091. public:
  1092. CEikEnhancedCbaButton();
  1093. ~CEikEnhancedCbaButton();
  1094. TInt CommandType() const;
  1095. void SetCommandType(const TInt aCommandType);
  1096. TInt CommandId() const;
  1097. void ConstructFromResourceL(TResourceReader& aReader);
  1098. void ConstructEmptyButtonL();
  1099. TPtrC* LabelText();
  1100. private:
  1101. TInt iCommandType;
  1102. TInt iCommandId;
  1103. };
  1104. #line 322
  1105. class CEikCommandTable : public CBase
  1106. {
  1107. public:
  1108. static CEikCommandTable* NewL();
  1109. static CEikCommandTable* NewLC();
  1110. ~CEikCommandTable();
  1111. TInt AddCommandL(CEikEnhancedCbaButton* aButton);
  1112. TBool IsCommandPlaced(const TInt aCommandId) const;
  1113. void ReplaceCommandL(const TInt aCommandId, const TInt aResourceId);
  1114. CEikEnhancedCbaButton* Command(const TInt aCommandIndex);
  1115. void Reset();
  1116. private:
  1117. CEikCommandTable();
  1118. void ConstructL();
  1119. private:
  1120. TFixedArray<CEikEnhancedCbaButton*, KMaxButtonsInCommandTable> iCommandButtons;
  1121. RArray< RArray<TInt> > iPriorities;
  1122. };
  1123. #line 26 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknappui.h" /* stack depth 2 */
  1124. #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\avkon.hrh" /* stack depth 3 */
  1125. #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikon.hrh" /* stack depth 4 */
  1126. #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\lafpublc.hrh" /* stack depth 5 */
  1127. #line 23
  1128. enum TLafReferenceButtonGroupControls
  1129. {
  1130. ELafBgCba=100
  1131. };
  1132. #line 6 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikon.hrh" /* stack depth 4 */
  1133. #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikcolor.hrh" /* stack depth 5 */
  1134. #line 8 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikon.hrh" /* stack depth 4 */
  1135. #line 86
  1136. enum TAknEditorNumericKeymap
  1137.     {
  1138.     EAknEditorStandardNumberModeKeymap,
  1139.     EAknEditorPlainNumberModeKeymap,
  1140.     EAknEditorCalculatorNumberModeKeymap,
  1141.     EAknEditorConverterNumberModeKeymap,
  1142.     EAknEditorToFieldNumberModeKeymap,
  1143.     EAknEditorFixedDiallingNumberModeKeymap,
  1144.     EAknEditorSATNumberModeKeymap,
  1145.     EAknEditorSATHiddenNumberModeKeymap,
  1146.     EAknEditorAlphanumericNumberModeKeymap,
  1147.     EAknEditorReservedInternalUseKeymap = 100
  1148.     };
  1149. #line 175
  1150. enum EEikLabelStandardFont
  1151.     {
  1152.     EEikLabelFontNormal,
  1153.     EEikLabelFontLegend,
  1154.     EEikLabelFontAnnotation
  1155.     };
  1156. #line 436
  1157. enum TEikStockControls
  1158.     {
  1159.     EEikCtCommandButton,
  1160.     EEikCtLabeledButton,
  1161.     EEikCtEdwin,
  1162.     EEikCtRichTextEditor,
  1163.     EEikCtSecretEd,
  1164.     EEikCtCheckBox,
  1165.     EEikCtChoiceList,
  1166.     EEikCtOptionButton,
  1167.     EEikCtHorOptionButList,
  1168.     EEikCtFileNameSel,
  1169.     EEikCtFileNameEd,
  1170.     EEikCtFolderNameSel,
  1171.     EEikCtFolderNameEd,
  1172.     EEikCtDriveNameSel,
  1173.     EEikCtListBox,
  1174.     EEikCtCharMap,
  1175.     EEikCtCharEd,
  1176.     EEikCtImage,
  1177.     EEikCtImageArray,
  1178.     EEikCtLabel,
  1179.     EEikCtComboBox,
  1180.     EEikCtProgInfo,
  1181.     EEikCtFlPtEd,
  1182.     EEikCtFxPtEd,
  1183.     EEikCtTwipsEd,
  1184.     EEikCtNumberEditor,
  1185.     EEikCtRangeEditor,
  1186.     EEikCtTimeEditor,
  1187.     EEikCtDateEditor,
  1188.     EEikCtTimeAndDateEditor,
  1189.     EEikCtDurationEditor,
  1190.     EEikCtTimeOffsetEditor,
  1191.     EEikCtLatitudeEditor_Not_Supported,
  1192.     EEikCtLongitudeEditor_Not_Supported,
  1193.     EEikCtBorderPreview,
  1194.     EEikCtFontPreview,
  1195.     EEikCtGraySelector,
  1196.     EEikCtWorldSelector,
  1197.     EEikCtGlobalTextEditor,
  1198.     EEikCtSoundSelector,
  1199.     EEikCtClock,
  1200.     EEikCtPrintPreview,
  1201.     EEikCtMenuButton,
  1202.     EEikCtDirContentsListBox,
  1203.     EAknCtIpFieldEditor,
  1204.     EEikCtCalendar,
  1205.     EEikCtSpacer,
  1206.     EEikCtColListBox,
  1207.     EEikCtRangeRefEditor,
  1208.     EEikCtTextButton,
  1209.     EEikCtBitmapButton,
  1210.     EEikCtDialogToolBar,
  1211.     EEikCtFileBrowser,
  1212.     EEikCtFileNameLabel,
  1213.     EEikCtUnifiedFileSel,
  1214.     EEikCtTelephoneNumberEditor,
  1215.     EEikCtTwoPictureCommandButton,
  1216.     EEikCtInverterCommandButton,
  1217.     EEikCtScrollBar,
  1218.     EEikCtArrowHeadScrollBar
  1219.     };
  1220. enum TEikStockButtonGroupControls
  1221.     {
  1222.     EEikBgToolBar,
  1223.     EEikBgButtonPanel,
  1224.     EEikBgCba
  1225.     };
  1226. #line 923
  1227. enum
  1228. {
  1229. EDialDlgButFreeDial=1,
  1230. EDialDlgButDial,
  1231. EDialDlgButDialOut,
  1232. EFreeDialDlgButClear,
  1233. EFreeDialDlgButRedial,
  1234. EDialDlgEdwin1,
  1235. EDialDlgEdwin2,
  1236. EDialDlgEdwin3,
  1237. EDialDlgEdwin4,
  1238. EDialDlgEdwin5,
  1239. EFreeDialDlgEdwin
  1240. };
  1241. #line 1082
  1242. enum TEikProgressTextType
  1243. {
  1244. EEikProgressTextNone,
  1245. EEikProgressTextPercentage,
  1246. EEikProgressTextFraction
  1247. };
  1248. #line 1152
  1249. enum
  1250. {
  1251. EEikCidImageType=1
  1252. };
  1253. enum
  1254. {
  1255. EEikPopupOnTop = 1100,
  1256. EEikPopupGone
  1257. };
  1258. enum
  1259. {
  1260. EEikKeyLockEnabled = 1110,
  1261. EEikKeyLockDisabled = 1111,
  1262.     EEikLeyLockDisabled = 1111,
  1263. EEikKeyLockPowerKeyPressed
  1264. };
  1265. enum
  1266. {
  1267. EEikHeapFailSettingListId = 999
  1268. };
  1269. enum TEikCommandOperationTypes
  1270. {
  1271. EEikCommandTypeAnyCommand,
  1272. EEikCommandTypeMenu,
  1273. EEikCommandTypeOpenItem,
  1274. EEikCommandTypeDeleteItem,
  1275. EEikCommandTypeOperatesItem,
  1276. EEikCommandTypeCreateItem,
  1277. EEikCommandTypePositiveAnswer,
  1278. EEikCommandTypeNegativeAnswer,
  1279. EEikCommandTypeCancel,
  1280. EEikCommandTypeExitOrBack,
  1281. EEikCommandTypeExitApplication
  1282. };
  1283. #line 29 "C:\Symbian\9.1\S60_3rd\epoc32\include\avkon.hrh" /* stack depth 3 */
  1284. #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknfontcategory.hrh" /* stack depth 4 */
  1285. #line 37
  1286. enum TAknFontCategory
  1287. {
  1288. EAknFontCategoryUndefined = 0 ,
  1289. EAknFontCategoryPrimary = 1 ,
  1290. EAknFontCategorySecondary = 2 ,
  1291. EAknFontCategoryTitle = 3 ,
  1292. EAknFontCategoryPrimarySmall = 4 ,
  1293. EAknFontCategoryDigital = 5
  1294. };
  1295. #line 32 "C:\Symbian\9.1\S60_3rd\epoc32\include\avkon.hrh" /* stack depth 3 */
  1296. #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknfontidoffsets.hrh" /* stack depth 4 */
  1297. #line 34
  1298. enum {EScalableFontIdOffset = (0x1000) };
  1299. #line 33 "C:\Symbian\9.1\S60_3rd\epoc32\include\avkon.hrh" /* stack depth 3 */
  1300. #line 164
  1301. enum
  1302.     {
  1303.     EAknApplicationIconWidth = 42,
  1304.     EAknApplicationIconHeight = 29
  1305.     };
  1306. #line 195
  1307. enum
  1308.     {
  1309.     EAknDummyForProcessCommands=4000,
  1310.     EAknMarkAll,
  1311.     EAknUnmarkAll,
  1312.     EAknCmdHelp,
  1313.     EAknCmdAddToPinboard,
  1314.     EAknCmdFindPopupActivated,
  1315.     EAknCmdEditModeT9,
  1316.     EAknCmdEditModeMultitap,
  1317.     EAknCmdEditModeNumber,
  1318.     EAknCmdEditInsertNumber,
  1319.     EAknCmdEditInsertSymbol,
  1320.     EAknCmdInputLanguage,
  1321.     EAknCmdPredictiveTextCascade,
  1322.     EAknCmdT9PredictiveMatches,
  1323.     EAknCmdT9PredictiveInsertWord,
  1324.     EAknCmdT9PredictiveEditWord,
  1325.     EAknCmdT9PredictiveT9Off,
  1326.     EAknCmdMultitapPredictiveT9On,
  1327.     EAknCmdExit,
  1328.     EAknCmdEditTextMenu,
  1329.     EAknCmdEditListMenu,
  1330.     EAknCmdMark,
  1331.     EAknCmdUnmark,
  1332.     EAknCmdOpen,
  1333.     EChinFepCmdInstructions,
  1334.     EChinFepCmdModePinyin,
  1335.     EChinFepCmdModeZhuyin,
  1336.     EChinFepCmdModeStroke,
  1337.     EChinFepCmdModeLatinUpper,
  1338.     EChinFepCmdModeLatinLower,
  1339.     EChinFepCmdModeNumber,
  1340.     EChinFepCmdModeZhuyinFind,
  1341.     EChinFepCmdModeStrokeFind,
  1342.     EAknCmdEditModeArabicIndicNumber,
  1343.     EAknCmdEditModeAlpha,
  1344.     EAknCmdEditModeLatinText,
  1345.     EJapanFepCmdModeHiragana,
  1346.     EJapanFepCmdModeKatakana,
  1347.     EJapanFepCmdModePictographs,
  1348.     EJapanFepCmdModeFullWidth,
  1349.     EJapanFepCmdModeHalfWidth,
  1350.     EJapanFepCmdModePredictiveOn,
  1351.     EJapanFepCmdModePredictiveOff,
  1352.     EJapanFepCmdModeUserDic,
  1353.     EJapanFepCmdModeKutenCodeInput,
  1354.     EAknCmdEditInsertPictograph,
  1355.     EJapanFepCmdPredictiveTextCascade,
  1356.     EJapanFepCmdMultitapPredictiveT9On,
  1357.     EJapanFepCmdEditModeAlpha,
  1358.     EJapanFepCmdEditModeNumber,
  1359.     EAknCmdInputMethod,
  1360.     EChinFepCmdModeCangJie,
  1361.     EChinFepCmdModeCangJieOption,
  1362.     EAknCmdEditMenuSctSelected,
  1363.     EAknCmdEnd
  1364. };
  1365. enum
  1366.     {
  1367.     EAknSoftkeyOk = -2 ,
  1368.     EAknSoftkeyCancel = -1 ,
  1369.     EAknSoftkeySelect = -6 ,
  1370.     EAknSoftkeyOptions= 3000,
  1371.     EAknSoftkeyBack,
  1372.     EAknSoftkeyMark,
  1373.     EAknSoftkeyUnmark,
  1374.     EAknSoftkeyInsert,
  1375.     EAknSoftkeyYes,
  1376.     EAknSoftkeyNo,
  1377.     EAknSoftkeyDone,
  1378.     EAknSoftkeyClose,
  1379.     EAknSoftkeyExit,
  1380.     EAknSoftkeyClear,
  1381.     EAknSoftkeyUnlock,
  1382.     EAknSoftkeySave,
  1383.     EAknSoftkeyShow,
  1384.     EAknSoftkeyListen,
  1385.     EAknSoftkeyRead,
  1386.     EAknSoftkeySearch,
  1387.     EAknSoftkeyEmpty,
  1388.     EAknSoftkeyLock,
  1389.     EAknSoftkeyCall,
  1390.     EAknSoftkeyAgain,
  1391.     EAknSoftkeyQuit,
  1392.     EAknSoftkeyDetails,
  1393.     EAknSoftkeyNext,
  1394.     EAknSoftkeyOther,
  1395.     EAknSoftkeyEdit,
  1396.     EAknSoftkeyOpen,
  1397.     EAknSoftkeySend,
  1398.     EAknSoftkeyView
  1399.     };
  1400. enum    {
  1401.     EAknSoftkeyDummyUsedWithShortcuts = 3200
  1402.     };
  1403. enum
  1404.     {
  1405.     EAknCBAFlagRespondWhenInvisible = 0x02
  1406.     };
  1407. #line 342
  1408. enum
  1409.     {
  1410.     EAknCtTest = 5699 ,
  1411.     EAknControlIdBase = 5700,
  1412.     EAknCtFormattedListBox,
  1413.     EAknCtSingleListBox,
  1414.     EAknCtSingleNumberListBox,
  1415.     EAknCtSingleHeadingListBox,
  1416.     EAknCtSingleGraphicListBox,
  1417.     EAknCtSingleGraphicHeadingListBox,
  1418.     EAknCtSingleNumberHeadingListBox,
  1419.     EAknCtSingleLargeListBox,
  1420.     EAknCtDoubleListBox,
  1421.     EAknCtDoubleNumberListBox,
  1422.     EAknCtDoubleTimeListBox,
  1423.     EAknCtDoubleLargeListBox,
  1424.     EAknCtDoubleGraphicListBox,
  1425.     EAknCtSettingListBox,
  1426.     EAknCtSettingNumberListBox,
  1427.     EAknCtSinglePopupMenuListBox,
  1428.     EAknCtSingleGraphicPopupMenuListBox,
  1429.     EAknCtSingleGraphicHeadingPopupMenuListBox,
  1430.     EAknCtMenuDoublePopupMenuListBox,
  1431.     EAknCtSinglePopupSubmenuListBox,
  1432.     EAknCtDoubleLargeGraphicPopupMenuListBox,
  1433.     EAknCtSingleHeadingPopupMenuListBox,
  1434.     EAknSetListBox,
  1435.     EAknFormGraphicListBox,
  1436.     EAknCtAppGrid,
  1437.     EAknCtPinbGrid,
  1438.     EAknCtQdialGrid,
  1439.     EAknCtCaleMonthGrid,
  1440.     EAknCtTitlePane,
  1441.     EAknCtContextPane,
  1442.     EAknCtNaviPane,
  1443.     EAknCtSignalPane,
  1444.     EAknCtBatteryPane,
  1445.     EAknCtIndicatorPane,
  1446.     EAknCtIdleContextPane,
  1447.     EAknCtNote,
  1448.     EAknCtQuery,
  1449.     EAknCtMultilineQuery,
  1450.     EAknCtPopupField,
  1451.     EAknCtPopupFieldText,
  1452.     EAknCtFormLabelEditor,
  1453.     EAknCtLAF,
  1454.     EAknCtPopupHeadingPane,
  1455.     EAknCtSearchField,
  1456.     EAknCtSettingPage,
  1457.     EAknCtVolumeControl,
  1458.     EAknCtSlider,
  1459.     EAknCtListQueryControl,
  1460.     EAknCtSpecialCharacterMap,
  1461.     EAknPhoneNumberEditor,
  1462.     EAknCtNumericSecretEditor,
  1463.     EAknCtPopupSettingList,
  1464.     EAknCtMessageQuery,
  1465.     EAknCtIntegerEdwin,
  1466.     EAknCtFloatingPointEdwin,
  1467.     EAknCtSelectionListFixedFind,
  1468.     EAknCtSelectionListPopupFind,
  1469.     EAknCtEmptyList,
  1470.     EAknCtDouble2GraphicListBox,
  1471.     EAknCtDouble2LargeListBox,
  1472.     EAknCtDouble2PopupMenuListBox,
  1473.     EAknCtSingle2GraphicListBox,
  1474.     EAknCtDouble2GraphicLargeListBox,
  1475.     EAknCtColourSelectionDialogNoneField,
  1476.     EAknCtColourSelectionDialogGrid,
  1477.     EAknCtListQuerySearchControl,
  1478.     EAknExtCtQuery,
  1479.     EAknExtCtMultilineQuery,
  1480.    EAknCtBitmapAnimation,
  1481.     EAknCtButton,
  1482.     EAknCtSingle2GraphicPopupMenuListBox,
  1483.     EAknCtDoubleGraphicPopupMenuListBox,
  1484.     EAknCtColourSelectionGridDialog,
  1485.     EAknCtLastControlId = 0x2000
  1486. #line 489
  1487.     };
  1488. enum
  1489.     {
  1490.     ENaviDecoratorControlNone,
  1491.     ENaviDecoratorControlTabGroup,
  1492.     ENaviDecoratorLabel,
  1493.     ENaviDecoratorImage,
  1494.     ENaviDecoratorToolTip
  1495.     };
  1496. enum
  1497.     {
  1498.     EAknTabWidthWithTwoTabs = 36,
  1499.     EAknTabWidthWithTwoLongTabs = 74,
  1500.     EAknTabWidthWithThreeTabs = 22,
  1501.     EAknTabWidthWithThreeLongTabs = 67,
  1502.     EAknTabWidthWithFourTabs = 18,
  1503.     EAknTabWidthWithOneTab = 107
  1504.     };
  1505. enum
  1506.     {
  1507.     EGeneralLayout = 1,
  1508.     EConfirmationLayout,
  1509.     EProgressLayout,
  1510.     ENoteWithImageLayout,
  1511.     ETextualNotificationLayout,
  1512.     ENotificationWithGraphicsLayout,
  1513.     EAknNoteControlAnimationCreationFailed,
  1514.     EWaitLayout
  1515.     };
  1516. enum
  1517.     {
  1518.     EAknInvalidBorderCount = 1,
  1519.     EAknInvalidDimensionArrayOutOfBounds,
  1520.     EAknNoNoteControlDimensionDefined,
  1521.     EAknNoteControlNullArgumentUsed
  1522.     };
  1523. enum EAknNoteItemType {
  1524.     EAknNoteNoType = 1,
  1525.     EAknNoteBitmap,
  1526.     EAknNoteNumberTypeIndication,
  1527.     EAknNoteProgressBar,
  1528.     EAknNoteLabel,
  1529.     EAknNoteAnimation
  1530. };
  1531. enum TNoteCtrlIds
  1532.     {
  1533.     EGeneralNote = 1
  1534.     };
  1535. #line 562
  1536. enum
  1537.     {
  1538.     EDataLayout=1,
  1539.     EConfirmationQueryLayout,
  1540.     ECodeLayout,
  1541.     ETimeLayout,
  1542.     EDateLayout,
  1543.     EListLayout,
  1544.     EMultiListLayout,
  1545.     EMultiLineDataLayout,
  1546.     EDurationLayout,
  1547.     ETextSoftNotification,
  1548.     ENumberLayout,
  1549.     EPinLayout,
  1550.     EPhoneLayout,
  1551.     EMessageQueryLayout,
  1552.     EStaticSizeDataLayout,
  1553.     EFloatingPointLayout,
  1554.     EIpLayout,
  1555.     EFixedPointLayout,
  1556.     EDataLayoutAllowEmptyInput
  1557.     };
  1558. enum
  1559.     {
  1560.     ETextEditor=1,
  1561.     ESecretEditor,
  1562.     ETimeEditor,
  1563.     EDateEditor,
  1564.     ENumberEditor,
  1565.     EDurationEditor,
  1566.     EIpEditor,
  1567.     EFixedPointEditor
  1568.     };
  1569. enum EAknMultilineDataLayout
  1570. {
  1571.     EMultiDataFirstEdwin = 1,
  1572.     EMultiDataSecondEdwin,
  1573.     EMultiDataFirstSecEd,
  1574.     EMultiDataSecondSecEd,
  1575.     EMultiDataFirstTimeEd,
  1576.     EMultiDataSecondTimeEd,
  1577.     EMultiDataFirstDateEd,
  1578.     EMultiDataSecondDateEd,
  1579.     EMultiDataFirstDurEd,
  1580.     EMultiDataSecondDurEd,
  1581.     EMultiDataFirstPhoneEd,
  1582.     EMultiDataSecondPhoneEd,
  1583.     EMultiDataFirstNumEd,
  1584.     EMultiDataSecondNumEd,
  1585.     EMultiDataFirstPinEd,
  1586.     EMultiDataSecondPinEd,
  1587.     EMultiDataFirstIpEd,
  1588.     EMultiDataSecondIpEd
  1589.     };
  1590. enum TQueryCtrlIds
  1591.     {
  1592.     EGeneralQuery = 0x500,
  1593.     EMultilineFirstLine,
  1594.     EMultilineSecondLine
  1595.     };
  1596. enum TListQueryCtrlIds
  1597.     {
  1598.     EListQueryMainInboxList = 1,
  1599.     EListQueryMainDraftList,
  1600.     EListQueryMainOutboxList,
  1601.     EListQueryAppViewLabel,
  1602.     EListQueryMsgEditField,
  1603.     EListQueryHeading,
  1604.     EListQueryControl
  1605.     };
  1606. enum TSelectionListCtrlIds
  1607.     {
  1608.     ESelectionListControl = 1,
  1609.     EFindControl,
  1610.     EAknEmptyListControl,
  1611.     EAknListQueryMessageBox
  1612.     };
  1613. enum
  1614.     {
  1615.     ELayoutNoCmd =1,
  1616.     ELayoutOptional,
  1617.     ELayoutRightSeparator,
  1618.     ELayoutTransparentCell,
  1619.     ELayoutItemMark,
  1620.     ELayoutNotFilled,
  1621.     ELayoutNotAlwaysDrawn
  1622.     };
  1623. enum {
  1624.     ELayoutAlignNone,
  1625.     ELayoutAlignCenter,
  1626.     ELayoutAlignLeft,
  1627.     ELayoutAlignRight,
  1628.     ELayoutAlignBidi
  1629.      };
  1630. enum
  1631.     {
  1632.     EAknEditorAlignNone = ELayoutAlignNone,
  1633.     EAknEditorAlignCenter = ELayoutAlignCenter,
  1634.     EAknEditorAlignLeft = ELayoutAlignLeft,
  1635.     EAknEditorAlignRight = ELayoutAlignRight,
  1636.     EAknEditorAlignBidi = ELayoutAlignBidi
  1637.      };
  1638. enum
  1639.     {
  1640.     EAknEditorCharactersUpperCase = 0x1 ,
  1641.     EAknEditorCharactersLowerCase = 0x2 ,
  1642.     EAknEditorCharactersTextCase = 0x4
  1643.     };
  1644. enum {
  1645.     EFontNone = 0,
  1646.     ELatinPlain12,
  1647.     ELatinBold12,
  1648.     ELatinBold13,
  1649.     ELatinBold17,
  1650.     ELatinBold19,
  1651.     ENumberPlain5,
  1652.     EClockBold30,
  1653.     ELatinClock14,
  1654.     EFontCustom,
  1655.     EPlain12,
  1656.     EPlain16,
  1657.     EApacPlain12 = EPlain12,
  1658.     EApacPlain16 = EPlain16,
  1659.     EBold18,
  1660.     EBold24,
  1661.     ELatinBold16,
  1662.     ECalcBold21,
  1663.     ECalcOperBold21,
  1664.     ECalcOperBold13,
  1665. EHighestFixedLayoutFont = ((0x100-1))
  1666.     };
  1667. enum TAknLogicalFontId
  1668. {
  1669. EAknLogicalFontPrimaryFont = ((0x100-1)) + 1 ,
  1670. EAknLogicalFontSecondaryFont= ((0x100-1)) + 2 ,
  1671. EAknLogicalFontTitleFont= ((0x100-1)) + 3 ,
  1672. EAknLogicalFontPrimarySmallFont= ((0x100-1)) + 4 ,
  1673. EAknLogicalFontDigitalFont= ((0x100-1)) + 5 ,
  1674. EAknHighestLogicalFont = ((0x1000)-1)
  1675. };
  1676. enum
  1677. {
  1678.     EAknLayoutFindPaneIconId = 1,
  1679.     EAknLayoutFindPaneEditorId,
  1680.     EAknLayoutMainPaneListGenPane,
  1681.     EAknLayoutMainPaneListGenPaneWithFindBox,
  1682.     EAknLayoutMainPaneFindPane,
  1683.     EAknListSinglePane,
  1684.     EAknListSingleNumberPane,
  1685.     EAknListSingleHeadingPane,
  1686.     EAknListSingleGraphicPane,
  1687.     EAknListSingleGraphicHeadingPane,
  1688.     EAknListSingleNumberHeadingPane,
  1689.     EAknListSingleLargeGraphicPane,
  1690.     EAknListDoubleNumberPane,
  1691.     EAknListDoubleTimePane,
  1692.     EAknListDoubleLargeGraphicPane,
  1693.     EAknListDoubleGraphicPane,
  1694.     EAknListSettingNumberPane,
  1695.     EAknLayoutFindPaneVShadow,
  1696.     EAknLayoutFindPaneHShadow,
  1697.     EAknLayoutFindPaneOutlineRect,
  1698.     EAknLayoutEmptyList1stLine,
  1699.     EAknLayoutEmptyList2ndLine
  1700. };
  1701. #line 782
  1702. enum
  1703.     {
  1704.     EAknDialogQueryValueTextEditor1 = 1,
  1705.     EAknDialogQueryValueNumberEditor1,
  1706.     EAknDialogQueryValuePhoneEditor1,
  1707.     EAknDialogQueryValueTimeEditor1,
  1708.     EAknDialogQueryValueDateEditor1,
  1709.     EAknDialogQueryValueDurationEditor1,
  1710.     EAknFormQueryControl,
  1711.     EAknPopupFieldEmptyListNote
  1712.     };
  1713. enum
  1714.     {
  1715.     EAknPopupSettingListFlagAllowsUserDefinedEntry = 0x001,
  1716.     EAknPopupSettingListFlagInitialised = 0x002
  1717.     };
  1718. enum
  1719.     {
  1720.     EAknFormCmdEdit = 950,
  1721.     EAknFormCmdAdd,
  1722.     EAknFormCmdSave,
  1723.     EAknFormCmdLabel,
  1724.     EAknFormCmdDelete,
  1725.     EAknFormMaxDefault
  1726.     };
  1727. enum
  1728.     {
  1729.     EAknFormSliderLayout1 =1,
  1730.     EAknFormSliderLayout2,
  1731.     EAknFormSliderLayout3,
  1732.     EAknSettingsItemSliderLayout,
  1733.     EAknSettingsItemSliderLayoutWithGraphics,
  1734.     EAknMIDPFormSliderLayout
  1735.     };
  1736. enum
  1737.     {
  1738.     EAknSliderValueNone,
  1739.     EAknSliderValueBareFigure,
  1740.     EAknSliderValuePercentage,
  1741.     EAknSliderValueFraction,
  1742.     EAknSliderValueDecimal
  1743.     };
  1744. enum
  1745.     {
  1746.     ESettingsVolumeControl,
  1747.     ENaviPaneVolumeControl,
  1748.     EPopupVolumeControl
  1749.     };
  1750. enum
  1751.     {
  1752.     EAknIndicatorIrActive,
  1753.     EAknIndicatorEnvelope,
  1754.     EAknIndicatorEmailMessage,
  1755.     EAknIndicatorDataMessage,
  1756.     EAknIndicatorFaxMessage,
  1757.     EAknIndicatorOtherMessage,
  1758.     EAknIndicatorSecuredConnection,
  1759.     EAknIndicatorVoiceMailWaiting,
  1760.     EAknIndicatorVoiceMailWaitingOnLine1,
  1761.     EAknIndicatorVoiceMailWaitingOnLine2,
  1762.     EAknIndicatorVoiceMailWaitingOnBothLines,
  1763.     EAknIndicatorHomeZone,
  1764.     EAknIndicatorBluetooth,
  1765.     EAknIndicatorBluetoothModuleOn,
  1766.     EAknIndicatorOutbox,
  1767.     EAknIndicatorKeyguard,
  1768.     EAknIndicatorAllCallsForwarded,
  1769.     EAknIndicatorCallsForwardedOnLine1,
  1770.     EAknIndicatorCallsForwardedOnLine2,
  1771.     EAknIndicatorCallsForwardedOnBothLines,
  1772.     EAknIndicatorCallsForwardedToVoiceMailbox,
  1773.     EAknIndicatorSelectedLine,
  1774.     EAknIndicatorAlarmClock,
  1775.     EAknIndicatorHeadset,
  1776.     EAknIndicatorLoopset,
  1777.     EAknIndicatorIHFActive,
  1778.     EAknIndicatorInstantMessage,
  1779.     EAknIndicatorTTY,
  1780.     EAknIndicatorUSBConnection,
  1781.     EAknIndicatorMissedCalls,
  1782.     EAknIndicatorRemoteMailboxEmailMessage,
  1783.     EAknIndicatorLocation,
  1784.     EAknIndicatorHeadsetUnavailable,
  1785.     EAknIndicatorRoaming,
  1786.     EAknIndicatorLocationOn,
  1787.     EAknIndicatorLocationOff,
  1788.     EAknIndicatorPoC,
  1789.     EAknIndicatorWlanAvailable,
  1790.     EAknIndicatorWlanActive,
  1791.   EAknIndicatorWlanActiveSecure,
  1792.   EAknIndicatorCarkit,
  1793.     EAknIndicatorPoCDnD,
  1794.     EAknIndicatorPoCMissed,
  1795.     EAknIndicatorTvOut,
  1796.     EAknIndicatorVoIP,
  1797.     EAknIndicatorTARM,
  1798.     EAknIndicatorTARMModuleOn,
  1799.     EAknIndicatorMobileTV,
  1800.     EAknIndicatorMobileTVRec,
  1801.     EAknNaviPaneEditorIndicatorT9 = 100,
  1802.     EAknNaviPaneEditorIndicatorUpperCase,
  1803.     EAknNaviPaneEditorIndicatorLowerCase,
  1804.     EAknNaviPaneEditorIndicatorTextCase,
  1805.     EAknNaviPaneEditorIndicatorNumberCase,
  1806.     EAknNaviPaneEditorIndicatorQuery,
  1807.     EAknNaviPaneEditorIndicatorQwertyShift,
  1808.     EAknNaviPaneEditorIndicatorArabicCase = 130,
  1809.     EAknNaviPaneEditorIndicatorHebrewCase,
  1810.     EAknNaviPaneEditorIndicatorArabicIndicNumberCase,
  1811.     EAknNaviPaneEditorIndicatorDevanagariCase = 140,
  1812.     EAknNaviPaneEditorIndicatorDevanagariIndicNumberCase,
  1813.     EAknNaviPaneEditorIndicatorPinyin = 150,
  1814.     EAknNaviPaneEditorIndicatorZhuyin,
  1815.     EAknNaviPaneEditorIndicatorStroke,
  1816.     EAknNaviPaneEditorIndicatorZhuyinFind,
  1817.     EAknNaviPaneEditorIndicatorStrokeFind,
  1818.     EAknNaviPaneEditorIndicatorCangJie,
  1819.     EAknNaviPaneEditorIndicatorThai = 170,
  1820.     EAknNaviPaneEditorIndicatorStrokeTrad,
  1821.     EAknNaviPaneEditorIndicatorFarsiAndUrduCase,
  1822.     EAknNaviPaneEditorIndicatorAudioAttached = 200,
  1823.     EAknNaviPaneEditorIndicatorImageAttached,
  1824.     EAknNaviPaneEditorIndicatorObjects,
  1825.     EAknNaviPaneEditorIndicatorAttachment,
  1826.     EAknNaviPaneEditorIndicatorMessageLength,
  1827.     EAknNaviPaneEditorIndicatorMessageInfo,
  1828.     EAknNaviPaneEditorIndicatorWaitBar,
  1829.     EAknNaviPaneEditorIndicatorProgressBar,
  1830.     EAknNaviPaneEditorIndicatorSecuredConnection,
  1831.     EAknNaviPaneEditorIndicatorWmlWaitGlobe,
  1832.     EAknNaviPaneEditorIndicatorGprs,
  1833.     EAknNaviPaneEditorIndicatorFileSize,
  1834.     EAknNaviPaneEditorIndicatorWmlWindows,
  1835.     EAknNaviPaneEditorIndicatorMcePriorityHigh,
  1836.     EAknNaviPaneEditorIndicatorMcePriorityLow,
  1837.     EAknNaviPaneEditorIndicatorWmlWindowsText,
  1838.     EAknNaviPaneEditorIndicatorJapaneseHiraganaKanji = 300,
  1839.     EAknNaviPaneEditorIndicatorJapaneseHiragana,
  1840.     EAknNaviPaneEditorIndicatorJapaneseFullKatakana,
  1841.     EAknNaviPaneEditorIndicatorJapaneseHalfKatakana,
  1842.     EAknNaviPaneEditorIndicatorJapaneseFullUpperAlphabet,
  1843.     EAknNaviPaneEditorIndicatorJapaneseFullLowerAlphabet,
  1844.     EAknNaviPaneEditorIndicatorJapaneseFullTextAlphabet,
  1845.     EAknNaviPaneEditorIndicatorJapaneseFullNumeric,
  1846.     EAknNaviPaneEditorIndicatorVietnameseUpperCase = 400,
  1847.     EAknNaviPaneEditorIndicatorVietnameseLowerCase,
  1848.     EAknNaviPaneEditorIndicatorVietnameseTextCase
  1849.     };
  1850. enum
  1851.     {
  1852.     EAknIndicatorStateOff,
  1853.     EAknIndicatorStateOn,
  1854.     EAknIndicatorStateAnimate
  1855.     };
  1856. enum
  1857.     {
  1858.     EAknSignalGprsIndicatorOff = 0,
  1859.     EAknSignalGprsIndicatorAvailable,
  1860.     EAknSignalGprsIndicatorAttached,
  1861.     EAknSignalGprsIndicatorEstablishingContext,
  1862.     EAknSignalGprsIndicatorContext,
  1863.     EAknSignalGprsIndicatorSuspended,
  1864.     EAknSignalGprsIndicatorMultipdp,
  1865.     EAknSignalCommonPacketDataIndicatorOff = 0x100,
  1866.     EAknSignalCommonPacketDataIndicatorAvailable,
  1867.     EAknSignalCommonPacketDataIndicatorAttached,
  1868.     EAknSignalCommonPacketDataIndicatorEstablishingContext,
  1869.     EAknSignalCommonPacketDataIndicatorContext,
  1870.     EAknSignalCommonPacketDataIndicatorSuspended,
  1871.     EAknSignalCommonPacketDataIndicatorMultipdp,
  1872.     EAknSignalWcdmaIndicatorOff = 0x200,
  1873.     EAknSignalWcdmaIndicatorAvailable,
  1874.     EAknSignalWcdmaIndicatorAttached,
  1875.     EAknSignalWcdmaIndicatorEstablishingContext,
  1876.     EAknSignalWcdmaIndicatorContext,
  1877.     EAknSignalWcdmaIndicatorMultipdp,
  1878.     EAknSignalWcdmaIndicatorSuspended,
  1879.     EAknSignalCdmaIndicatorOff = 0x300,
  1880.     EAknSignalCdmaIndicatorNoService,
  1881.     EAknSignalCdmaIndicatorAvailable,
  1882.     EAknSignalCdmaIndicatorNotAvailable,
  1883.     EAknSignalCdmaIndicatorActive,
  1884.     EAknSignalCdmaIndicatorDormant,
  1885.     EAknSignalCdmaIndicatorSending,
  1886.     EAknSignalCdmaIndicatorReceiving,
  1887.     EAknSignalEdgeIndicatorOff = 0x400,
  1888.     EAknSignalEdgeIndicatorAvailable,
  1889.     EAknSignalEdgeIndicatorAttached,
  1890.     EAknSignalEdgeIndicatorEstablishingContext,
  1891.     EAknSignalEdgeIndicatorContext,
  1892.     EAknSignalEdgeIndicatorSuspended,
  1893.     EAknSignalEdgeIndicatorMultipdp
  1894.     };
  1895. #line 1075
  1896. enum
  1897.     {
  1898.     EAknSCTLowerCase,
  1899.     EAknSCTUpperCase,
  1900.     EAknSCTNumeric,
  1901.     EAknSCTFullCase,
  1902.     EAknSCTHalfCase,
  1903. EAknSCTQwerty,
  1904.     EAknSCTChiChineseInputModes = EAknSCTUpperCase,
  1905.     EAknSCTChiLatinInputModes = EAknSCTLowerCase
  1906.     };
  1907. #line 1095
  1908. enum TSCTQueryCtrlIds
  1909.     {
  1910.     EAknSCTQueryHeadingId = 1,
  1911.     EAknSCTQueryContentId
  1912.     };
  1913. enum TAvkonSKeyRepeatType
  1914.     {
  1915.     ESKeyTypeShort,
  1916.     ESKeyTypeLong,
  1917.     ESKeyTypeRepeat
  1918.     };
  1919. enum TAvkonSystemSID
  1920.     {
  1921.     EAvkonSIDNoSound = 1000,
  1922.     EAvkonSIDDefaultSound = 1001,
  1923.     EAvkonSIDStandardKeyClick = 1002,
  1924.     EAvkonSIDConfirmationTone = 1003,
  1925.     EAvkonSIDInformationTone = 1003,
  1926.     EAvkonSIDWarningTone = 1004,
  1927.     EAvkonSIDErrorTone = 1005,
  1928.     EAvkonSIDVolumeMaxTone = 1006,
  1929.     EAvkonSIDVolumeMinTone = 1007,
  1930.     EAvkonSIDReadialCompleteTone = 1008,
  1931.     EAvkonSIDBatteryLowTone = 1009,
  1932.     EAvkonSIDChargingBatteryTone  = 1010,
  1933.     EAvkonSIDConnectionStartTone  = 1011,
  1934.     EAvkonSIDConnectionStopTone  = 1012,
  1935.     EAvkonSIDOperationReadyTone  = 1013,
  1936.     EAvkonSIDNameDiallerStartTone  = 1014,
  1937.     EAvkonSIDNameDiallerErrorTone  = 1015,
  1938.     EAvkonSIDNameDiallerAbortTone  = 1016,
  1939.     EAvkonSIDPowerOffTone  = 1017,
  1940.     EAvkonSIDPowerOnTone  = 1018,
  1941.     EAvkonSIDRechargeBatteryTone = 1019,
  1942.     EAvkonSIDVoiceRecordingTone  = 1020,
  1943.     EAvkonSIDVoiceRecordingStartTone  = 1021,
  1944.     EAvkonSIDVoiceRecordingStopTone  = 1022,
  1945.     EAvkonSIDWrongCharger  = 1023,
  1946.     EAvkonSIDNetBusy = 1024,
  1947.     EAvkonSIDNetCallWaiting = 1025,
  1948.     EAvkonSIDNetReorder = 1026,
  1949.     EAvkonSIDNetCongestion = 1027,
  1950.     EAvkonSIDNetSpecialInformation = 1028,
  1951.     EAvkonSIDNetRadioNotAvailable = 1029,
  1952.     EAvkonSIDIHFActive = 1030,
  1953.     EAvkonSIDRadioPathAcknowledge = 1031,
  1954.     EAvkonSIDDial = 1032,
  1955.     EAvkonSIDRingGoing = 1033,
  1956.     EAvkonSIDLocationRequest = 1034
  1957.     };
  1958. enum TAvkonSoundsPriority
  1959.     {
  1960.     EAvkonKeyClickPriority = 45,
  1961.     EAvkonPoweringTonesPriority = 50,
  1962.     EAvkonLowLevelNotesPriority = 55,
  1963.     EAvkonConfirmationNotePriority = 55,
  1964.     EAvkonVolumeSettingTonesPriority = 60,
  1965.     EAvkonConnectionTonesPriority = 65,
  1966.     EAvkonHighLevelNotesPriority = 70,
  1967.     EAvkonErrorNotePriority = 70,
  1968.     EAvkonWarningNotePriority = 70,
  1969.     EAvkonVoiceDiallingTonesPriority = 73,
  1970.     EAvkonNetworkingTonesPriority = 75,
  1971.     EAvkonRecordingTonesPriority = 80,
  1972.     EAvkonChargingTonesPriority = 85,
  1973.     EAvkonNewMessageTonesPriority = 90,
  1974.     EAvkonAlarmTonesPriority = 95,
  1975.     EAvkonRingingTonesPriority = 100
  1976.     };
  1977. enum TAvkonSoundsPreference
  1978.     {
  1979.     EAknAudioPrefIncomingCall       =0x01340001,
  1980.     EAknAudioPrefIncomingCallLine2  =0x01330001,
  1981.     EAknAudioPrefIncomingDataCall       =0x01320001,
  1982.     EAknAudioPrefAutoRedialCompleted    =0x01310001,
  1983.     EAknAudioPrefAlarmClock         =0x01220001,
  1984.     EAknAudioPrefCalendarAlarm      =0x01210001,
  1985.     EAknAudioPrefNewSMS         =0x01120001,
  1986.     EAknAudioPrefNewSpecialMessage  =0x01110001,
  1987.     EAknAudioPrefBatteryLow         =0x01030001,
  1988.     EAknAudioPrefRechargeBattery        =0x01020001,
  1989.     EAknAudioPrefWrongCharger       =0x01010001,
  1990.     EAknAudioPrefVoiceRecStart      =0x00930001,
  1991.     EAknAudioPrefVoiceRecRecording  =0x00920001,
  1992.     EAknAudioPrefVoiceRecStop       =0x00910001,
  1993.     EAknAudioPrefRadioPathAck       =0x00890001,
  1994.     EAknAudioPrefDial               =0x00880001,
  1995.     EAknAudioPrefRingGoing          =0x00870001,
  1996.     EAknAudioPrefBusy               =0x00860001,
  1997.     EAknAudioPrefCallWaiting        =0x00850001,
  1998.     EAknAudioPrefReorder            =0x00840001,
  1999.     EAknAudioPrefCongestion         =0x00830001,
  2000.     EAknAudioPrefSpecialInformation =0x00820001,
  2001.     EAknAudioPrefRadioNotAvailable  =0x00810001,
  2002.     EAknAudioPrefError      =0x00720001,
  2003.     EAknAudioPrefWarning        =0x00710001,
  2004.     EAknAudioPrefVoiceStarting  =0x00630001,
  2005.     EAknAudioPrefVoiceError     =0x00620001,
  2006.     EAknAudioPrefVoiceAbort     =0x00610001,
  2007.     EAknAudioPrefConnectionStart    =0x00530001,
  2008.     EAknAudioPrefConnectionStop =0x00520001,
  2009.     EAknAudioPrefOperationReady =0x00510001,
  2010.     EAknAudioPrefFilePreview    =0x00440001,
  2011.     EAknAudioPrefAudioVolumeMin =0x00430001,
  2012.     EAknAudioPrefAudioVolumeMax =0x00420001,
  2013.     EAknAudioPrefIHFActive      =0x00410001,
  2014.     EAknAudioPrefCharging       =0x00330001,
  2015.     EAknAudioPrefConfirmation   =0x00320001,
  2016.     EAknAudioPrefDefaultTone    =0x00310001,
  2017.     EAknAudioPrefPowerOn        =0x00220001,
  2018.     EAknAudioPrefPowerOff       =0x00210001,
  2019.     EAknAudioPrefKeyPressNonDTMF    =0x00140001,
  2020.     EAknAudioPrefKeyDownDTMF    =0x00130001,
  2021.     EAknAudioPrefKeyUpDTMF      =0x00120001,
  2022.     EAknAudioPrefCamera     =0x00110001,
  2023.     EAknAudioPrefVoiceRec       =0x00060001,
  2024.     EAknAudioPrefComposer       =0x00050001,
  2025.     EAknAudioPrefRingFilePreview    =0x00040001,
  2026.     EAknAudioPrefVocosPlayback  =0x00030001,
  2027.     EAknAudioPrefVocosTrain     =0x00020001,
  2028.     EAknAudioPrefVocosRecog     =0x00010001,
  2029.     EAvkonKeyClickPreference = 0x00140001,
  2030.     EAvkonConfirmationNotePreference = 0x00320001,
  2031.     EAvkonErrorNotePreference = 0x00720001,
  2032.     EAvkonWarningNotePreference = 0x00710001
  2033.     };
  2034. enum TMessageQueryCtrlIds
  2035.     {
  2036.     EAknMessageQueryHeaderId = 1,
  2037.     EAknMessageQueryContentId
  2038.     };
  2039. #line 1286
  2040. enum TAvkonIncallStatusBubbleFlags
  2041.     {
  2042.     EAknStatusBubbleAlerting     = 0x00,
  2043.     EAknStatusBubbleActive       = 0x01,
  2044.     EAknStatusBubbleOnHold       = 0x02,
  2045.     EAknStatusBubbleDisconnected = 0x03,
  2046.     EAknStatusBubbleNoCiphering  = 0x04,
  2047.     EAknStatusBubbleMuted        = 0x08,
  2048.     EAknStatusBubbleVisible      = 0x10,
  2049.     EAknStatusBubbleFax      = 0x20,
  2050.     EAknStatusBubbleData      = 0x40,
  2051.     EAknStatusBubbleDataHscsd      = 0x80,
  2052.     EAknStatusBubbleLine2      = 0x100,
  2053.     EAknStatusBubbleVideo      = 0x200,
  2054.     EAknStatusBubbleEmergency  = 0x400,
  2055.     EAknStatusBubbleVoIP       = 0x800,
  2056.     EAknStatusBubbleReservedInternal = 0x80000000
  2057.     };
  2058. enum TAknNoteDialogTimeout
  2059.     {
  2060.     EAknNoteDialogUndefinedTimeout = 0,
  2061.     EAknNoteDialogShortTimeout = 1500000,
  2062.     EAknNoteDialogLongTimeout = 3000000,
  2063.     EAknConfirmationNoteTimeout = EAknNoteDialogShortTimeout,
  2064.     EAknInformationNoteTimeout = EAknNoteDialogLongTimeout,
  2065.     EAknErrorNoteTimeout = EAknNoteDialogLongTimeout,
  2066.     EAknWarningNoteTimeout = EAknNoteDialogLongTimeout
  2067.     };
  2068. enum TAknNoteDialogTone
  2069.     {
  2070.     EAknNoteDialogNoTone = 0,
  2071.     EAknNoteDialogConfirmationTone = EAvkonSIDConfirmationTone,
  2072.     EAknNoteDialogWarningTone = EAvkonSIDWarningTone,
  2073.     EAknNoteDialogErrorTone  = EAvkonSIDErrorTone
  2074.     };
  2075. enum TAknSelectionListDialogFlags
  2076.     {
  2077.     EAknFlagFind = 0x0001
  2078.     };
  2079. enum TAknIconArrayType
  2080.     {
  2081.     EAknIconArrayNone,
  2082.     EAknIconArraySimple,
  2083.     EAknIconArrayComplex
  2084.     };
  2085. enum EVariantFlag
  2086.    {
  2087.    EEuropeanVariant=0,
  2088.    EApacVariant
  2089.    };
  2090. enum ESubVariantFlag
  2091.    {
  2092.    ENoSubVariant = 0,
  2093.    EPrcSubVariant,
  2094.    EHongKongSubVariant,
  2095.    ETaiwanSubVariant
  2096.    };
  2097. #line 1386
  2098. enum TAknKeyBlockMode
  2099.     {
  2100.     EDefaultBlockMode=0,
  2101.     ENoKeyBlock
  2102.     };
  2103. enum TAknSeparatorLinePosition
  2104.     {
  2105.     ENoLine,
  2106.     EAColumn,
  2107.     EABColumn,
  2108.     EBCColumn
  2109.     };
  2110. enum TAknColourSelectionDialogIds {
  2111.     ECtrlGridType = 100,
  2112.     EColourGridPopup,
  2113.     EColourGridPopupNone
  2114. };
  2115. enum TAknCustomTextCursorIds
  2116.     {
  2117.     KAknCustomTextCursorIdLeftToRight = 0x101fdf03,
  2118.     KAknCustomTextCursorIdRightToLeft = 0x101fdf04,
  2119.     KAknCustomTextCursorIdLeftToRightThin = 0x101fe51c,
  2120.     KAknCustomTextCursorIdRightToLeftThin = 0x101fe51d
  2121.     };
  2122. enum TAknNaviPaneBackgroundTypes
  2123.     {
  2124.     EAknNaviPaneBackgroundTypeNotDefined  = 0,
  2125.     EAknNaviPaneBackgroundTypeWipe        = 1,
  2126.     EAknNaviPaneBackgroundTypeSolid       = 2
  2127.     };
  2128. #line 27 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknappui.h" /* stack depth 2 */
  2129. #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\akndef.h" /* stack depth 3 */
  2130. #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\akndef.hrh" /* stack depth 4 */
  2131. #line 30
  2132. enum TAknUiZoom
  2133. {
  2134. EAknUiZoomAutomatic=-1,
  2135. EAknUiZoomNormal,
  2136. EAknUiZoomSmall,
  2137. EAknUiZoomLarge,
  2138. EAknUiZoomVerySmall,
  2139. EAknUiZoomVeryLarge
  2140. };
  2141. #line 24 "C:\Symbian\9.1\S60_3rd\epoc32\include\akndef.h" /* stack depth 3 */
  2142. class TVwsViewId;
  2143. const TInt KEikMessageWindowsFadeChange =0x10006890;
  2144. const TInt KEikMessageCaptionedControlEditableStateChange =0x10008E99;
  2145. const TInt KEikMessageCaptionedControlNotEditableStateChange =0x10008E9A;
  2146. const TInt KEikMessageCaptionedControlEditableStateChangeWideWithGraphic =0x101F5FBA;
  2147. const TInt KEikMessageCaptionedControlEditableStateChangeWideWithoutGraphic =0x101F5FBB;
  2148. const TInt KEikMessageCaptionedControlNotEditableStateChangeWideWithGraphic =0x101F5FBC;
  2149. const TInt KEikMessageCaptionedControlNotEditableStateChangeWideWithoutGraphic =0x101F5FBD;
  2150. const TInt KEikClearPartialForegroundState =0x101f54f4;
  2151. const TInt KEikPartialForeground =0x101f6aab;
  2152. const TInt KEikDynamicLayoutVariantSwitch = 0x101F8121;
  2153. const TInt KEikDynamicLayoutVariantSwitch_APAC = 0x101F8124;
  2154. const TInt KEikInputLanguageChange = 0x101F8519;
  2155. const TInt KAknHardwareLayoutSwitch = 0x10202672;
  2156. const TInt KAknDelayedLayoutSwitch = 0x102797FD;
  2157. namespace AknDef
  2158.     {
  2159.     __declspec(dllexport) TInt GetPhoneIdleViewId(TVwsViewId& aViewId);
  2160.     }
  2161. #line 28 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknappui.h" /* stack depth 2 */
  2162. #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\AknTouchPaneObserver.h" /* stack depth 3 */
  2163. #line 33
  2164. class MAknTouchPaneObserver
  2165.     {
  2166.     public:
  2167.         virtual void HandleTouchPaneSizeChange() = 0;
  2168.     };
  2169. #line 29 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknappui.h" /* stack depth 2 */
  2170. class CEikButtonGroupContainer;
  2171. class CAknAppShutter;
  2172. class CAknAppUiExtension;
  2173. class CAknWsEventMonitor;
  2174. class CAknKeySoundSystem;
  2175. class CAknAppUiBaseExtension;
  2176. class CAknTouchPane;
  2177. class CAknToolbar;
  2178. #line 52
  2179. class CAknAppUiBase : public CEikAppUi
  2180.     {
  2181. private:
  2182.     friend class CAknAppUi;
  2183.     enum
  2184.         {
  2185.         EAppOrientationSpecifiedFlag      = 0x00010000,
  2186.         EAppOrientationLandscapeFlag      = 0x00020000,
  2187.         EAppOrientationAutomaticFlag      = 0x00040000,
  2188.         EAknEnableSkinFlag                = 0x00080000,
  2189.         EAknDisableHighlightAnimationFlag = 0x00100000
  2190.         };
  2191.     public:
  2192.     enum TAppUiOrientation
  2193.         {
  2194.         EAppUiOrientationUnspecified,
  2195.         EAppUiOrientationPortrait,
  2196.         EAppUiOrientationLandscape,
  2197.         EAppUiOrientationAutomatic
  2198.         };
  2199.     enum
  2200.         {
  2201. #line 112
  2202.         EAknEnableSkin = EAknEnableSkinFlag,
  2203.         EAppOrientationPortrait     = EAppOrientationSpecifiedFlag,
  2204. EAppOrientationLandscape    = EAppOrientationSpecifiedFlag
  2205.                               | EAppOrientationLandscapeFlag,
  2206. EAppOrientationAutomatic    = EAppOrientationSpecifiedFlag
  2207.                               | EAppOrientationAutomaticFlag,
  2208.         EAknDisableHighlightAnimation = EAknDisableHighlightAnimationFlag
  2209. };
  2210. public:
  2211.     __declspec(dllexport) ~CAknAppUiBase();
  2212.     __declspec(dllexport) CAknAppUiBase();
  2213. public:
  2214.     __declspec(dllexport) void BaseConstructL( TInt aAppUiFlags );
  2215. #line 150
  2216.     __declspec(dllexport) void HandleForegroundEventL(TBool aForeground);
  2217. public:
  2218.     __declspec(dllexport) void ConstructL();
  2219.     __declspec(dllexport) void Exit();
  2220. __declspec(dllexport) void SetFadedL(TBool aFaded);
  2221. #line 179
  2222. __declspec(dllexport) void HandleResourceChangeL(TInt aType);
  2223. __declspec(dllexport) TRect ApplicationRect() const;
  2224. public:
  2225. __declspec(dllexport) void PrepareToExit();
  2226. public:
  2227.     __declspec(dllexport) TBool IsFaded() const;
  2228.     __declspec(dllexport) CAknWsEventMonitor* EventMonitor() const;
  2229. __declspec(dllexport) CAknKeySoundSystem* KeySounds() const;
  2230. __declspec(dllexport) TBool IsFullScreenApp() const;
  2231. __declspec(dllexport) TBool IsLayoutAwareApp() const;
  2232. __declspec(dllexport) void SetLayoutAwareApp(TBool aLayoutAwareApp);
  2233. __declspec(dllexport) TBool IsForeground() const;
  2234. __declspec(dllexport) TBool IsPartialForeground() const;
  2235. __declspec(dllexport) TAppUiOrientation Orientation() const;
  2236. __declspec(dllexport) void SetOrientationL(TAppUiOrientation aOrientation);
  2237. TInt FindAppWgIdBelowMeL();
  2238. TInt EventForForegroundState(TBool aPartialFg, TBool aForeground);
  2239. TBool ThreadIsForeground() const;
  2240.     void SimulateWsEventL(TInt aEvent);
  2241.     __declspec(dllexport) TAknUiZoom LocalUiZoom() const;
  2242. #line 302
  2243.     __declspec(dllexport) void SetLocalUiZoomL(TAknUiZoom aZoom);
  2244. protected:
  2245. __declspec(dllexport) virtual void HandleScreenDeviceChangedL();
  2246. protected:
  2247.     __declspec(dllexport) virtual void HandleApplicationSpecificEventL(TInt aType,
  2248.         const TWsEvent& aEvent);
  2249. protected:
  2250.     __declspec(dllexport) void SetFullScreenApp(TBool aIsFullScreen);
  2251.     __declspec(dllexport) void ReplaceKeySoundsL( TInt aUid );
  2252. protected:
  2253. __declspec(dllexport) virtual TTypeUid::Ptr MopSupplyObject(TTypeUid aId);
  2254. private:
  2255.     void UpdateSettingCacheAndForwardEventL( TInt aEventId );
  2256.     void SetAppUiAndLeaveIfErrorL( TInt aError );
  2257. private:
  2258.     TBitFlags iAknFlags;
  2259. CAknWsEventMonitor* iEventMonitor;
  2260. CAknKeySoundSystem* iKeySounds;
  2261.     CAknAppUiBaseExtension* iAppUiBaseExtension;
  2262.     };
  2263. class CAknAppUi : public CAknAppUiBase, MEikStatusPaneObserver,
  2264.             public MCoeViewDeactivationObserver,
  2265.             public MAknTouchPaneObserver
  2266.     {
  2267. public:
  2268. #line 379
  2269. __declspec(dllexport) void BaseConstructL(TInt aAppUiFlags=EStandardApp);
  2270.     __declspec(dllexport) ~CAknAppUi();
  2271. public:
  2272.     __declspec(dllexport) void ConstructL();
  2273. public:
  2274. __declspec(dllexport) CEikStatusPane* StatusPane();
  2275. __declspec(dllexport) CEikButtonGroupContainer* Cba();
  2276.     __declspec(dllexport) CAknTouchPane* TouchPane();
  2277.     __declspec(dllexport) CAknToolbar* PopupToolbar() const;
  2278.     __declspec(dllexport) CAknToolbar* CurrentPopupToolbar() const;
  2279.     void StopDisplayingPopupToolbar();
  2280. #line 439
  2281. __declspec(dllexport) void ProcessCommandL(TInt aCommand);
  2282. #line 451
  2283.     __declspec(dllexport) TErrorHandlerResponse HandleError (TInt aError,
  2284.         const SExtendedError& aExtErr, TDes& aErrorText, TDes& aContextText);
  2285. __declspec(dllexport) void RunAppShutter();
  2286. __declspec(dllexport) TBool IsAppShutterRunning() const;
  2287. public:
  2288. #line 477
  2289. __declspec(dllexport) virtual void HandleViewDeactivation(
  2290.     const TVwsViewId& aViewIdToBeDeactivated,
  2291.     const TVwsViewId &aNewlyActivatedViewId);
  2292. public:
  2293. __declspec(dllexport) void PrepareToExit();
  2294. public:
  2295.     __declspec(dllexport) void HandleTouchPaneSizeChange();
  2296. protected:
  2297. __declspec(dllexport) void HandleStatusPaneSizeChange();
  2298. __declspec(dllexport) void HandleSystemEventL(const TWsEvent& aEvent);
  2299. protected:
  2300. __declspec(dllexport) virtual void Reserved_MtsmPosition();
  2301. __declspec(dllexport) virtual void Reserved_MtsmObject();
  2302. protected:
  2303.     __declspec(dllexport) void HandleForegroundEventL(TBool aForeground);
  2304. __declspec(dllexport) void HandleWsEventL(const TWsEvent& aEvent,
  2305.     CCoeControl* aDestination);
  2306. #line 540
  2307. __declspec(dllexport) void SetKeyBlockMode(TAknKeyBlockMode aMode);
  2308.     __declspec(dllexport) void HandleErrorL(TInt aError, HBufC** aErrorDesc, TBool aShowNote = ETrue );
  2309. #line 552
  2310.     void DumpControl(CCoeControl* aControl, TInt aLevel, RDebug& aDebug);
  2311.     void DecideWsClientBufferSizesL();
  2312. private:
  2313. void UpdateKeyBlockMode();
  2314. private:
  2315. TBool iDumpNextControl;
  2316. CAknAppShutter* iAppShutter;
  2317. TAknKeyBlockMode iBlockMode;
  2318. CAknAppUiExtension * iExtension;
  2319. public:
  2320.     __declspec(dllexport) void HideApplicationFromFSW(TBool aHide=ETrue);
  2321.     };
  2322. #line 24 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknViewAppUi.h" /* stack depth 1 */
  2323. class CAknView;
  2324. class CAknViewShutter;
  2325. class CAknLocalScreenClearer;
  2326. class CAknViewAppUiExtension;
  2327. class CAknViewNavigator;
  2328. #line 43
  2329. class CAknViewAppUi : public CAknAppUi
  2330.     {
  2331. public:
  2332. class CViewActivationItem : public CBase
  2333. {
  2334. public:
  2335. #line 58
  2336. static CViewActivationItem* NewLC(CAknView* aNewView,
  2337.                                   TUid aCustomMessageId,
  2338.                                   const TDesC8& aCustomMessage,
  2339.                                   const TVwsViewId& aPrevViewId);
  2340. ~CViewActivationItem();
  2341. private:
  2342. CViewActivationItem(CAknView* aNewView,
  2343.                     TUid aCustomMessageId,
  2344.                     const TVwsViewId& aPrevViewId);
  2345. void ConstructL(const TDesC8& aCustomMessage);
  2346. public:
  2347. CAknView* iNewView;
  2348. TUid iCustomMessageId;
  2349. HBufC8* iCustomMessage;
  2350. TVwsViewId iPrevViewId;
  2351. };
  2352.         class TAknSplitViewContainer
  2353.             {
  2354.             public:
  2355.                 TBool IsPartOf( const TUid aViewId );
  2356.             public:
  2357.                 TUid iViewIds[2];
  2358.                 TBool iFailed[2];
  2359.                 TRect iViewRect[2];
  2360.                 TInt iLeftViewSize;
  2361.             };
  2362.      typedef CArrayPtrFlat<CViewActivationItem> CAknViewActivationQueue;
  2363.      typedef CArrayPtrFlat<CAknView> CAknViews;
  2364. public:
  2365. __declspec(dllexport) void BaseConstructL(TInt aAppUiFlags=EStandardApp);
  2366. __declspec(dllexport) virtual ~CAknViewAppUi();
  2367. __declspec(dllexport) void ActivateLocalViewL(TUid aViewId);
  2368. #line 143
  2369. __declspec(dllexport) void ActivateLocalViewL(TUid aViewId,
  2370.                                  TUid aCustomMessageId,
  2371.                                  const TDesC8& aCustomMessage);
  2372. __declspec(dllexport) CAknView* View(TUid aView) const;
  2373. __declspec(dllexport) void AddViewL(CAknView* aView);
  2374. __declspec(dllexport) void RemoveView(TUid aViewId);
  2375. __declspec(dllexport) void ProcessCommandL(TInt aCommand);
  2376. __declspec(dllexport) void StopDisplayingMenuBar();
  2377. void ViewActivatedL(CAknView* aView,
  2378.                     const TVwsViewId& aPrevViewId,
  2379.                     TUid aCustomMessageId,
  2380.                     const TDesC8& aCustomMessage);
  2381. void ViewDeactivated(CAknView* aView);
  2382. #line 196
  2383.     __declspec(dllexport) void SetSplitViewL( const TUid aView1Id, const TUid aView2Id, const TInt aLeftViewSize );
  2384. #line 205
  2385.     __declspec(dllexport) void RemoveSplitViewL( const TUid aViewId );
  2386.     __declspec(dllexport) TBool SplitViewActive() const;
  2387.     __declspec(dllexport) TUid FocusedView() const;
  2388.     __declspec(dllexport) TBool ViewShown( const TUid aViewId ) const;
  2389.     TRect ViewRect( const TUid aViewId ) const;
  2390.     TKeyResponse HandleViewNavigationL( const TKeyEvent& aKeyEvent );
  2391. protected:
  2392. __declspec(dllexport) void HandleStatusPaneSizeChange();
  2393. __declspec(dllexport) void HandleForegroundEventL(TBool aForeground);
  2394. #line 268
  2395.     __declspec(dllexport) void HandleWsEventL( const TWsEvent& aEvent, CCoeControl* aDestination );
  2396. private:
  2397. static TInt ActivationCallBack(TAny* aThis);
  2398. void ActivationTick();
  2399. void QueueActivationTick();
  2400.     CAknViewAppUiExtension* Extension() const;
  2401.     void ActivateSplitViewL( CViewActivationItem* aItem );
  2402.     TAknSplitViewContainer* SplitView( const TUid aViewId ) const;
  2403. protected:
  2404.     CAknView* iView;
  2405.     CAknViews* iViews;
  2406. private:
  2407.     CAknViewShutter* iShutter;
  2408.     CAknLocalScreenClearer* iClearer;
  2409.     CAknViewActivationQueue* iActivationQueue;
  2410.     CIdle* iActivationTick;
  2411.     CAknViewAppUiExtension* iExtension;
  2412.     };
  2413. #line 7 "C:\gbtukmanpf01\NOK124\Courses\S60\05300-S60_C++_Introduction\Working\LabCode\Lab_05304-s2.cb1\starter\src\S60UIExampleInitialContainer.cpp" /* stack depth 0 */
  2414. #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknutils.h" /* stack depth 1 */
  2415. #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eiktxlbm.h" /* stack depth 2 */
  2416. #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eiklbm.h" /* stack depth 3 */
  2417. #line 20
  2418. enum TListBoxModelItemArrayOwnership
  2419. {
  2420. ELbmOwnsItemArray,
  2421. ELbmDoesNotOwnItemArray
  2422. };
  2423. class MListBoxModel
  2424. {
  2425. public:
  2426. __declspec(dllexport) virtual ~MListBoxModel();
  2427. virtual TInt NumberOfItems() const = 0;
  2428. virtual const MDesC16Array * MatchableTextArray() const = 0;
  2429. private:
  2430. __declspec(dllexport) virtual TAny* MListBoxModel_Reserved();
  2431. };
  2432. class MTextListBoxModel : public MListBoxModel
  2433. {
  2434. public:
  2435. __declspec(dllexport) ~MTextListBoxModel();
  2436. virtual TPtrC ItemText(TInt aItemIndex) const = 0;
  2437. private:
  2438. __declspec(dllexport) virtual TAny* MListBoxModel_Reserved();
  2439. };
  2440. #line 11 "C:\Symbian\9.1\S60_3rd\epoc32\include\eiktxlbm.h" /* stack depth 2 */
  2441. class CTextListBoxModel : public CBase, public MTextListBoxModel
  2442. {
  2443. public:
  2444. __declspec(dllexport) CTextListBoxModel();
  2445. __declspec(dllexport) virtual ~CTextListBoxModel();
  2446. __declspec(dllexport) virtual TInt NumberOfItems() const;
  2447. __declspec(dllexport) virtual const MDesC16Array * MatchableTextArray() const;
  2448. __declspec(dllexport) virtual TPtrC ItemText(TInt aItemIndex) const;
  2449. __declspec(dllexport) virtual void ConstructL(MDesC16Array * aItemTextArray = 0 , TListBoxModelItemArrayOwnership aOwnershipType = ELbmOwnsItemArray);
  2450. __declspec(dllexport) void SetItemTextArray(MDesC16Array * aItemTextArray);
  2451. __declspec(dllexport) void SetOwnershipType(TListBoxModelItemArrayOwnership aOwnershipType);
  2452. __declspec(dllexport) MDesC16Array * ItemTextArray() const;
  2453. protected:
  2454. __declspec(dllexport) TListBoxModelItemArrayOwnership ItemArrayOwnershipType() const;
  2455. private:
  2456. __declspec(dllexport) virtual TAny* MListBoxModel_Reserved();
  2457. protected:
  2458. MDesC16Array * iItemTextArray;
  2459. private:
  2460. TListBoxModelItemArrayOwnership iItemArrayOwnershipType;
  2461. };
  2462. #line 28 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknutils.h" /* stack depth 1 */
  2463. #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\avkon.rsg" /* stack depth 2 */
  2464. #line 30 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknutils.h" /* stack depth 1 */
  2465. #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\AknsConstants.h" /* stack depth 2 */
  2466. #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\AknsItemID.h" /* stack depth 3 */
  2467. #line 35
  2468. enum TAknsItemType
  2469.     {
  2470.     EAknsITUnknown      =0,
  2471.     EAknsITBitmap       =1,
  2472.     EAknsITMaskedBitmap =2,
  2473.     EAknsITColorTable   =3,
  2474.     EAknsITImageTable   =4,
  2475.     EAknsITImage        =5,
  2476.     EAknsITBmpAnim      =6,
  2477.     EAknsITString       =7,
  2478.     EAknsITEffectQueue  =8,
  2479.     EAknsITAnimation    =9
  2480.     };
  2481. enum TAknsImageAttribute
  2482.     {
  2483.     EAknsImageAttributeNone     =0x00,
  2484.     EAknsImageAttributeCoords   =0x01,
  2485.     EAknsImageAttributeSize     =0x02,
  2486.     EAknsImageAttributeStretch  =0x04,
  2487.     EAknsImageAttributeTile     =0x08,
  2488.     EAknsImageAttributeAlign    =0x10,
  2489.     EAknsImageAttributeScale    =0x20,
  2490.     EAknsImageAttributeTileX    =0x40,
  2491.     EAknsImageAttributeTileY    =0x80,
  2492.     EAknsImageAttributeNBC     =0x100
  2493.     };
  2494. enum TAknsImageAlignment
  2495.     {
  2496.     EAknsImageAlignNone     =0x00,
  2497.     EAknsImageAlignVTop     =0x01,
  2498.     EAknsImageAlignVBottom  =0x02,
  2499.     EAknsImageAlignVCenter  =0x04,
  2500.     EAknsImageAlignHLeft    =0x08,
  2501.     EAknsImageAlignHRight   =0x10,
  2502.     EAknsImageAlignHCenter  =0x20,
  2503.     EAknsImageAlignTL       =EAknsImageAlignVTop|EAknsImageAlignHLeft,
  2504.     EAknsImageAlignTR       =EAknsImageAlignVTop|EAknsImageAlignHRight,
  2505.     EAknsImageAlignTC       =EAknsImageAlignVTop|EAknsImageAlignHCenter,
  2506.     EAknsImageAlignBL       =EAknsImageAlignVBottom|EAknsImageAlignHLeft,
  2507.     EAknsImageAlignBR       =EAknsImageAlignVBottom|EAknsImageAlignHRight,
  2508.     EAknsImageAlignBC       =EAknsImageAlignVBottom|EAknsImageAlignHCenter,
  2509.     EAknsImageAlignCL       =EAknsImageAlignVCenter|EAknsImageAlignHLeft,
  2510.     EAknsImageAlignCR       =EAknsImageAlignVCenter|EAknsImageAlignHRight,
  2511.     EAknsImageAlignCC       =EAknsImageAlignVCenter|EAknsImageAlignHCenter,
  2512.     EAknsImageAlignVMask    =EAknsImageAlignVTop|EAknsImageAlignVBottom|
  2513.                              EAknsImageAlignVCenter,
  2514.     EAknsImageAlignHMask    =EAknsImageAlignHLeft|EAknsImageAlignHRight|
  2515.                              EAknsImageAlignHCenter
  2516.     };
  2517. #line 206
  2518. enum TAknsLayoutType
  2519.     {
  2520.     EAknsLayoutUnknown      = 0,
  2521.     EAknsLayoutPortrait     = 1,
  2522.     EAknsLayoutLandscape    = 2,
  2523.     EAknsLayoutLegacy       = 3
  2524.     };
  2525. class CFbsBitmap;
  2526. #line 231
  2527. class TAknsItemID
  2528.     {
  2529.     public:
  2530. #line 242
  2531.         inline void Set( const TInt aMajor, const TInt aMinor );
  2532. #line 252
  2533.         inline void Set( const TUid aMajor, const TInt aMinor );
  2534.         inline void Set( const TAknsItemID& aID );
  2535. #line 281
  2536.         __declspec(dllexport) static TInt LinearOrder(
  2537.             const TAknsItemID& aFirst, const TAknsItemID& aSecond );
  2538.     public:
  2539.         TInt iMajor;
  2540.         TInt iMinor;
  2541.     };
  2542. typedef RArray<TAknsItemID> RAknsItemIDArray;
  2543. #line 311
  2544. inline TBool operator==( const TAknsItemID& aFirst, const TAknsItemID& aSecond );
  2545. #line 324
  2546. inline TBool operator!=( const TAknsItemID& aFirst, const TAknsItemID& aSecond );
  2547. #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\AknsItemID.inl" /* stack depth 4 */
  2548. #line 21
  2549. inline void TAknsItemID::Set( const TInt aMajor, const TInt aMinor )
  2550.     {
  2551.     iMajor = aMajor; iMinor = aMinor;
  2552.     }
  2553. inline void TAknsItemID::Set( const TUid aMajor, const TInt aMinor )
  2554.     {
  2555.     iMajor = aMajor.iUid; iMinor = aMinor;
  2556.     }
  2557. inline void TAknsItemID::Set( const TAknsItemID& aID )
  2558.     {
  2559.     iMajor = aID.iMajor; iMinor = aID.iMinor;
  2560.     }
  2561. inline TBool operator==( const TAknsItemID& aFirst, const TAknsItemID& aSecond )
  2562.     {
  2563.     return (aFirst.iMajor==aSecond.iMajor)&&(aFirst.iMinor==aSecond.iMinor);
  2564.     }
  2565. inline TBool operator!=( const TAknsItemID& aFirst, const TAknsItemID& aSecond )
  2566.     {
  2567.     return (aFirst.iMajor!=aSecond.iMajor)||(aFirst.iMinor!=aSecond.iMinor);
  2568.     }
  2569. #line 328 "C:\Symbian\9.1\S60_3rd\epoc32\include\AknsItemID.h" /* stack depth 3 */
  2570. #line 34 "C:\Symbian\9.1\S60_3rd\epoc32\include\AknsConstants.h" /* stack depth 2 */
  2571. #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\AknsConstants.hrh" /* stack depth 3 */
  2572. #line 36
  2573. enum TAknsMajorValue
  2574.     {
  2575.     EAknsMajorNone              = -1,
  2576.     EAknsMajorDefault           = 0,
  2577.     EAknsMajorSkin              = 0x10005a26,
  2578.     EAknsMajorAvkon             = 0x100056c6,
  2579.     EAknsMajorAppIcon           = 0x101f84b6,
  2580.     EAknsMajorAppIconBmpLst     = 0x101f84b7,
  2581.     EAknsMajorAppIconBmpCxt     = 0x101f84b8,
  2582.     EAknsMajorCallstatus        = 0x101f8553,
  2583.     EAknsMajorCalendar          = 0x10005901,
  2584.     EAknsMajorScreensaver       = 0x100056cf,
  2585.     EAknsMajorPinboard          = 0x1000590b,
  2586.     EAknsMajorCbsuiApp          = 0x101f4cd3,
  2587.     EAknsMajorSound             = 0x101f869e,
  2588.     EAknsMajorProperty          = 0x101FD651,
  2589.     EAknsMajorGeneric           = 0x101F86E3
  2590.     };
  2591. #line 64
  2592. enum TAknsMinorCommonValue
  2593.     {
  2594.     EAknsMinorNone              = -1,
  2595.     EAknsMinorDefault           = 0
  2596.     };
  2597. #line 79
  2598. enum TAknsMinorSkinValue
  2599.     {
  2600.     EAknsMinorQsnBgScreen               = 0x1000,
  2601.     EAknsMinorQsnBgScreenIdle           = 0x1001,
  2602.     EAknsMinorQsnBgScreenMp             = 0x1002,
  2603.     EAknsMinorQsnBgAreaStatus           = 0x1010,
  2604.     EAknsMinorQsnBgAreaStatusIdle       = 0x1011,
  2605.     EAknsMinorQsnBgAreaControl          = 0x1020,
  2606.     EAknsMinorQsnBgAreaControlPopup     = 0x1021,
  2607.     EAknsMinorQsnBgAreaControlIdle      = 0x1022,
  2608.     EAknsMinorQsnBgAreaControlMp        = 0x1023,
  2609.     EAknsMinorQsnBgAreaStaconRt         = 0x1030,
  2610.     EAknsMinorQsnBgAreaStaconLt         = 0x1031,
  2611.     EAknsMinorQsnBgAreaStaconRb         = 0x1032,
  2612.     EAknsMinorQsnBgAreaStaconLb         = 0x1033,
  2613.     EAknsMinorQsnBgAreaStaconRtIdle     = 0x1034,
  2614.     EAknsMinorQsnBgAreaStaconLtIdle     = 0x1035,
  2615.     EAknsMinorQsnBgAreaStaconRbIdle     = 0x1036,
  2616.     EAknsMinorQsnBgAreaStaconLbIdle     = 0x1037,
  2617.     EAknsMinorQsnBgAreaMain             = 0x1100,
  2618.     EAknsMinorQsnBgAreaMainListGene     = 0x1101,
  2619.     EAknsMinorQsnBgAreaMainListSet      = 0x1102,
  2620.     EAknsMinorQsnBgAreaMainAppsGrid     = 0x1103,
  2621.     EAknsMinorQsnBgAreaMainMessage      = 0x1104,
  2622.     EAknsMinorQsnBgAreaMainIdle         = 0x1105,
  2623.     EAknsMinorQsnBgAreaMainPinb         = 0x1106,
  2624.     EAknsMinorQsnBgAreaMainCalc         = 0x1107,
  2625.     EAknsMinorQsnBgAreaMainQdial        = 0x1108,
  2626.     EAknsMinorQsnBgAreaMainIdleDimmed   = 0x1109,
  2627.     EAknsMinorQsnBgAreaMainHigh         = 0x110a,
  2628.     EAknsMinorQsnBgAreaMainMp           = 0x110b,
  2629.     EAknsMinorQsnBgSlicePopup           = 0x11a0,
  2630.     EAknsMinorQsnBgSlicePinb            = 0x11a1,
  2631.     EAknsMinorQsnBgSliceFswap           = 0x11a2,
  2632.     EAknsMinorWallpaper                 = 0x1180,
  2633.     EAknsMinorQgnGrafIdleFade           = 0x1190,
  2634.     EAknsMinorQgnGrafDimWipeLscLeft     = 0x1191,
  2635.     EAknsMinorQsnCpVolumeOn             = 0x11f0,
  2636.     EAknsMinorQsnCpVolumeOff            = 0x11f1,
  2637.     EAknsMinorQsnBgColumn0              = 0x1200,
  2638.     EAknsMinorQsnBgColumnA              = 0x1201,
  2639.     EAknsMinorQsnBgColumnAB             = 0x1202,
  2640.     EAknsMinorQsnBgColumnC0             = 0x1203,
  2641.     EAknsMinorQsnBgColumnCA             = 0x1204,
  2642.     EAknsMinorQsnBgColumnCAB            = 0x1205,
  2643.     EAknsMinorQsnBgSliceList0           = 0x1220,
  2644.     EAknsMinorQsnBgSliceListA           = 0x1221,
  2645.     EAknsMinorQsnBgSliceListAB          = 0x1222,
  2646.     EAknsMinorQsnFrSetOpt               = 0x1300,
  2647.     EAknsMinorQsnFrSetOptCornerTl       = 0x1301,
  2648.     EAknsMinorQsnFrSetOptCornerTr       = 0x1302,
  2649.     EAknsMinorQsnFrSetOptCornerBl       = 0x1303,
  2650.     EAknsMinorQsnFrSetOptCornerBr       = 0x1304,
  2651.     EAknsMinorQsnFrSetOptSideT          = 0x1305,
  2652.     EAknsMinorQsnFrSetOptSideB          = 0x1306,
  2653.     EAknsMinorQsnFrSetOptSideL          = 0x1307,
  2654.     EAknsMinorQsnFrSetOptSideR          = 0x1308,
  2655.     EAknsMinorQsnFrSetOptCenter         = 0x1309,
  2656.     EAknsMinorQsnFrSetOptFoc            = 0x1310,
  2657.     EAknsMinorQsnFrSetOptFocCornerTl    = 0x1311,
  2658.     EAknsMinorQsnFrSetOptFocCornerTr    = 0x1312,
  2659.     EAknsMinorQsnFrSetOptFocCornerBl    = 0x1313,
  2660.     EAknsMinorQsnFrSetOptFocCornerBr    = 0x1314,
  2661.     EAknsMinorQsnFrSetOptFocSideT       = 0x1315,
  2662.     EAknsMinorQsnFrSetOptFocSideB       = 0x1316,
  2663.     EAknsMinorQsnFrSetOptFocSideL       = 0x1317,
  2664.     EAknsMinorQsnFrSetOptFocSideR       = 0x1318,
  2665.     EAknsMinorQsnFrSetOptFocCenter      = 0x1319,
  2666.     EAknsMinorQsnCpSetListVolumeOn      = 0x13f0,
  2667.     EAknsMinorQsnCpSetListVolumeOff     = 0x13f1,
  2668.     EAknsMinorQgnIndiSliderSet          = 0x13f8,
  2669.     EAknsMinorQsnFrList                 = 0x1400,
  2670.     EAknsMinorQsnFrListCornerTl         = 0x1401,
  2671.     EAknsMinorQsnFrListCornerTr         = 0x1402,
  2672.     EAknsMinorQsnFrListCornerBl         = 0x1403,
  2673.     EAknsMinorQsnFrListCornerBr         = 0x1404,
  2674.     EAknsMinorQsnFrListSideT            = 0x1405,
  2675.     EAknsMinorQsnFrListSideB            = 0x1406,
  2676.     EAknsMinorQsnFrListSideL            = 0x1407,
  2677.     EAknsMinorQsnFrListSideR            = 0x1408,
  2678.     EAknsMinorQsnFrListCenter           = 0x1409,
  2679.     EAknsMinorQsnFrGrid                 = 0x1410,
  2680.     EAknsMinorQsnFrGridCornerTl         = 0x1411,
  2681.     EAknsMinorQsnFrGridCornerTr         = 0x1412,
  2682.     EAknsMinorQsnFrGridCornerBl         = 0x1413,
  2683.     EAknsMinorQsnFrGridCornerBr         = 0x1414,
  2684.     EAknsMinorQsnFrGridSideT            = 0x1415,
  2685.     EAknsMinorQsnFrGridSideB            = 0x1416,
  2686.     EAknsMinorQsnFrGridSideL            = 0x1417,
  2687.     EAknsMinorQsnFrGridSideR            = 0x1418,
  2688.     EAknsMinorQsnFrGridCenter           = 0x1419,
  2689.     EAknsMinorQsnFrInput                = 0x1500,
  2690.     EAknsMinorQsnFrInputCornerTl        = 0x1501,
  2691.     EAknsMinorQsnFrInputCornerTr        = 0x1502,
  2692.     EAknsMinorQsnFrInputCornerBl        = 0x1503,
  2693.     EAknsMinorQsnFrInputCornerBr        = 0x1504,
  2694.     EAknsMinorQsnFrInputSideT           = 0x1505,
  2695.     EAknsMinorQsnFrInputSideB           = 0x1506,
  2696.     EAknsMinorQsnFrInputSideL           = 0x1507,
  2697.     EAknsMinorQsnFrInputSideR           = 0x1508,
  2698.     EAknsMinorQsnFrInputCenter          = 0x1509,
  2699.     EAknsMinorQsnCpSetVolumeOn          = 0x15f0,
  2700.     EAknsMinorQsnCpSetVolumeOff         = 0x15f1,
  2701.     EAknsMinorQgnIndiSliderEdit         = 0x15f8,
  2702.     EAknsMinorQsnCpScrollBgTop          = 0x1600,
  2703.     EAknsMinorQsnCpScrollBgMiddle       = 0x1601,
  2704.     EAknsMinorQsnCpScrollBgBottom       = 0x1602,
  2705.     EAknsMinorQsnCpScrollHandleBgTop    = 0x1603,
  2706.     EAknsMinorQsnCpScrollHandleBgMiddle = 0x1604,
  2707.     EAknsMinorQsnCpScrollHandleBgBottom = 0x1605,
  2708.     EAknsMinorQsnCpScrollHandleTop      = 0x1606,
  2709.     EAknsMinorQsnCpScrollHandleMiddle   = 0x1607,
  2710.     EAknsMinorQsnCpScrollHandleBottom   = 0x1608,
  2711.     EAknsMinorQsnBgScreenDimming        = 0x2000,
  2712.     EAknsMinorQsnBgPopupBackground      = 0x2001,
  2713.     EAknsMinorQsnFrPopup                = 0x2100,
  2714.     EAknsMinorQsnFrPopupCornerTl        = 0x2101,
  2715.     EAknsMinorQsnFrPopupCornerTr        = 0x2102,
  2716.     EAknsMinorQsnFrPopupCornerBl        = 0x2103,
  2717.     EAknsMinorQsnFrPopupCornerBr        = 0x2104,
  2718.     EAknsMinorQsnFrPopupSideT           = 0x2105,
  2719.     EAknsMinorQsnFrPopupSideB           = 0x2106,
  2720.     EAknsMinorQsnFrPopupSideL           = 0x2107,
  2721.     EAknsMinorQsnFrPopupSideR           = 0x2108,
  2722.     EAknsMinorQsnFrPopupCenter          = 0x2109,
  2723.     EAknsMinorQsnFrPopupCenterMenu      = 0x2110,
  2724.     EAknsMinorQsnFrPopupCenterSubmenu   = 0x2111,
  2725.     EAknsMinorQsnFrPopupCenterNote      = 0x2112,
  2726.     EAknsMinorQsnFrPopupCenterQuery     = 0x2113,
  2727.     EAknsMinorQsnFrPopupCenterFind      = 0x2114,
  2728.     EAknsMinorQsnFrPopupCenterSnote     = 0x2115,
  2729.     EAknsMinorQsnFrPopupCenterFswap     = 0x2116,
  2730.     EAknsMinorQsnFrPopupSub             = 0x2120,
  2731.     EAknsMinorQsnFrPopupSubCornerTl     = 0x2121,
  2732.     EAknsMinorQsnFrPopupSubCornerTr     = 0x2122,
  2733.     EAknsMinorQsnFrPopupSubCornerBl     = 0x2123,
  2734.     EAknsMinorQsnFrPopupSubCornerBr     = 0x2124,
  2735.     EAknsMinorQsnFrPopupSubSideT        = 0x2125,
  2736.     EAknsMinorQsnFrPopupSubSideB        = 0x2126,
  2737.     EAknsMinorQsnFrPopupSubSideL        = 0x2127,
  2738.     EAknsMinorQsnFrPopupSubSideR        = 0x2128,
  2739.     EAknsMinorQsnFrPopupHeading         = 0x2130,
  2740.     EAknsMinorQsnFrPopupHeadingCornerTl = 0x2131,
  2741.     EAknsMinorQsnFrPopupHeadingCornerTr = 0x2132,
  2742.     EAknsMinorQsnFrPopupHeadingCornerBl = 0x2133,
  2743.     EAknsMinorQsnFrPopupHeadingCornerBr = 0x2134,
  2744.     EAknsMinorQsnFrPopupHeadingSideT    = 0x2135,
  2745.     EAknsMinorQsnFrPopupHeadingSideB    = 0x2136,
  2746.     EAknsMinorQsnFrPopupHeadingSideL    = 0x2137,
  2747.     EAknsMinorQsnFrPopupHeadingSideR    = 0x2138,
  2748.     EAknsMinorQsnFrPopupHeadingCenter   = 0x2139,
  2749.     EAknsMinorQsnBgFswapEnd             = 0x2150,
  2750.     EAknsMinorQsnFrStatusFlat           = 0x2160,
  2751.     EAknsMinorQsnFrStatusFlatCornerTl   = 0x2161,
  2752.     EAknsMinorQsnFrStatusFlatCornerTr   = 0x2162,
  2753.     EAknsMinorQsnFrStatusFlatCornerBl   = 0x2163,
  2754.     EAknsMinorQsnFrStatusFlatCornerBr   = 0x2164,
  2755.     EAknsMinorQsnFrStatusFlatSideT      = 0x2165,
  2756.     EAknsMinorQsnFrStatusFlatSideB      = 0x2166,
  2757.     EAknsMinorQsnFrStatusFlatSideL      = 0x2167,
  2758.     EAknsMinorQsnFrStatusFlatSideR      = 0x2168,
  2759.     EAknsMinorQsnFrStatusFlatCenter     = 0x2169,
  2760. #line 306
  2761.     EAknsMinorQsnComponentColors        = 0x3000,
  2762. #line 317
  2763.     EAknsMinorQsnComponentColorBmpCG1   = 0x3001,
  2764. #line 328
  2765.     EAknsMinorQsnComponentColorBmpCG2   = 0x3002,
  2766. #line 339
  2767.     EAknsMinorQsnComponentColorBmpCG3   = 0x3003,
  2768. #line 350
  2769.     EAknsMinorQsnComponentColorBmpCG4   = 0x3004,
  2770. #line 361
  2771.     EAknsMinorQsnComponentColorBmpCG5   = 0x3005,
  2772. #line 372
  2773.     EAknsMinorQsnComponentColorBmpCG6a  = 0x3006,
  2774. #line 383
  2775.     EAknsMinorQsnComponentColorBmpCG6b  = 0x3007,
  2776.     EAknsMinorQsnScrollColors           = 0x3100,
  2777.     EAknsMinorQsnIconColors             = 0x3200,
  2778.     EAknsMinorQsnTextColors             = 0x3300,
  2779.     EAknsMinorQsnLineColors             = 0x3400,
  2780.     EAknsMinorQsnOtherColors            = 0x3500,
  2781.     EAknsMinorQsnHighlightColors        = 0x3600,
  2782.     EAknsMinorQsnParentColors           = 0x3700,
  2783.     EAknsMinorQsnCpClockAnalogueFace1           = 0x4000,
  2784.     EAknsMinorQsnCpClockAnalogueFace1MaskIcon   = 0x4003,
  2785.     EAknsMinorQsnCpClockAnalogueFace1MaskSoft   = 0x4003,
  2786.     EAknsMinorQsnCpClockAnalogueBorderNum       = 0x4001,
  2787.     EAknsMinorQsnCpClockAnalogueFace2           = 0x4002,
  2788.     EAknsMinorQsnCpClockAnalogueFace2MaskIcon   = 0x4004,
  2789.     EAknsMinorQsnCpClockAnalogueFace2MaskSoft   = 0x4004,
  2790.     EAknsMinorQsnCpClockAnaloguePointerHour     = 0x4005,
  2791.     EAknsMinorQsnCpClockAnaloguePointerMinute   = 0x4006,
  2792.     EAknsMinorQsnCpClockDigitalZero             = 0x4010,
  2793.     EAknsMinorQsnCpClockDigitalOne              = 0x4011,
  2794.     EAknsMinorQsnCpClockDigitalTwo              = 0x4012,
  2795.     EAknsMinorQsnCpClockDigitalThree            = 0x4013,
  2796.     EAknsMinorQsnCpClockDigitalFour             = 0x4014,
  2797.     EAknsMinorQsnCpClockDigitalFive             = 0x4015,
  2798.     EAknsMinorQsnCpClockDigitalSix              = 0x4016,
  2799.     EAknsMinorQsnCpClockDigitalSeven            = 0x4017,
  2800.     EAknsMinorQsnCpClockDigitalEight            = 0x4018,
  2801.     EAknsMinorQsnCpClockDigitalNine             = 0x4019,
  2802.     EAknsMinorQsnCpClockDigitalStop             = 0x401a,
  2803.     EAknsMinorQsnCpClockDigitalColon            = 0x401b,
  2804.     EAknsMinorQsnCpClockDigitalZeroMaskSoft     = 0x4020,
  2805.     EAknsMinorQsnCpClockDigitalOneMaskSoft      = 0x4021,
  2806.     EAknsMinorQsnCpClockDigitalTwoMaskSoft      = 0x4022,
  2807.     EAknsMinorQsnCpClockDigitalThreeMaskSoft    = 0x4023,
  2808.     EAknsMinorQsnCpClockDigitalFourMaskSoft     = 0x4024,
  2809.     EAknsMinorQsnCpClockDigitalFiveMaskSoft     = 0x4025,
  2810.     EAknsMinorQsnCpClockDigitalSixMaskSoft      = 0x4026,
  2811.     EAknsMinorQsnCpClockDigitalSevenMaskSoft    = 0x4027,
  2812.     EAknsMinorQsnCpClockDigitalEightMaskSoft    = 0x4028,
  2813.     EAknsMinorQsnCpClockDigitalNineMaskSoft     = 0x4029,
  2814.     EAknsMinorQsnCpClockDigitalStopMaskSoft     = 0x402a,
  2815.     EAknsMinorQsnCpClockDigitalColonMaskSoft    = 0x402b,
  2816.     EAknsMinorQsnCpClockDigitalZeroMaskHard     = 0x4030,
  2817.     EAknsMinorQsnCpClockDigitalOneMaskHard      = 0x4031,
  2818.     EAknsMinorQsnCpClockDigitalTwoMaskHard      = 0x4032,
  2819.     EAknsMinorQsnCpClockDigitalThreeMaskHard    = 0x4033,
  2820.     EAknsMinorQsnCpClockDigitalFourMaskHard     = 0x4034,
  2821.     EAknsMinorQsnCpClockDigitalFiveMaskHard     = 0x4035,
  2822.     EAknsMinorQsnCpClockDigitalSixMaskHard      = 0x4036,
  2823.     EAknsMinorQsnCpClockDigitalSevenMaskHard    = 0x4037,
  2824.     EAknsMinorQsnCpClockDigitalEightMaskHard    = 0x4038,
  2825.     EAknsMinorQsnCpClockDigitalNineMaskHard     = 0x4039,
  2826.     EAknsMinorQsnCpClockDigitalStopMaskHard     = 0x403a,
  2827.     EAknsMinorQsnCpClockDigitalColonMaskHard    = 0x403b,
  2828.     EAknsMinorQsnCpClockDigitalAhZero           = 0x4110,
  2829.     EAknsMinorQsnCpClockDigitalAhOne            = 0x4111,
  2830.     EAknsMinorQsnCpClockDigitalAhTwo            = 0x4112,
  2831.     EAknsMinorQsnCpClockDigitalAhThree          = 0x4113,
  2832.     EAknsMinorQsnCpClockDigitalAhFour           = 0x4114,
  2833.     EAknsMinorQsnCpClockDigitalAhFive           = 0x4115,
  2834.     EAknsMinorQsnCpClockDigitalAhSix            = 0x4116,
  2835.     EAknsMinorQsnCpClockDigitalAhSeven          = 0x4117,
  2836.     EAknsMinorQsnCpClockDigitalAhEight          = 0x4118,
  2837.     EAknsMinorQsnCpClockDigitalAhNine           = 0x4119,
  2838.     EAknsMinorQsnCpClockDigitalAhStop           = 0x411a,
  2839.     EAknsMinorQsnCpClockDigitalAhColon          = 0x411b,
  2840.     EAknsMinorQsnCpClockDigitalAhZeroMaskSoft   = 0x4120,
  2841.     EAknsMinorQsnCpClockDigitalAhOneMaskSoft    = 0x4121,
  2842.     EAknsMinorQsnCpClockDigitalAhTwoMaskSoft    = 0x4122,
  2843.     EAknsMinorQsnCpClockDigitalAhThreeMaskSoft  = 0x4123,
  2844.     EAknsMinorQsnCpClockDigitalAhFourMaskSoft   = 0x4124,
  2845.     EAknsMinorQsnCpClockDigitalAhFiveMaskSoft   = 0x4125,
  2846.     EAknsMinorQsnCpClockDigitalAhSixMaskSoft    = 0x4126,
  2847.     EAknsMinorQsnCpClockDigitalAhSevenMaskSoft  = 0x4127,
  2848.     EAknsMinorQsnCpClockDigitalAhEightMaskSoft  = 0x4128,
  2849.     EAknsMinorQsnCpClockDigitalAhNineMaskSoft   = 0x4129,
  2850.     EAknsMinorQsnCpClockDigitalAhStopMaskSoft   = 0x412a,
  2851.     EAknsMinorQsnCpClockDigitalAhColonMaskSoft  = 0x412b,
  2852.     EAknsMinorQsnCpClockDigitalAhZeroMaskHard   = 0x4130,
  2853.     EAknsMinorQsnCpClockDigitalAhOneMaskHard    = 0x4131,
  2854.     EAknsMinorQsnCpClockDigitalAhTwoMaskHard    = 0x4132,
  2855.     EAknsMinorQsnCpClockDigitalAhThreeMaskHard  = 0x4133,
  2856.     EAknsMinorQsnCpClockDigitalAhFourMaskHard   = 0x4134,
  2857.     EAknsMinorQsnCpClockDigitalAhFiveMaskHard   = 0x4135,
  2858.     EAknsMinorQsnCpClockDigitalAhSixMaskHard    = 0x4136,
  2859.     EAknsMinorQsnCpClockDigitalAhSevenMaskHard  = 0x4137,
  2860.     EAknsMinorQsnCpClockDigitalAhEightMaskHard  = 0x4138,
  2861.     EAknsMinorQsnCpClockDigitalAhNineMaskHard   = 0x4139,
  2862.     EAknsMinorQsnCpClockDigitalAhStopMaskHard   = 0x413a,
  2863.     EAknsMinorQsnCpClockDigitalAhColonMaskHard  = 0x413b,
  2864.     EAknsMinorQsnCpClockDigitalNewZero          = 0x4210,
  2865.     EAknsMinorQsnCpClockDigitalNewOne           = 0x4211,
  2866.     EAknsMinorQsnCpClockDigitalNewTwo           = 0x4212,
  2867.     EAknsMinorQsnCpClockDigitalNewThree         = 0x4213,
  2868.     EAknsMinorQsnCpClockDigitalNewFour          = 0x4214,
  2869.     EAknsMinorQsnCpClockDigitalNewFive          = 0x4215,
  2870.     EAknsMinorQsnCpClockDigitalNewSix           = 0x4216,
  2871.     EAknsMinorQsnCpClockDigitalNewSeven         = 0x4217,
  2872.     EAknsMinorQsnCpClockDigitalNewEight         = 0x4218,
  2873.     EAknsMinorQsnCpClockDigitalNewNine          = 0x4219,
  2874.     EAknsMinorQsnCpClockDigitalNewStop          = 0x421a,
  2875.     EAknsMinorQsnCpClockDigitalNewColon         = 0x421b,
  2876.     EAknsMinorQsnCpClockDigitalNewZeroShape     = 0x4220,
  2877.     EAknsMinorQsnCpClockDigitalNewOneShape      = 0x4221,
  2878.     EAknsMinorQsnCpClockDigitalNewTwoShape      = 0x4222,
  2879.     EAknsMinorQsnCpClockDigitalNewThreeShape    = 0x4223,
  2880.     EAknsMinorQsnCpClockDigitalNewFourShape     = 0x4224,
  2881.     EAknsMinorQsnCpClockDigitalNewFiveShape     = 0x4225,
  2882.     EAknsMinorQsnCpClockDigitalNewSixShape      = 0x4226,
  2883.     EAknsMinorQsnCpClockDigitalNewSevenShape    = 0x4227,
  2884.     EAknsMinorQsnCpClockDigitalNewEightShape    = 0x4228,
  2885.     EAknsMinorQsnCpClockDigitalNewNineShape     = 0x4229,
  2886.     EAknsMinorQsnCpClockDigitalNewStopShape     = 0x422a,
  2887.     EAknsMinorQsnCpClockDigitalNewColonShape    = 0x422b,
  2888.     EAknsMinorQsnCpClockDigitalAhNewZero        = 0x4310,
  2889.     EAknsMinorQsnCpClockDigitalAhNewOne         = 0x4311,
  2890.     EAknsMinorQsnCpClockDigitalAhNewTwo         = 0x4312,
  2891.     EAknsMinorQsnCpClockDigitalAhNewThree       = 0x4313,
  2892.     EAknsMinorQsnCpClockDigitalAhNewFour        = 0x4314,
  2893.     EAknsMinorQsnCpClockDigitalAhNewFive        = 0x4315,
  2894.     EAknsMinorQsnCpClockDigitalAhNewSix         = 0x4316,
  2895.     EAknsMinorQsnCpClockDigitalAhNewSeven       = 0x4317,
  2896.     EAknsMinorQsnCpClockDigitalAhNewEight       = 0x4318,
  2897.     EAknsMinorQsnCpClockDigitalAhNewNine        = 0x4319,
  2898.     EAknsMinorQsnCpClockDigitalAhNewStop        = 0x431a,
  2899.     EAknsMinorQsnCpClockDigitalAhNewColon       = 0x431b,
  2900.     EAknsMinorQsnCpClockDigitalAhNewZeroShape   = 0x4320,
  2901.     EAknsMinorQsnCpClockDigitalAhNewOneShape    = 0x4321,
  2902.     EAknsMinorQsnCpClockDigitalAhNewTwoShape    = 0x4322,
  2903.     EAknsMinorQsnCpClockDigitalAhNewThreeShape  = 0x4323,
  2904.     EAknsMinorQsnCpClockDigitalAhNewFourShape   = 0x4324,
  2905.     EAknsMinorQsnCpClockDigitalAhNewFiveShape   = 0x4325,
  2906.     EAknsMinorQsnCpClockDigitalAhNewSixShape    = 0x4326,
  2907.     EAknsMinorQsnCpClockDigitalAhNewSevenShape  = 0x4327,
  2908.     EAknsMinorQsnCpClockDigitalAhNewEightShape  = 0x4328,
  2909.     EAknsMinorQsnCpClockDigitalAhNewNineShape   = 0x4329,
  2910.     EAknsMinorQsnCpClockDigitalAhNewStopShape   = 0x432a,
  2911.     EAknsMinorQsnCpClockDigitalAhNewColonShape  = 0x432b,
  2912.     EAknsMinorQsnFrNotepad                      = 0x5000,
  2913.     EAknsMinorQsnFrNotepadCornerTl              = 0x5001,
  2914.     EAknsMinorQsnFrNotepadCornerTr              = 0x5002,
  2915.     EAknsMinorQsnFrNotepadCornerBl              = 0x5003,
  2916.     EAknsMinorQsnFrNotepadCornerBr              = 0x5004,
  2917.     EAknsMinorQsnFrNotepadSideT                 = 0x5005,
  2918.     EAknsMinorQsnFrNotepadSideB                 = 0x5006,
  2919.     EAknsMinorQsnFrNotepadSideL                 = 0x5007,
  2920.     EAknsMinorQsnFrNotepadSideR                 = 0x5008,
  2921.     EAknsMinorQsnFrNotepadCenter                = 0x5009,
  2922.     EAknsMinorQsnFrNotepadCont                  = 0x5010,
  2923.     EAknsMinorQsnFrNotepadContCornerTl          = 0x5011,
  2924.     EAknsMinorQsnFrNotepadContCornerTr          = 0x5012,
  2925.     EAknsMinorQsnFrNotepadContCornerBl          = 0x5013,
  2926.     EAknsMinorQsnFrNotepadContCornerBr          = 0x5014,
  2927.     EAknsMinorQsnFrNotepadContSideT             = 0x5015,
  2928.     EAknsMinorQsnFrNotepadContSideB             = 0x5016,
  2929.     EAknsMinorQsnFrNotepadContSideL             = 0x5017,
  2930.     EAknsMinorQsnFrNotepadContSideR             = 0x5018,
  2931.     EAknsMinorQsnFrNotepadContCenter            = 0x5019,
  2932.     EAknsMinorQsnFrCalcPaper                    = 0x5100,
  2933.     EAknsMinorQsnFrCalcPaperCornerTl            = 0x5101,
  2934.     EAknsMinorQsnFrCalcPaperCornerTr            = 0x5102,
  2935.     EAknsMinorQsnFrCalcPaperCornerBl            = 0x5103,
  2936.     EAknsMinorQsnFrCalcPaperCornerBr            = 0x5104,
  2937.     EAknsMinorQsnFrCalcPaperSideT               = 0x5105,
  2938.     EAknsMinorQsnFrCalcPaperSideB               = 0x5106,
  2939.     EAknsMinorQsnFrCalcPaperSideL               = 0x5107,
  2940.     EAknsMinorQsnFrCalcPaperSideR               = 0x5108,
  2941.     EAknsMinorQsnFrCalcPaperCenter              = 0x5109,
  2942.     EAknsMinorQsnFrCalcDisplaySideL             = 0x5117,
  2943.     EAknsMinorQsnFrCalcDisplaySideR             = 0x5118,
  2944.     EAknsMinorQsnFrCalcDisplayCenter            = 0x5119,
  2945.     EAknsMinorQsnFrSelButton                    = 0x5200,
  2946.     EAknsMinorQsnFrSelButtonCornerTl            = 0x5201,
  2947.     EAknsMinorQsnFrSelButtonCornerTr            = 0x5202,
  2948.     EAknsMinorQsnFrSelButtonCornerBl            = 0x5203,
  2949.     EAknsMinorQsnFrSelButtonCornerBr            = 0x5204,
  2950.     EAknsMinorQsnFrSelButtonSideT               = 0x5205,
  2951.     EAknsMinorQsnFrSelButtonSideB               = 0x5206,
  2952.     EAknsMinorQsnFrSelButtonSideL               = 0x5207,
  2953.     EAknsMinorQsnFrSelButtonSideR               = 0x5208,
  2954.     EAknsMinorQsnFrSelButtonCenter              = 0x5209,
  2955.     EAknsMinorQsnFrPopupPreview                 = 0x5300,
  2956.     EAknsMinorQsnAnimGrid                       = 0x6000,
  2957. #line 643
  2958.     EAknsMinorQsnAnimList                       = 0x6001,
  2959.     EAknsMinorQsnAnimSetOptFoc                  = 0x6002
  2960.     };
  2961. #line 662
  2962. enum TAknsMinorAvkonValue
  2963.     {
  2964.     EAknsMinorQgnIndiScrollUpMask       = 0x106,
  2965.     EAknsMinorQgnIndiScrollDownMask     = 0x107,
  2966.     EAknsMinorQgnIndiSignalStrength     = 0x24,
  2967.     EAknsMinorQgnIndiBatteryStrength    = 0x26,
  2968.     EAknsMinorQgnIndiNoSignal           = 0x1d6,
  2969.     EAknsMinorQgnIndiFindGlass          = 0x4c,
  2970.     EAknsMinorQgnPropCheckboxOff        = 0x7a,
  2971.     EAknsMinorQgnPropCheckboxOn         = 0x78,
  2972.     EAknsMinorQgnPropFolderSmall        = 0x86,
  2973.     EAknsMinorQgnPropGroupSmall         = 0x80,
  2974.     EAknsMinorQgnPropRadiobuttOff       = 0x7e,
  2975.     EAknsMinorQgnPropRadiobuttOn        = 0x7c,
  2976.     EAknsMinorQgnPropFolderLarge        = 0x8a,
  2977.     EAknsMinorQgnPropFolderMedium       = 0x88,
  2978.     EAknsMinorQgnPropGroupLarge         = 0x84,
  2979.     EAknsMinorQgnPropGroupMedium        = 0x82,
  2980.     EAknsMinorQgnPropUnsupportedFile    = 0x1020,
  2981.     EAknsMinorQgnPropFolderGms          = 0x1021,
  2982.     EAknsMinorQgnPropFmgrFileGame       = 0x1030,
  2983.     EAknsMinorQgnPropFmgrFileOther      = 0x1031,
  2984.     EAknsMinorQgnPropFolderCurrent      = 0x1040,
  2985.     EAknsMinorQgnPropFolderSubSmall     = 0x1041,
  2986.     EAknsMinorQgnPropFolderAppsMedium   = 0x1042,
  2987.     EAknsMinorQgnMenuFolderApps         = 0x1042,
  2988.     EAknsMinorQgnPropFolderSubMedium    = 0x1043,
  2989.     EAknsMinorQgnPropFolderImages       = 0x1044,
  2990.     EAknsMinorQgnPropFolderMmsTemp      = 0x1045,
  2991.     EAknsMinorQgnPropFolderSounds       = 0x1046,
  2992.     EAknsMinorQgnPropFolderSubLarge     = 0x1047,
  2993.     EAknsMinorQgnPropFolderVideo        = 0x1048,
  2994.     EAknsMinorQgnPropImFrom             = 0x1050,
  2995.     EAknsMinorQgnPropImTome             = 0x1051,
  2996.     EAknsMinorQgnPropNrtypAddress       = 0x90,
  2997.     EAknsMinorQgnPropNrtypCompAddress   = 0x1100,
  2998.     EAknsMinorQgnPropNrtypHomeAddress   = 0x1101,
  2999.     EAknsMinorQgnPropNrtypDate          = 0x1102,
  3000.     EAknsMinorQgnPropNrtypEmail         = 0x92,
  3001.     EAknsMinorQgnPropNrtypFax           = 0x94,
  3002.     EAknsMinorQgnPropNrtypMobile        = 0x98,
  3003.     EAknsMinorQgnPropNrtypNote          = 0x9a,
  3004.     EAknsMinorQgnPropNrtypPager         = 0x9c,
  3005.     EAknsMinorQgnPropNrtypPhone         = 0x9e,
  3006.     EAknsMinorQgnPropNrtypTone          = 0x1103,
  3007.     EAknsMinorQgnPropNrtypUrl           = 0xa0,
  3008.     EAknsMinorQgnIndiSubmenu            = 0x1ce,
  3009.     EAknsMinorQgnIndiOnimageAudio       = 0x1060,
  3010.     EAknsMinorQgnPropFolderDigital      = 0x1070,
  3011.     EAknsMinorQgnPropFolderSimple       = 0x1071,
  3012.     EAknsMinorQgnPropFolderPres         = 0x1072,
  3013.     EAknsMinorQgnPropFileVideo          = 0x1080,
  3014.     EAknsMinorQgnPropFileAudio          = 0x1081,
  3015.     EAknsMinorQgnPropFileRam            = 0x1082,
  3016.     EAknsMinorQgnPropFilePlaylist       = 0x1083,
  3017.     EAknsMinorQgnPropWmlFolderLinkSeamless = 0x10a0,
  3018.     EAknsMinorQgnIndiFindGoto           = 0x228,
  3019.     EAknsMinorQgnGrafTab21              = 0x0,
  3020.     EAknsMinorQgnGrafTab22              = 0x2,
  3021.     EAknsMinorQgnGrafTab31              = 0x4,
  3022.     EAknsMinorQgnGrafTab32              = 0x6,
  3023.     EAknsMinorQgnGrafTab33              = 0x8,
  3024.     EAknsMinorQgnGrafTab41              = 0xa,
  3025.     EAknsMinorQgnGrafTab42              = 0xc,
  3026.     EAknsMinorQgnGrafTab43              = 0xe,
  3027.     EAknsMinorQgnGrafTab44              = 0x10,
  3028.     EAknsMinorQgnGrafTabLong21          = 0x12,
  3029.     EAknsMinorQgnGrafTabLong22          = 0x14,
  3030.     EAknsMinorQgnGrafTabLong31          = 0x16,
  3031.     EAknsMinorQgnGrafTabLong32          = 0x18,
  3032.     EAknsMinorQgnGrafTabLong33          = 0x1a,
  3033.     EAknsMinorQgnPropFolderTab1         = 0x1300,
  3034.     EAknsMinorQgnPropFolderHelpTab1     = 0x1301,
  3035.     EAknsMinorQgnPropHelpOpenTab1       = 0x130b,
  3036.     EAknsMinorQgnPropFolderImageTab1    = 0x1302,
  3037.     EAknsMinorQgnPropFolderMessageTab1  = 0x1303,
  3038.     EAknsMinorQgnPropFolderMessageAttachTab1 = 0x1304,
  3039.     EAknsMinorQgnPropFolderMessageAudioTab1 = 0x1305,
  3040.     EAknsMinorQgnPropFolderMessageObjectTab1 = 0x1306,
  3041.     EAknsMinorQgnPropNoteListAlphaTab2  = 0x1307,
  3042.     EAknsMinorQgnPropListKeywordTab2    = 0x130c,
  3043.     EAknsMinorQgnPropNoteListTimeTab2   = 0x1308,
  3044.     EAknsMinorQgnPropMceDocTab4         = 0x1309,
  3045.     EAknsMinorQgnPropFolderTab          = 0x130a,
  3046.     EAknsMinorQgnPropListKeywordArabicTab2 = 0x1900,
  3047.     EAknsMinorQgnPropListKeywordHebrewTab2 = 0x1901,
  3048.     EAknsMinorQgnPropNoteListAlphaArabicTab2 = 0x1910,
  3049.     EAknsMinorQgnPropNoteListAlphaHebrewTab2 = 0x1911,
  3050.     EAknsMinorQgnPropBtAudio            = 0x1b7,
  3051.     EAknsMinorQgnPropBtUnknown          = 0x118,