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

Symbian

开发平台:

C/C++

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