S60UIExampleInitialView.inc
上传用户:laixiong
上传日期:2007-03-11
资源大小:2994k
文件大小:1156k
源码类别:
Symbian
开发平台:
C/C++
- __declspec(dllexport) virtual void CEikServSecureData_Reserved2();
- private:
- TInt iCEikServSecureData_Reserved1;
- };
- #line 26 "C:\Symbian\9.1\S60_3rd\epoc32\include\eiksrvs.h" /* stack depth 6 */
- class CDictionaryFileStore;
- const static TLitC<sizeof(L"!EikAppUiServer")/2> EIKAPPUI_SERVER_NAME={sizeof(L"!EikAppUiServer")/2-1,L"!EikAppUiServer"} ;
- const static TLitC<sizeof(L"EikAppUiServerThread")/2> EIKAPPUI_SERVER_THREAD_NAME={sizeof(L"EikAppUiServerThread")/2-1,L"EikAppUiServerThread"} ;
- const static TLitC<sizeof(L"EikAppUiServerStartSemaphore")/2> EIKAPPUI_SERVER_SEMAPHORE={sizeof(L"EikAppUiServerStartSemaphore")/2-1,L"EikAppUiServerStartSemaphore"} ;
- const TInt KEikSrvDefaultHeapSize=0x10000;
- const TInt KEikSrvDefaultMaxHeapSize=0x100000;
- enum TEikAppUiRanges
- {
- EFirstUnrestrictedOpcodeInEikAppUi
- };
- enum TEikUiOpCode
- {
- EEikAppUiFirst=EFirstUnrestrictedOpcodeInEikAppUi,
- EEikAppUiLaunchTaskList,
- EEikAppUiCycleTasks,
- EEikAppUiSetStatusPaneFlags,
- EEikAppUiSetStatusPaneLayout,
- EEikAppUiBlankScreen,
- EEikAppUiUnblankScreen,
- EEikAppUiResolveError,
- EEikAppUiExtension,
- EEikAppUiEnableTaskList,
- EEikAppUiFirstUnusedOpcode,
- };
- extern void PanicServer(TEikAppUiServPanic aPanic);
- #line 9 "C:\Symbian\9.1\S60_3rd\epoc32\include\eiksrvc.h" /* stack depth 5 */
- const TInt KNumConnectRetries=5;
- typedef TThreadFunction* (*EikSrvEntrypoint)();
- class REikAppUiSession : public RSessionBase
- {
- public:
- __declspec(dllexport) REikAppUiSession();
- __declspec(dllexport) TInt Connect();
- __declspec(dllexport) void Close();
- __declspec(dllexport) TVersion Version() const;
- __declspec(dllexport) void LaunchTaskList() const;
- __declspec(dllexport) void CycleTasks(TTaskCycleDirection aDirection) const;
- __declspec(dllexport) TInt SetStatusPaneFlags(TInt aFlags) const;
- __declspec(dllexport) TInt SetStatusPaneLayout(TInt aLayoutResId) const;
- __declspec(dllexport) TInt BlankScreen() const;
- __declspec(dllexport) TInt UnblankScreen() const;
- __declspec(dllexport) CEikonEnv::TErrorValidity ResolveError(TDes& aText,TInt aError,TUid aAppUid) const;
- __declspec(dllexport) void Extension(TUid aExtensionUid,const TDesC8& aBuffer,TRequestStatus& aRequestStatus) const;
- __declspec(dllexport) TInt GetInstalledFepName(TDes& aName) const;
- __declspec(dllexport) TInt SetInstalledFepName(const TDesC& aName, TBool aRaiseFileError) const;
- __declspec(dllexport) CColorList* GetSystemColorsL() const;
- __declspec(dllexport) void SetSystemColorsL(const CColorList& aColorList) const;
- __declspec(dllexport) TInt OpenFepAttributes() const;
- __declspec(dllexport) TInt GetFepAttribute(TUid aAttribUid, TDes8& aAttribData) const;
- __declspec(dllexport) TInt SetFepAttribute(TUid aAttribUid, const TDesC8& aAttribData) const;
- __declspec(dllexport) TInt CommitFepAttributes() const;
- __declspec(dllexport) void CloseFepAttributes() const;
- __declspec(dllexport) TInt EnableTaskList() const;
- __declspec(dllexport) virtual void REikAppUiSession_Reserved1();
- __declspec(dllexport) virtual void REikAppUiSession_Reserved2();
- private:
- class CExtension;
- void StartServerL();
- private:
- RLibrary iNotUsed;
- private:
- CExtension* iExtension;
- };
- #line 68
- extern void PanicServer(TEikAppUiServPanic aPanic);
- #line 18 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikspmod.h" /* stack depth 4 */
- class TResourceReader;
- class CEikStatusPaneLayoutTree;
- class CEikonEnv;
- class CAknSgcClient;
- const TInt KEikStatusPaneDirectionBit = 0x04;
- const TInt KEikStatusPaneHiddenBit = 0x08;
- const TInt KEikStatusPaneInitInitializedBit = 0x80000000;
- typedef TUid TPaneId;
- class TEikStatusPaneInit
- {
- public:
- TEikStatusPaneInit();
- TEikStatusPaneInit(const TEikStatusPaneInit& aCopy);
- TEikStatusPaneInit& operator=(const TEikStatusPaneInit& aCopy);
- inline TPaneId Id() const;
- void LoadDefaults(TResourceReader& aResource);
- inline TBool AppOwned() const;
- inline TInt ControlTypeId() const;
- inline TInt ControlResourceId() const;
- inline void SetHidden();
- inline void ClearHidden();
- inline TBool IsHidden() const;
- private:
- inline TBool Initialized();
- inline void SetInitialized();
- private:
- TPaneId iId;
- TInt iControlId;
- TInt iControlResource;
- TInt iFlags;
- };
- class CEikStatusPaneSetInit : public CArrayFixFlat<TEikStatusPaneInit>
- {
- public:
- static CEikStatusPaneSetInit* NewL();
- ~CEikStatusPaneSetInit();
- void LoadDefaultsL(TResourceReader& aResource);
- TEikStatusPaneInit& FindL(const TPaneId& aPaneId);
- private:
- CEikStatusPaneSetInit();
- };
- class MEikStatusPaneLayoutTreeVisitor
- {
- public:
- virtual void VisitL(CEikStatusPaneLayoutTree* aNode) = 0;
- };
- class CEikStatusPaneLayoutTree : public CBase
- {
- public:
- enum TDirection
- {
- EHorizontal,
- EVertical
- };
- public:
- ~CEikStatusPaneLayoutTree();
- static CEikStatusPaneLayoutTree* NewL(TResourceReader& aResource, TDirection aDefaultDirection = EHorizontal);
- CEikStatusPaneLayoutTree* Find(const TPaneId& aPaneId);
- void AcceptL(MEikStatusPaneLayoutTreeVisitor* aVisitor);
- inline TPaneId Id() const;
- inline TRect Rect() const;
- private:
- CEikStatusPaneLayoutTree(TDirection aDefaultDirection);
- void ConstructL(TResourceReader& aResource);
- void SetRect(const TRect& aRect);
- inline TDirection Direction();
- void SetDirection(TDirection aDirection);
- inline TInt Size();
- inline TBool Stretchable();
- void SetStretchable(TBool aStretchable);
- void Layout();
- #line 130
- void Layout(TInt aLayoutResourceId);
- #line 143
- TRect AknLayoutRect(TInt aLayoutResourceId, TPaneId aPaneId);
- #line 153
- void SetAknLayoutUsed(TBool aAknLayoutUsed);
- #line 163
- TBool AknLayoutUsed();
- private:
- TPaneId iId;
- TInt iFlags;
- TRect iRect;
- TInt iSize;
- typedef CArrayPtrFlat<CEikStatusPaneLayoutTree> CSubPaneArray;
- CSubPaneArray* iSubPanes;
- private:
- friend class CEikStatusPaneLayout;
- };
- class CEikStatusPaneLayout : public CBase
- {
- public:
- static CEikStatusPaneLayout* NewL(TResourceReader& aResource, const TRect& aScreenRect);
- static CEikStatusPaneLayout* NewL(TResourceReader& aResource, const TRect& aScreenRect, TInt aLayoutId);
- ~CEikStatusPaneLayout();
- inline CEikStatusPaneLayoutTree* Find(const TPaneId& aPaneId) const;
- inline void AcceptL(MEikStatusPaneLayoutTreeVisitor* aVisitor);
- inline TRect Rect() const;
- #line 198
- void AknLayoutRefresh(TInt aLayoutResourceId);
- #line 209
- TBool AknLayoutUsed();
- private:
- CEikStatusPaneLayout();
- void ConstructL(TResourceReader& aResource, const TRect& aScreenRect, TInt aLayoutId);
- private:
- CEikStatusPaneLayoutTree* iRoot;
- };
- class CEikStatusPaneModelBase : public CBase
- {
- public:
- __declspec(dllexport) ~CEikStatusPaneModelBase();
- inline CEikStatusPaneSetInit* PaneInits() const;
- __declspec(dllexport) virtual void SetLayoutL(TInt aLayoutResId, TBool aChangeStatusPaneNow = ETrue);
- inline CEikStatusPaneLayout* CurrentLayout() const;
- __declspec(dllexport) TInt CurrentLayoutResId() const;
- #line 238
- void AknLayoutRefresh();
- #line 250
- TBool AknLayoutUsed(TInt aLayoutId);
- protected:
- class CIdLayoutPair : public CBase
- {
- public:
- CIdLayoutPair(TInt aResId, CEikStatusPaneLayout* aLayout);
- ~CIdLayoutPair();
- public:
- TInt iResId;
- CEikStatusPaneLayout* iLayout;
- };
- typedef CArrayPtrFlat<CIdLayoutPair> CLayoutIdSet;
- typedef CArrayFixFlat<TInt> CIdSet;
- protected:
- __declspec(dllexport) CEikStatusPaneModelBase(CEikonEnv& aEikEnv);
- __declspec(dllexport) void BaseConstructL(TInt aCoreResId);
- __declspec(dllexport) CEikStatusPaneLayout* LoadLayoutL(TInt aLayoutResId);
- inline CIdSet* LegalIds() const;
- TBool IsLegalId(TInt aLayoutResId) const;
- private:
- CEikStatusPaneLayout* Layout(TInt aLayoutResId);
- void CheckLayoutL(CEikStatusPaneLayout* aLayout);
- private:
- __declspec(dllexport) virtual void Reserved_1();
- private:
- class TLayoutChecker : public MEikStatusPaneLayoutTreeVisitor
- {
- public:
- TLayoutChecker(CEikStatusPaneSetInit* aPanes);
- void VisitL(CEikStatusPaneLayoutTree* aNode);
- private:
- CEikStatusPaneSetInit* iPanes;
- };
- protected:
- CLayoutIdSet* iLayouts;
- TInt iCurrentResId;
- CEikonEnv& iEikEnv;
- private:
- CEikStatusPaneSetInit* iPanes;
- CEikStatusPaneLayout* iCurrentLayout;
- CIdSet* iLegalIds;
- };
- class CEikAppStatusPaneModel : public CEikStatusPaneModelBase
- {
- public:
- static CEikAppStatusPaneModel* NewL(CEikonEnv& aEikEnv, TInt aCoreResId, TInt aAppResId = 0 , TBool aChangeStatusPaneNow = ETrue);
- ~CEikAppStatusPaneModel();
- void ApplyCurrentLayoutL();
- public:
- void SetLayoutL(TInt aLayoutResId, TBool aChangeStatusPaneNow = ETrue);
- public:
- void SetLayoutL(TInt aLayoutResId, TBool aChangeStatusPaneNow, TBool aNotfiyServerSide);
- private:
- CEikAppStatusPaneModel(CEikonEnv& aEikEnv);
- void ConstructL(TInt aCoreResId, TInt aAppResId, TBool aChangeStatusPaneNow = ETrue);
- };
- inline TPaneId TEikStatusPaneInit::Id() const { return iId; }
- inline TBool TEikStatusPaneInit::AppOwned() const { return iFlags & 1 ; }
- inline TInt TEikStatusPaneInit::ControlTypeId() const { return iControlId; }
- inline TInt TEikStatusPaneInit::ControlResourceId() const { return iControlResource; }
- inline void TEikStatusPaneInit::SetHidden() {iFlags|=KEikStatusPaneHiddenBit;}
- inline void TEikStatusPaneInit::ClearHidden() {iFlags&=~KEikStatusPaneHiddenBit;}
- inline TBool TEikStatusPaneInit::IsHidden() const {return iFlags&KEikStatusPaneHiddenBit;}
- inline CEikStatusPaneLayoutTree* CEikStatusPaneLayout::Find(const TPaneId& aPaneId) const { return iRoot->Find(aPaneId); }
- inline void CEikStatusPaneLayout::AcceptL(MEikStatusPaneLayoutTreeVisitor* aVisitor) { iRoot->AcceptL(aVisitor); }
- inline TRect CEikStatusPaneLayout::Rect() const { return iRoot->Rect(); }
- inline TPaneId CEikStatusPaneLayoutTree::Id() const { return iId; }
- inline TRect CEikStatusPaneLayoutTree::Rect() const { return iRect; }
- inline CEikStatusPaneSetInit* CEikStatusPaneModelBase::PaneInits() const { return iPanes; }
- inline CEikStatusPaneLayout* CEikStatusPaneModelBase::CurrentLayout() const { return iCurrentLayout; }
- inline CEikStatusPaneModelBase::CIdSet* CEikStatusPaneModelBase::LegalIds() const { return iLegalIds; }
- #line 10 "C:\Symbian\9.1\S60_3rd\epoc32\include\Eikspane.h" /* stack depth 3 */
- #line 21
- class CCoeBrushAndPenContext;
- class CEikStatusPaneContainer;
- class TEikStatusPaneSyncDrawer;
- class CEikStatusPaneBaseExtension;
- class CAknStatuspaneClearer;
- const TInt KStatusPaneCapsPresentBit = 1;
- const TInt KStatusPaneCapsAppOwnedBit = 2;
- const TInt KStatusPaneCapsInCurrentLayoutBit = 4;
- #line 38
- class MEikStatusPaneObserver
- {
- public:
- virtual void HandleStatusPaneSizeChange() = 0;
- };
- class CEikStatusPaneBase : public CBase
- {
- public:
- class TPaneCapabilities
- {
- public:
- TPaneCapabilities();
- inline TBool IsPresent() const;
- inline TBool IsAppOwned() const;
- inline TBool IsInCurrentLayout() const;
- private:
- inline void SetPresent();
- inline void SetAppOwned();
- inline void SetInCurrentLayout();
- private:
- TInt iFlags;
- private:
- friend class CEikStatusPaneBase;
- };
- public:
- __declspec(dllexport) ~CEikStatusPaneBase();
- __declspec(dllexport) static CEikStatusPaneBase* Current();
- inline void SetObserver(MEikStatusPaneObserver* aObserver);
- __declspec(dllexport) void ReduceRect(TRect& aBoundingRect) const;
- __declspec(dllexport) void GetShapeL(TRegion& aRegion, TBool aIncludeAppPanes, TBool aIncludeServerPanes) const;
- __declspec(dllexport) virtual void SwitchLayoutL(TInt aLayoutResourceId);
- __declspec(dllexport) virtual void MakeVisible(TBool aVisible);
- __declspec(dllexport) virtual void SetDimmed(TBool aDimmed);
- __declspec(dllexport) virtual void SetFaded(TBool aFaded);
- __declspec(dllexport) virtual void HandleResourceChange(TInt aType);
- __declspec(dllexport) virtual TBool OkToChangeStatusPaneNow();
- __declspec(dllexport) void SetFlags(TInt aFlags);
- __declspec(dllexport) TInt Flags() const;
- __declspec(dllexport) TBool IsVisible() const;
- __declspec(dllexport) TBool IsDimmed() const;
- __declspec(dllexport) TBool IsFaded() const;
- __declspec(dllexport) TPaneCapabilities PaneCapabilities(TPaneId aPaneId) const;
- __declspec(dllexport) TRect PaneRectL(TPaneId aPaneId) const;
- __declspec(dllexport) CCoeControl* ControlL(TPaneId aPaneId) const;
- __declspec(dllexport) CCoeControl* SwapControlL(TPaneId aPaneId, CCoeControl* aNewControl);
- __declspec(dllexport) CCoeControl* ContainerControlL(TPaneId aPaneId) const;
- inline RWindowGroup* WindowGroup() const;
- __declspec(dllexport) void DrawNow();
- __declspec(dllexport) TInt CurrentLayoutResId() const;
- protected:
- __declspec(dllexport) CEikStatusPaneBase(CEikonEnv& aEikEnv, RWindowGroup* aParent);
- __declspec(dllexport) void BaseConstructL(TInt aCoreResId);
- virtual CEikStatusPaneModelBase* CreateModelL(TInt aCoreResId) const = 0;
- void CreatePanesL();
- void CreatePaneL(const TEikStatusPaneInit& aPaneInit);
- CEikStatusPaneContainer* Find(TPaneId aPaneId) const;
- virtual TBool IsApp() const = 0;
- inline TRect Rect() const;
- enum TDrawCmd { ENoDraw, EDrawNow, EDrawDeferred };
- void DoDrawNow(TDrawCmd aDraw);
- CAknStatuspaneClearer* Clearer();
- __declspec(dllexport) void DisableClearer(TBool aDisabled);
- __declspec(dllexport) void CommonPrepareForAppExit();
- private:
- void DoSwitchLayoutL(TInt aLayoutResourceId, TDrawCmd aDraw);
- void ApplyLayoutL(CEikStatusPaneLayout* aLayout, TDrawCmd aDraw);
- void SetAllInvisible();
- void SetNotNeededInvisible();
- public:
- void ReportSizeChange();
- private:
- class TSetRectAndVisibility : public MEikStatusPaneLayoutTreeVisitor
- {
- public:
- TSetRectAndVisibility(TBool aIsApp, CEikStatusPaneBase* aStatusPane);
- void VisitL(CEikStatusPaneLayoutTree* aNode);
- private:
- TBool iIsApp;
- CEikStatusPaneBase* iStatusPane;
- };
- friend class TSetRectAndVisibility;
- private:
- void SetLastUsedResourceId(TInt aResourceId);
- TInt LastUsedResourceId();
- TInt ReadInitialUsedResourceIdL(TInt aCoreResId);
- TInt InitialUsedResourceId();
- TRect LargestBoundingRect(TRegion& aWholeRegion, TRegion& aRemovedRegion) const;
- protected:
- void SetInitialUsedResourceId(TInt aResourceId);
- protected:
- CEikonEnv& iEikEnv;
- CEikStatusPaneModelBase* iModel;
- TInt iFlags;
- private:
- typedef CArrayPtrFlat<CEikStatusPaneContainer> CContainerControls;
- CContainerControls* iControls;
- MEikStatusPaneObserver* iObserver;
- RWindowGroup* iParentWindowGroup;
- CEikStatusPaneBaseExtension* iExtension;
- };
- class CEikStatusPane : public CEikStatusPaneBase, public MCoeForegroundObserver
- {
- public:
- __declspec(dllexport) static CEikStatusPane* NewL(CEikonEnv& aEikEnv, RWindowGroup* aParent, TInt aCoreStatusPaneModelResId, TInt aAppStatusPaneModelResId=0 );
- __declspec(dllexport) ~CEikStatusPane();
- __declspec(dllexport) void ApplyCurrentSettingsL();
- __declspec(dllexport) void PrepareForAppExit();
- __declspec(dllexport) virtual void MakeVisible(TBool aVisible);
- __declspec(dllexport) virtual void SetDimmed(TBool aDimmed);
- __declspec(dllexport) virtual void SetFaded(TBool aFaded);
- __declspec(dllexport) virtual void HandleResourceChange(TInt aType);
- __declspec(dllexport) virtual TBool OkToChangeStatusPaneNow();
- private:
- CEikStatusPane(CEikonEnv& aEikEnv, RWindowGroup* aParent, TInt aAppStatusPaneModelId);
- void ConstructL(TInt aCoreStatusPaneModelResId);
- virtual CEikStatusPaneModelBase* CreateModelL(TInt aCoreResId) const;
- TBool IsApp() const;
- void ApplyCurrentFlags();
- void HideAppPanes(TBool aHide);
- private:
- void HandleGainingForeground();
- void HandleLosingForeground();
- private:
- TInt ReadInitialUsedResourceIdL(TInt aCoreResId, TInt aAppStatusPaneModelResId);
- void DoHandleLosingForegroundL();
- private:
- TInt iAppDeclId;
- TEikStatusPaneSyncDrawer* iSyncDrawer;
- TInt iSpare;
- };
- #line 216
- inline TBool CEikStatusPaneBase::TPaneCapabilities::IsPresent() const { return iFlags & KStatusPaneCapsPresentBit; }
- inline TBool CEikStatusPaneBase::TPaneCapabilities::IsAppOwned() const { return iFlags & KStatusPaneCapsAppOwnedBit; }
- inline TBool CEikStatusPaneBase::TPaneCapabilities::IsInCurrentLayout() const { return iFlags & KStatusPaneCapsInCurrentLayoutBit; }
- inline void CEikStatusPaneBase::SetObserver(MEikStatusPaneObserver* aObserver) { iObserver = aObserver; }
- inline TRect CEikStatusPaneBase::Rect() const { return iModel->CurrentLayout()->Rect(); }
- inline RWindowGroup* CEikStatusPaneBase::WindowGroup() const { return iParentWindowGroup; }
- #line 25 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknappui.h" /* stack depth 2 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikcba.h" /* stack depth 3 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikctgrp.h" /* stack depth 4 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikbctrl.h" /* stack depth 5 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\AknControl.h" /* stack depth 6 */
- #line 33
- class CAknControl : public CCoeControl
- {
- public:
- __declspec(dllexport) CAknControl();
- __declspec(dllexport) ~CAknControl();
- private:
- __declspec(dllexport) virtual void* ExtensionInterface( TUid aInterface );
- private:
- TInt iSpare[6];
- };
- #line 17 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikbctrl.h" /* stack depth 5 */
- class CEikBorderedControl : public CAknControl
- {
- public:
- __declspec(dllexport) CEikBorderedControl();
- __declspec(dllexport) CEikBorderedControl(const TGulBorder& aBorder);
- public:
- __declspec(dllexport) TBool HasBorder() const;
- __declspec(dllexport) void SetAdjacent(TInt aAdjacent);
- __declspec(dllexport) void GetColorUseListL(CArrayFix<TCoeColorUse>& aColorUseList) const;
- __declspec(dllexport) void HandleResourceChange(TInt aType);
- __declspec(dllexport) void HandlePointerEventL(const TPointerEvent& aPointerEvent);
- public:
- __declspec(dllexport) void SetBorder(TGulBorder::TBorderType aBorderType);
- __declspec(dllexport) void SetBorder(TInt aBorderType);
- __declspec(dllexport) TGulBorder Border() const;
- protected:
- __declspec(dllexport) void Draw(const TRect& aRect) const;
- __declspec(dllexport) void WriteInternalStateL(RWriteStream& aWriteStream) const;
- private:
- __declspec(dllexport) void* ExtensionInterface( TUid aInterface );
- protected:
- TGulBorder iBorder;
- private:
- TInt iSpare[2];
- };
- #line 10 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikctgrp.h" /* stack depth 4 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\lafpublc.h" /* stack depth 5 */
- #line 25
- const TInt KLafScrollBarButtonPositionMask = 0x00C0;
- struct SLafScrollButton
- {
- enum TType
- {
- ENudgeLeft,
- ENudgeUp,
- ENudgeRight,
- ENudgeDown,
- EPageLeft,
- EPageUp,
- EPageRight,
- EPageDown,
- EHome,
- ETop,
- EEnd,
- EBottom
- };
- };
- struct SLafScrollBar
- {
- enum TEikScrollBarFlags
- {
- EEikScrollBarDefaultBehaviour =0x0000,
- EEikScrollBarNoNudgeButtons =0x0001,
- EEikScrollBarHasPageButtons =0x0002,
- EEikScrollBarHasHomeEndButtons =0x0004,
- EEikScrollBarNoShaftOrThumb =0x0008,
- EEikScrollBarShaftButNoThumb =0x0010,
- EButtonsAtStartOfShaft =0x0040,
- EButtonsAtEndOfShaft =0x0080,
- EButtonsEitherSideOfShaft =EButtonsAtStartOfShaft|EButtonsAtEndOfShaft,
- ENoAutoDimming =0x0100
- };
- enum TOrientation
- {
- EVertical,
- EHorizontal
- };
- };
- struct SLafListBox
- {
- enum TFlags
- {
- EMultipleSelection = 0x0001,
- ENoExtendedSelection = 0x0002,
- EIncrementalMatching = 0x0004,
- EPopout = 0x0008,
- ELeftDownInViewRect = 0x0010,
- EItemDoubleClicked = 0x0020,
- EKeepModel = 0x0040,
- EScrollBarSizeExcluded = 0x0080,
- EStateChanged = 0x0100,
- ECreateOwnWindow = 0x0200,
- ENoFirstLetterMatching = 0x0400,
- EPaintedSelection = 0x0800,
- ES60StyleMultiselection = 0x00010000,
- ES60StyleMarkable = 0x00020000
- };
- enum TListItemAttribute
- {
- ECurrent = 0x0001,
- EEmphasized = 0x0002,
- ESelected = 0x0004,
- EMask = 0x0007
- };
- enum TListItemFlags
- {
- EItemDrawMarkSelection = 0x0001,
- EItemPaintedSelection = 0x0002,
- EItemDrawOnlyActiveSelection = 0x0004
- };
- };
- struct SLafScrollThumb
- {
- enum TOrientation
- {
- EVertical,
- EHorizontal
- };
- };
- struct SLafScrollBarFrame
- {
- enum TScrollBarVisibility
- {
- EOff,
- EOn,
- EAuto
- };
- enum TScrollBarSide
- {
- EBottomOrRight,
- ETopOrLeft
- };
- enum TScrollBarManagement
- {
- EComponent,
- EFloating,
- EApplicationScrollBar
- };
- };
- struct SLafControlGroup
- {
- enum TStartCorner
- {
- EFromTopLeft=0x1,
- EFromTopRight=0x2,
- EFromBottomLeft=0x3,
- EFromBottomRight=0x4
- };
- enum TOrientation
- {
- ELayHorizontally=0x10,
- ELayVertically=0x20
- };
- };
- struct SLafButtonGroupContainer
- {
- enum TUse
- {
- EView,
- EDialog,
- EToolbar,
- ECba,
- EDialogButtons
- };
- enum TOrientation
- {
- EVertical,
- EHorizontal
- };
- enum TLocation
- {
- EInternal,
- EExternal
- };
- };
- struct SLafMenuBar
- {
- enum { ENominalTextLength = 40 };
- };
- struct SLafMenuPane
- {
- enum THighlightType
- {
- ENoHighlight,
- EDrawHighlight,
- ERemoveHighlight
- };
- };
- struct SLafButtonBase
- {
- enum TDrawState
- {
- EDrawClear =0x00,
- EDrawSet =0x01,
- EDrawIndeterminate =0x02,
- EDrawClearPressed =0x10,
- EDrawSetPressed =0x11,
- EDrawIndeterminatePressed =0x12
- };
- };
- #line 13 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikctgrp.h" /* stack depth 4 */
- class TEikGroupControl
- {
- public:
- inline TEikGroupControl();
- inline TEikGroupControl(CCoeControl* aControl,TInt aId,TInt aLength,TInt aFlags);
- public:
- CCoeControl* iControl;
- TInt iId;
- TInt iLongId;
- public:
- inline TBool IsLengthSet() const;
- inline TInt Length() const;
- inline TBool IsStretchable() const;
- inline void SetLength(TInt aLength);
- inline void SetStretchable();
- public:
- enum TControlFlags
- {
- ESetLength =0x01,
- EAllowStretch =0x02
- };
- private:
- TInt iLength;
- TInt iFlags;
- };
- class CEikControlGroup : public CEikBorderedControl
- {
- friend class CTestControlGroup;
- friend class CEikCba;
- public:
- enum TStartCorner
- {
- EFromTopLeft=SLafControlGroup::EFromTopLeft,
- EFromTopRight=SLafControlGroup::EFromTopRight,
- EFromBottomLeft=SLafControlGroup::EFromBottomLeft,
- EFromBottomRight=SLafControlGroup::EFromBottomRight
- };
- enum TOrientation
- {
- ELayHorizontally=SLafControlGroup::ELayHorizontally,
- ELayVertically =SLafControlGroup::ELayVertically
- };
- public:
- __declspec(dllexport) CEikControlGroup();
- __declspec(dllexport) ~CEikControlGroup();
- __declspec(dllexport) void ConstructL(TStartCorner aStart,TOrientation aOrientation);
- __declspec(dllexport) virtual void AddControlL(CCoeControl* aControl,TInt aId);
- __declspec(dllexport) virtual void AddControlL(TEikGroupControl& aGroupControl);
- __declspec(dllexport) void InsertControlL(TEikGroupControl& aGroupControl,TInt aIndex);
- __declspec(dllexport) void DeleteControl(TInt aIndex,TInt aCount);
- __declspec(dllexport) void SetLengthInPixels(TInt aLength);
- __declspec(dllexport) void SetBreadthInPixels(TInt aBreadth);
- __declspec(dllexport) void SetControlSpacing(TInt aHSpacing,TInt aVSpacing);
- __declspec(dllexport) void SetControlLayout(TStartCorner aStart,TOrientation aOrientation);
- __declspec(dllexport) void SetNumberOfLines(TInt aNumLines,TBool aDistributeEvenly);
- __declspec(dllexport) void SetControlsAllSameSize();
- __declspec(dllexport) void LayoutControls();
- __declspec(dllexport) CCoeControl* ControlById(TInt aId) const;
- __declspec(dllexport) TInt IndexById(TInt aId) const;
- __declspec(dllexport) void Reset();
- __declspec(dllexport) TInt ControlId(CCoeControl* aControl) const;
- __declspec(dllexport) CCoeControl* Control(TInt aIndex) const;
- __declspec(dllexport) CArrayFix<TEikGroupControl> * ControlArray() const;
- __declspec(dllexport) TOrientation Orientation() const;
- __declspec(dllexport) void ControlSpacing(TInt& aHSpacing,TInt& aVSpacing) const;
- public:
- __declspec(dllexport) TSize MinimumSize();
- __declspec(dllexport) TInt CountComponentControls() const;
- __declspec(dllexport) virtual void GetColorUseListL(CArrayFix<TCoeColorUse>& aColorUseList) const;
- __declspec(dllexport) virtual void HandleResourceChange(TInt aType);
- __declspec(dllexport) void HandlePointerEventL(const TPointerEvent& aPointerEvent);
- protected:
- enum
- {
- EDistributeEvenly =0x40,
- EAllSameSize =0x80
- };
- protected:
- __declspec(dllexport) CCoeControl* ComponentControl(TInt aIndex) const;
- __declspec(dllexport) void WriteInternalStateL(RWriteStream& aWriteStream) const;
- private:
- __declspec(dllexport) void Reserved_2();
- private:
- __declspec(dllexport) void* ExtensionInterface( TUid aInterface );
- private:
- __declspec(dllexport) TInt Adjacent(TInt aRow,TInt aColumn,TInt aCtrlIndex,TInt aTotalRows,TInt aTotalColumns) const;
- __declspec(dllexport) TStartCorner StartCorner() const;
- __declspec(dllexport) void DeleteAllComponents();
- __declspec(dllexport) TSize ControlMinimumSize(TInt aIndex) const;
- __declspec(dllexport) TInt ControlMinimumLength(TInt aIndex);
- __declspec(dllexport) TSize LargestControlSize() const;
- __declspec(dllexport) TBool DistributeEvenly() const;
- __declspec(dllexport) TBool AllSameSize();
- private:
- __declspec(dllexport) void SizeChanged();
- __declspec(dllexport) void Draw(const TRect& aRect) const;
- protected:
- CArrayFix<TEikGroupControl> * iControlArray;
- private:
- TInt iLayout;
- TInt iLines;
- TInt iHSpacing;
- TInt iVSpacing;
- TInt iBreadth;
- TInt iLength;
- TSize iLargestControl;
- };
- inline TEikGroupControl::TEikGroupControl()
- { iControl=0 ; iId=iFlags=iLength=0; }
- inline TEikGroupControl::TEikGroupControl(CCoeControl* aControl,TInt aId,TInt aLength,TInt aFlags)
- : iControl(aControl),iId(aId),iLength(aLength),iFlags(aFlags)
- {}
- inline TBool TEikGroupControl::IsLengthSet() const
- { return iFlags&ESetLength; }
- inline TInt TEikGroupControl::Length() const
- { return iLength; }
- inline TBool TEikGroupControl::IsStretchable() const
- { return iFlags&EAllowStretch; }
- inline void TEikGroupControl::SetLength(TInt aLength)
- { iLength=aLength; iFlags|=ESetLength; }
- inline void TEikGroupControl::SetStretchable()
- { iFlags|=EAllowStretch; }
- #line 10 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikcba.h" /* stack depth 3 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikbtgrp.h" /* stack depth 4 */
- #line 13
- class CCoeControl;
- class CEikCommandButton;
- class CFbsBitmap;
- class MEikButtonGroup
- {
- public:
- void Release();
- virtual void SetCommandL(TInt aPosition,TInt aCommandId,const TDesC* aText,const CFbsBitmap* aBitmap,const CFbsBitmap* aMask)=0;
- virtual void SetCommandL(TInt aPosition,TInt aResourceId)=0;
- virtual void SetCommandSetL(TInt aResourceId)=0;
- virtual void AddCommandL(TInt aPosition,TInt aCommandId,const TDesC* aText,const CFbsBitmap* aBitmap,const CFbsBitmap* aMask)=0;
- virtual void AddCommandToStackL(TInt aPosition,TInt aCommandId,const TDesC* aText,const CFbsBitmap* aBitmap,const CFbsBitmap* aMask)=0;
- virtual void AddCommandToStackL(TInt aPosition,TInt aResourceId)=0;
- virtual void AddCommandSetToStackL(TInt aResourceId)=0;
- virtual void SetDefaultCommand(TInt aCommandId)=0;
- virtual TSize CalcMinimumSizeL(TInt aResourceId)=0;
- virtual void RemoveCommandFromStack(TInt aPosition,TInt aCommandId)=0;
- virtual TInt CommandPos(TInt aCommandId) const=0;
- virtual void DimCommand(TInt aCommandId,TBool aDimmed)=0;
- virtual TBool IsCommandDimmed(TInt aCommandId) const=0;
- virtual void MakeCommandVisible(TInt aCommandId,TBool aVisible)=0;
- virtual TBool IsCommandVisible(TInt aCommandId) const=0;
- __declspec(dllexport) virtual void AnimateCommand(TInt aCommandId);
- virtual CCoeControl* AsControl()=0;
- virtual const CCoeControl* AsControl() const=0;
- virtual void SetBoundingRect(const TRect& aBoundingRect)=0;
- virtual void ReduceRect(TRect& aBoundingRect) const=0;
- virtual CCoeControl* GroupControlById(TInt aCommandId) const=0;
- virtual CEikCommandButton* GroupControlAsButton(TInt aCommandId) const=0;
- virtual TInt CommandId(TInt aCommandPos) const=0;
- virtual TInt ButtonCount() const=0;
- virtual TUint ButtonGroupFlags() const=0;
- private:
- __declspec(dllexport) void Reserved_1();
- };
- class MEikEnhancedButtonGroup : public MEikButtonGroup
- {
- public:
- __declspec(dllexport) virtual void OfferCommandListL(const RArray<TInt>& aCommandList)=0;
- __declspec(dllexport) virtual void OfferCommandListL(const TInt aResourceId)=0;
- __declspec(dllexport) virtual TBool IsCommandInGroup(const TInt aCommandId) const=0;
- __declspec(dllexport) virtual void ReplaceCommand(const TInt aCommandId, const TInt aResourceId)=0;
- };
- #line 18 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikcba.h" /* stack depth 3 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eiksbobs.h" /* stack depth 4 */
- #line 12
- enum TEikScrollEvent
- {
- EEikScrollLeft=1,
- EEikScrollUp,
- EEikScrollRight,
- EEikScrollDown,
- EEikScrollPageLeft,
- EEikScrollPageUp,
- EEikScrollPageRight,
- EEikScrollPageDown,
- EEikScrollHome,
- EEikScrollTop,
- EEikScrollEnd,
- EEikScrollBottom,
- EEikScrollThumbDragHoriz,
- EEikScrollThumbDragVert,
- EEikScrollThumbReleaseHoriz,
- EEikScrollThumbReleaseVert
- };
- class CEikScrollBar;
- class MEikScrollBarObserver
- {
- public:
- virtual void HandleScrollEventL(CEikScrollBar* aScrollBar, TEikScrollEvent aEventType)=0;
- };
- #line 22 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikcba.h" /* stack depth 3 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eiksbfrm.h" /* stack depth 4 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknscrlb.h" /* stack depth 5 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikscrlb.h" /* stack depth 6 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknscbut.h" /* stack depth 7 */
- #line 31
- class CAknScrollIndicator;
- class CAknScrollButton : public CAknControl
- {
- public:
- enum TType
- {
- ENudgeLeft,
- ENudgeUp,
- ENudgeRight,
- ENudgeDown,
- EPageLeft,
- EPageUp,
- EPageRight,
- EPageDown,
- EHome,
- ETop,
- EEnd,
- EBottom
- };
- public:
- enum TTypeOfScrollBar
- {
- ENormal =0x00,
- EArrowHead =0x01
- };
- public:
- __declspec(dllexport) static CAknScrollButton* NewL(TType aType);
- __declspec(dllexport) ~CAknScrollButton();
- __declspec(dllexport) TType Type() const;
- __declspec(dllexport) void CreateWindowOnlyForArrowsL(const CCoeControl* aParent);
- __declspec(dllexport) TBool IsNormalScrollBarUsingButton() const;
- __declspec(dllexport) void SetTypeOfScrollBarUsingButton(TTypeOfScrollBar aTypeOfScrollBar);
- __declspec(dllexport) void SetPosition(const TInt aFocusPosition, const TInt aScrollSpan);
- #line 138
- __declspec(dllexport) static CAknScrollButton* NewL(TType aType, TTypeOfScrollBar aTypeOfScrollBar);
- private:
- CAknScrollButton(TType aType);
- void ConstructL();
- void SizeChanged();
- void DrawIndicator() const;
- void ConstructL(TTypeOfScrollBar aTypeOfScrollBar);
- private:
- virtual void Draw(const TRect& aRect) const;
- private:
- friend class CAknScrollBar;
- TType iType;
- TInt iFlag;
- CAknScrollIndicator* iScrollIndicator;
- TRect iOldRect;
- };
- #line 18 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikscrlb.h" /* stack depth 6 */
- class CEikCba;
- class CAknDoubleSpanScrollIndicator;
- class CEikScrollBarExtensionImpl;
- class CEikScrollBarExtension;
- class CAknDoubleSpanScrollBarExtension;
- const TInt KEikScrollEventFromVBar=0;
- const TInt KEikScrollEventFromHBar=0x01;
- const TInt KEikScrollEventBarMask=0x01;
- const TInt KButtonPositionMask=KLafScrollBarButtonPositionMask;
- const TInt KDisplayComponentsMask=0x1f;
- class TEikScrollBarModel
- {
- public:
- inline TEikScrollBarModel();
- __declspec(dllexport) TEikScrollBarModel(TInt aScrollSpan,TInt aThumbSpan=0,TInt aThumbPosition=0);
- __declspec(dllexport) TBool operator==(const TEikScrollBarModel aModel) const;
- inline TBool operator!=(const TEikScrollBarModel aModel) const;
- public:
- __declspec(dllexport) TBool ScrollBarUseful() const;
- __declspec(dllexport) TInt MaxThumbPos() const;
- __declspec(dllexport) void CheckBounds();
- enum TEikScrollBarModelType
- {
- EEikScrollBarModel = 0x00000000,
- EAknDoubleSpanScrollBarModel = 0x80000000
- };
- TEikScrollBarModel::TEikScrollBarModelType ScrollBarModelType() const;
- public:
- TInt iScrollSpan;
- TInt iThumbSpan;
- TInt iThumbPosition;
- };
- inline TEikScrollBarModel::TEikScrollBarModel() {}
- inline TBool TEikScrollBarModel::operator!=(const TEikScrollBarModel aModel) const { return !(*this==aModel); }
- #line 81
- class TAknDoubleSpanScrollBarModel : public TEikScrollBarModel
- {
- public:
- __declspec(dllexport) TAknDoubleSpanScrollBarModel();
- #line 117
- __declspec(dllexport) TAknDoubleSpanScrollBarModel(const TEikScrollBarModel& aEikModel);
- #line 143
- __declspec(dllexport) void SetScrollSpan(TInt aValue);
- __declspec(dllexport) void SetFocusPosition(TInt aValue);
- __declspec(dllexport) void SetWindowSize(TInt aValue);
- __declspec(dllexport) void SetFieldSize(TInt aValue);
- __declspec(dllexport) void SetFieldPosition(TInt aValue);
- #line 162
- __declspec(dllexport) TInt ScrollSpan() const;
- __declspec(dllexport) TInt FocusPosition() const;
- __declspec(dllexport) TInt WindowSize() const;
- __declspec(dllexport) TInt FieldSize() const;
- __declspec(dllexport) TInt FieldPosition() const;
- #line 187
- static TBool ModelIsSupported();
- private:
- TUint16 Scale() const;
- #line 206
- void SetScale(TUint16 aScale);
- private:
- TInt16 ScrollSpanValue() const;
- TInt16 FocusPositionValue() const;
- TInt16 FieldPositionValue() const;
- TInt16 FieldSizeValue() const;
- TInt16 WindowSizeValue() const;
- #line 229
- void SetScrollSpanValue(TInt16 aValue);
- void SetFocusPositionValue(TInt16 aValue);
- void SetFieldPositionValue(TInt16 aValue);
- void SetFieldSizeValue(TInt16 aValue);
- void SetWindowSizeValue(TInt16 aValue);
- #line 242
- TInt16 LowBytes(TInt aInt) const;
- #line 251
- TInt16 HighBytes(TInt aInt) const;
- #line 261
- void SetLowBytes(TInt& aInt, TInt16 aValue);
- #line 270
- void SetHighBytes(TInt& aInt, TInt16 aValue);
- #line 281
- TInt16 PrepareScaledValue(TInt aNonScaledValue);
- #line 291
- void ReScale(TUint16 aNewScale);
- #line 301
- void SetScrollBarModelType(TEikScrollBarModelType aModelType);
- #line 312
- TInt CheckMinMaxValue(TInt aValue);
- };
- class CEikScrollThumb;
- class CEikScrollBarFrame;
- class CEikScrollBar : public CEikBorderedControl, public MCoeControlObserver
- {
- friend class CEikScrollBarExtension;
- friend class CAknDoubleSpanScrollBarExtension;
- public:
- enum TOrientation
- {
- EVertical = SLafScrollBar::EVertical,
- EHorizontal = SLafScrollBar::EHorizontal
- };
- enum TScrollBarType
- {
- ENormalScrollBar =0x0,
- EArrowHead =0x200,
- EDoubleSpan =0x400
- };
- enum TEikScrollBarFlags
- {
- EEikScrollBarDefaultBehaviour =SLafScrollBar::EEikScrollBarDefaultBehaviour,
- EEikScrollBarNoNudgeButtons =SLafScrollBar::EEikScrollBarNoNudgeButtons,
- EEikScrollBarHasPageButtons =SLafScrollBar::EEikScrollBarHasPageButtons,
- EEikScrollBarHasHomeEndButtons =SLafScrollBar::EEikScrollBarHasHomeEndButtons,
- EEikScrollBarNoShaftOrThumb =SLafScrollBar::EEikScrollBarNoShaftOrThumb,
- EEikScrollBarShaftButNoThumb =SLafScrollBar::EEikScrollBarShaftButNoThumb,
- EButtonsAtStartOfShaft =SLafScrollBar::EButtonsAtStartOfShaft,
- EButtonsAtEndOfShaft =SLafScrollBar::EButtonsAtEndOfShaft,
- EButtonsEitherSideOfShaft =SLafScrollBar::EButtonsEitherSideOfShaft,
- ENoAutoDimming =SLafScrollBar::ENoAutoDimming
- };
- typedef TEikScrollBarFlags TAknScrollBarFlags;
- public:
- __declspec(dllexport) ~CEikScrollBar();
- __declspec(dllexport) CEikScrollBar();
- public:
- __declspec(dllexport) virtual void ConstructL(MEikScrollBarObserver* aScrollBarObserver,const CCoeControl* aParent,
- TOrientation aOrientation,TInt aLength,TInt aScrollBarFlags=EEikScrollBarDefaultBehaviour);
- __declspec(dllexport) void SetLengthL(TInt aLength);
- __declspec(dllexport) void SetModelL(const TEikScrollBarModel* aModel);
- __declspec(dllexport) void SetModel(const TEikScrollBarModel* aModel);
- __declspec(dllexport) void SetLengthAndModelL(TInt aLength,const TEikScrollBarModel* aModel);
- __declspec(dllexport) void SetModelThumbPosition(TInt aThumbPos);
- __declspec(dllexport) void SetFocusPosToThumbPos(TInt aFocusPosition);
- __declspec(dllexport) static TInt DefaultScrollBarBreadth();
- #line 387
- void SetScrollBarObserver(MEikScrollBarObserver* aScrollBarObserver);
- inline const TEikScrollBarModel* Model() const;
- __declspec(dllexport) TInt ThumbPosition() const;
- __declspec(dllexport) TInt ScrollBarBreadth() const;
- __declspec(dllexport) static TInt MinVisibleLength(const TInt aScrollBarFlags);
- __declspec(dllexport) void SetDecreaseButtonsDimmed(TBool aDimmed);
- __declspec(dllexport) void SetIncreaseButtonsDimmed(TBool aDimmed);
- __declspec(dllexport) void SetAllButtonsDimmed(TBool aDimmed);
- inline CAknScrollButton* IncreaseNudgeButton() const;
- inline CAknScrollButton* DecreaseNudgeButton() const;
- __declspec(dllexport) void SetContainingCba(CEikCba* aCba);
- __declspec(dllexport) void MakeVisible(TBool aVisible);
- __declspec(dllexport) void HandlePointerEventL(const TPointerEvent& aPointerEvent);
- protected:
- __declspec(dllexport) CCoeControl* ComponentControl(TInt aIndex) const;
- __declspec(dllexport) TInt CountComponentControls() const;
- private:
- __declspec(dllexport) virtual void HandleControlEventL(CCoeControl* aControl, TCoeEvent aEventType);
- private:
- __declspec(dllexport) virtual void Reserved_2();
- private:
- __declspec(dllexport) void* ExtensionInterface( TUid aInterface );
- protected:
- friend class CEikScrollBarFrame;
- enum TPrivateScrollBarFlags
- {
- ENoComponentsToDisplay =0x10000,
- EIncreaseButtonsDimmed =0x20000,
- EDecreaseButtonsDimmed =0x40000
- };
- enum TPointerDownOn
- {
- ENone,
- EHomeButton,
- EDecreasePageButton,
- EDecreaseNudgeButton,
- EDecreaseShaft,
- EThumb,
- EIncreaseShaft,
- EIncreaseNudgeButton,
- EIncreasePageButton,
- EEndButton
- };
- enum TShaftRedrawRequired
- {
- ENoRedrawRequired,
- ERedrawShaft
- };
- enum TWhichButtons
- {
- EIncreaseOnly,
- EDecreaseOnly,
- EAll
- };
- struct SEikScrollBarButtons
- {
- CAknScrollButton* iDecreaseNudge;
- CAknScrollButton* iIncreaseNudge;
- };
- private:
- __declspec(dllexport) virtual void CreateButtonL(CAknScrollButton*& aButton,CAknScrollButton::TType aType);
- void SizeChanged();
- void DoSetModel(const TEikScrollBarModel* aModel);
- CEikCba* Cba() const;
- void AddExternalFrameL(CEikScrollBarFrame* aFrame);
- void RemoveExternalFrame(CEikScrollBarFrame* aFrame);
- void DisconnectExternalFrames();
- protected:
- void CreateRequiredComponentsL();
- void DestroyButton(CAknScrollButton*& aButton);
- __declspec(dllexport) virtual void SetButtonPositionL(CAknScrollButton* aButton);
- public:
- TScrollBarType ScrollBarType();
- public:
- TDblQueLink iSBLink;
- protected:
- SEikScrollBarButtons iButtons;
- TOrientation iOrientation;
- private:
- TEikScrollBarModel iModel;
- protected:
- CEikScrollBarExtensionImpl* iExtension;
- };
- #line 512
- class CEikArrowHeadScrollBar : public CEikScrollBar
- {
- public:
- __declspec(dllexport) CEikArrowHeadScrollBar(CCoeControl* aParentWindow);
- __declspec(dllexport) ~CEikArrowHeadScrollBar();
- public:
- __declspec(dllexport) void ConstructL(MEikScrollBarObserver* aScrollBarObserver,const CCoeControl* aParent,
- TOrientation aOrientation,TInt aLength,TInt aScrollBarFlags=EEikScrollBarDefaultBehaviour);
- public:
- __declspec(dllexport) void HandlePointerEventL(const TPointerEvent& aPointerEvent);
- private:
- void CreateButtonL(CAknScrollButton*& aButton,CAknScrollButton::TType aType);
- void SetButtonPositionL(CAknScrollButton* aButton);
- private:
- private:
- __declspec(dllexport) void* ExtensionInterface( TUid aInterface );
- private:
- CCoeControl* iParentControl;
- TInt iSpare;
- };
- #line 551
- class CAknDoubleSpanScrollBar : public CEikScrollBar
- {
- public:
- __declspec(dllexport) CAknDoubleSpanScrollBar(CCoeControl* aParentWindow);
- __declspec(dllexport) ~CAknDoubleSpanScrollBar();
- #line 565
- __declspec(dllexport) void SetFixedLayoutRect(TRect aScrollBarRect);
- #line 579
- __declspec(dllexport) void ConstructL(TBool aWindowOwning, MEikScrollBarObserver* aScrollBarObserver,const CCoeControl* aParent,
- TOrientation aOrientation,TInt aLength,TInt aScrollBarFlags=EEikScrollBarDefaultBehaviour);
- TRect FixedLayoutRect();
- public:
- __declspec(dllexport) void ConstructL(MEikScrollBarObserver* aScrollBarObserver,const CCoeControl* aParent,
- TOrientation aOrientation,TInt aLength,TInt aScrollBarFlags=EEikScrollBarDefaultBehaviour);
- __declspec(dllexport) void MakeVisible(TBool aVisible);
- public:
- __declspec(dllexport) void HandlePointerEventL(const TPointerEvent& aPointerEvent);
- protected:
- __declspec(dllexport) CCoeControl* ComponentControl(TInt aIndex) const;
- __declspec(dllexport) TInt CountComponentControls() const;
- private:
- __declspec(dllexport) void SizeChanged();
- private:
- __declspec(dllexport) void* ExtensionInterface( TUid aInterface );
- private:
- void CreateButtonL(CAknScrollButton*& aButton,CAknScrollButton::TType aType);
- void SetButtonPositionL(CAknScrollButton* aButton);
- #line 619
- void SetTransparentBackground(TBool aTransparentBackground);
- private:
- CCoeControl* iParentControl;
- TInt iSpare;
- };
- inline const TEikScrollBarModel* CEikScrollBar::Model() const
- { return &iModel; }
- inline CAknScrollButton* CEikScrollBar::IncreaseNudgeButton() const
- { return iButtons.iIncreaseNudge; }
- inline CAknScrollButton* CEikScrollBar::DecreaseNudgeButton() const
- { return iButtons.iDecreaseNudge; }
- #line 10 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknscrlb.h" /* stack depth 5 */
- #line 11 "C:\Symbian\9.1\S60_3rd\epoc32\include\eiksbfrm.h" /* stack depth 4 */
- class CEikCba;
- class TEikScrollBarFrameLayout
- {
- public:
- enum TTilingMode
- {
- EClientRectConstant,
- EInclusiveRectConstant
- };
- public:
- __declspec(dllexport) TEikScrollBarFrameLayout();
- __declspec(dllexport) void SetInclusiveMargin(TInt aMargin);
- __declspec(dllexport) void SetClientMargin(TInt aMargin);
- public:
- TMargins iInclusiveMargin;
- TMargins iClientMargin;
- TSize iClientAreaGranularity;
- TTilingMode iTilingMode;
- };
- class CEikCornerWindow;
- class CEikScrollBarFrameExtension;
- class CEikScrollBarFrame : public CBase
- {
- public:
- enum { ETypeId = 0x101F8672 };
- enum TScrollBarVisibility
- {
- EOff,
- EOn,
- EAuto
- };
- enum TScrollBarType
- {
- ENormalScrollBar =0x0,
- EArrowHead =0x200,
- EDoubleSpan =0x400
- };
- enum TScrollBarSide
- {
- EBottomOrRight =0x0,
- ETopOrLeft =0x800
- };
- enum TScrollBarManagement
- {
- EComponent ,
- EFloating ,
- EApplicationScrollBar
- };
- enum TScrollBarFrameFlags
- {
- EHVisible =0x01,
- EVVisible =0x02,
- };
- private:
- enum TMarginsAdjustmentMode
- {
- EGrow,
- EShrink
- };
- public:
- CEikScrollBarFrame(){}
- __declspec(dllexport) CEikScrollBarFrame(CCoeControl* aParentWindow, MEikScrollBarObserver* aObserver, TBool aPreAlloc=EFalse);
- __declspec(dllexport) ~CEikScrollBarFrame();
- CEikScrollBarFrame(CCoeControl* aParentWindow, MEikScrollBarObserver* aObserver, TBool aPreAlloc, TBool aDoubleSpan);
- void InitExtension(CCoeControl* aParentWindow, MEikScrollBarObserver* aObserver);
- __declspec(dllexport) void DrawScrollBarsNow() const;
- __declspec(dllexport) void SetScrollBarVisibilityL(TScrollBarVisibility aHVisibility, TScrollBarVisibility aVVisibility);
- #line 132
- inline TScrollBarVisibility VScrollBarVisibility() const;
- #line 141
- __declspec(dllexport) void SetScrollBarFrameObserver(MEikScrollBarObserver* aObserver);
- #line 153
- __declspec(dllexport) TBool Tile(TEikScrollBarModel* aVModel);
- #line 181
- __declspec(dllexport) TBool TileL(TEikScrollBarModel* aHModel, TEikScrollBarModel* aVModel,
- TRect& aClientRect, TRect& aInclusiveRect, const TEikScrollBarFrameLayout& aLayout);
- #line 196
- __declspec(dllexport) void MoveThumbsBy(TInt aDeltaX, TInt aDeltaY);
- #line 207
- __declspec(dllexport) void MoveHorizThumbTo(TInt aHorizThumbPos);
- #line 218
- __declspec(dllexport) void MoveVertThumbTo(TInt aVertThumbPos);
- #line 228
- __declspec(dllexport) void SetVFocusPosToThumbPos(TInt aFocusPosition);
- #line 237
- __declspec(dllexport) TInt ScrollBarBreadth(CEikScrollBar::TOrientation aOrientation) const;
- #line 246
- __declspec(dllexport) void SetAdjustsHorizontalModel(TBool aAdjusts);
- __declspec(dllexport) void SetAdjustsVerticalModel(TBool aAdjusts);
- #line 263
- inline void SetScrollBarFrameFlags(TInt aMask);
- #line 272
- __declspec(dllexport) TBool ScrollBarExists(CEikScrollBar::TOrientation aOrientation) const;
- #line 282
- __declspec(dllexport) TInt CountComponentControls() const;
- #line 291
- __declspec(dllexport) CCoeControl* ComponentControl(TInt aIndex) const;
- __declspec(dllexport) CEikScrollBar* GetScrollBarHandle(CEikScrollBar::TOrientation aOrientation) const;
- __declspec(dllexport) CEikScrollBar* VerticalScrollBar() const;
- #line 315
- __declspec(dllexport) void SetTypeOfHScrollBar(TScrollBarType aType);
- #line 324
- __declspec(dllexport) void SetTypeOfVScrollBar(TScrollBarType aType);
- __declspec(dllexport) TScrollBarType TypeOfHScrollBar() const;
- __declspec(dllexport) TScrollBarType TypeOfVScrollBar() const;
- __declspec(dllexport) TBool IsArrowHeadScrollBar(TInt aFlag) const;
- #line 356
- void DisconnectExternalScrollBar(CEikScrollBar* aScrollBar);
- #line 397
- __declspec(dllexport) void CreateDoubleSpanScrollBarsL(TBool aWindowOwning, TBool aRemote);
- #line 421
- __declspec(dllexport) void CreateDoubleSpanScrollBarsL(TBool aWindowOwning, TBool aRemote, TBool aVertical, TBool aHorizontal);
- #line 438
- __declspec(dllexport) void Tile(TEikScrollBarModel* aVModel, TRect& aVScrollBar);
- #line 448
- __declspec(dllexport) void Tile(TEikScrollBarModel* aHModel, TEikScrollBarModel* aVModel);
- #line 462
- __declspec(dllexport) TScrollBarVisibility ScrollBarVisibility(CEikScrollBar::TOrientation aOrientation) const;
- public:
- CEikScrollBar* HorizontalScrollBar() const;
- protected:
- void SetParentWindow(CCoeControl* aParentWindow);
- CCoeControl* ParentWindow() const;
- protected:
- struct SBarData
- {
- CEikScrollBar * iBar;
- TEikScrollBarModel iModel;
- TScrollBarVisibility iVisibility;
- TBool iExternalScrollBarAttached;
- };
- private:
- void CalcTheoreticalScrollBarVisibility(const TEikScrollBarModel* aVModel);
- void ApplyModel(SBarData& aSBar);
- void MakeSBarVisible(SBarData& aSBar, TBool aVisible);
- void GetScrollBars(TBool aDoubleSpan);
- CEikCba* GetCurrentCba();
- void DeleteScrollBars();
- void CreateArrowHeadScrollBarsL();
- void CalcTheoreticalScrollBarVisibility(const TEikScrollBarModel* aVModel, const TEikScrollBarModel* aHModel);
- protected:
- SBarData iV;
- private:
- CEikScrollBarFrameExtension* iExtension;
- TInt iScrollBarFrameFlags;
- friend class CEikScrollBarFrameExtension;
- };
- inline CEikScrollBarFrame::TScrollBarVisibility CEikScrollBarFrame::VScrollBarVisibility() const
- { return iV.iVisibility; }
- inline void CEikScrollBarFrame::SetScrollBarFrameFlags(TInt aMask)
- { iScrollBarFrameFlags|=aMask; }
- class CEikCbaScrollBarFrame : public CEikScrollBarFrame
- {
- public:
- CEikCbaScrollBarFrame(CCoeControl* aParentWindow, MEikScrollBarObserver* aObserver, TBool aPreAlloc=EFalse);
- void ConstructL();
- void SwitchToArrowHeadScrollBarL();
- };
- #line 26 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikcba.h" /* stack depth 3 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikimage.h" /* stack depth 4 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikalign.h" /* stack depth 5 */
- #line 23
- class CEikAlignedControl : public CAknControl
- {
- public:
- __declspec(dllexport) CEikAlignedControl();
- __declspec(dllexport) ~CEikAlignedControl();
- __declspec(dllexport) void SetAllMarginsTo(TInt aValue);
- __declspec(dllexport) void SetAlignment(TGulAlignmentValue aAlign);
- public:
- __declspec(dllexport) void HandlePointerEventL(const TPointerEvent& aPointerEvent);
- protected:
- __declspec(dllexport) void WriteInternalStateL(RWriteStream& aWriteStream) const;
- private:
- __declspec(dllexport) void* ExtensionInterface( TUid aInterface );
- public:
- TMargins8 iMargin;
- TGulAlignment iAlignment;
- private:
- TInt iSpare[2];
- };
- #line 10 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikimage.h" /* stack depth 4 */
- class CFbsBitmap;
- class CBitmapContext;
- class CEikImage : public CEikAlignedControl
- {
- public:
- __declspec(dllexport) CEikImage();
- __declspec(dllexport) ~CEikImage();
- public:
- __declspec(dllexport) TSize MinimumSize();
- __declspec(dllexport) void ConstructFromResourceL(TResourceReader& aReader);
- public:
- __declspec(dllexport) void CreatePictureFromFileL(const TDesC& aFilename,TInt aMainId,TInt aMaskId=-1);
- __declspec(dllexport) void SetPicture(const CFbsBitmap* aBitmap,const CFbsBitmap* aMaskBitmap=0 );
- __declspec(dllexport) void SetEmphasis(TBool aEmphasis);
- __declspec(dllexport) void SetPictureOwnedExternally(TBool aOwnership);
- __declspec(dllexport) const CFbsBitmap* Bitmap() const;
- __declspec(dllexport) const CFbsBitmap* Mask() const;
- __declspec(dllexport) void SetBitmap(const CFbsBitmap* aBitmap);
- __declspec(dllexport) void SetMask(const CFbsBitmap* aMaskBitmap);
- __declspec(dllexport) void SetNewBitmaps(const CFbsBitmap* aNewBitmap,const CFbsBitmap* aNewMask);
- __declspec(dllexport) TBool IsPictureOwnedExternally();
- __declspec(dllexport) void SetBrushStyle(CGraphicsContext::TBrushStyle aBrushStyle);
- public:
- __declspec(dllexport) void HandlePointerEventL(const TPointerEvent& aPointerEvent);
- protected:
- __declspec(dllexport) void WriteInternalStateL(RWriteStream& aWriteStream) const;
- private:
- __declspec(dllexport) void Draw(const TRect& aRect) const;
- __declspec(dllexport) void Reserved_2();
- private:
- __declspec(dllexport) void* ExtensionInterface( TUid aInterface );
- private:
- const CFbsBitmap* iBitmap;
- const CFbsBitmap* iMaskBitmap;
- TInt iImFlags;
- TInt iSpare;
- CGraphicsContext::TBrushStyle iBrushStyle;
- };
- #line 29 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikcba.h" /* stack depth 3 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\akncontrol.h" /* stack depth 4 */
- #line 30 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikcba.h" /* stack depth 3 */
- class CEikLabel;
- class CEikCbaButton;
- class CCoeBrushAndPenContext;
- class MEikCommandObserver;
- class TCoeColorUse;
- class CEikScrollBar ;
- class TEikScrollBarModel;
- class CEikCbaExtension;
- class CEikEnhancedCbaButton;
- class TAknsItemID;
- class CEikCommandTable;
- const TInt KMaxCbaLabelLength = 32;
- const TInt KMaxButtonsInCommandTable = 4;
- class CEikCba : public CEikControlGroup, public MEikEnhancedButtonGroup, public MEikScrollBarObserver
- {
- public:
- enum { ETypeId = 0x101F4105 };
- static CEikCba* NewL(const CEikCba* aPrevious,MEikCommandObserver* aCommandObserver,RWindowGroup* aParentWg);
- static CEikCba* NewL(TInt aResourceId,const CEikCba* aPrevious,MEikCommandObserver* aCommandObserver,RWindowGroup* aParentWg);
- static CEikCba* NewLC(const CEikCba* aPrevious,MEikCommandObserver* aCommandObserver,RWindowGroup* aParentWg);
- static CEikCba* NewLC(TInt aResourceId,const CEikCba* aPrevious,MEikCommandObserver* aCommandObserver,RWindowGroup* aParentWg);
- ~CEikCba();
- public:
- TInt MaxCommands() const;
- void UpdateCbaLabels(TBool aScrollerOn);
- void SetSBFrameObserver(MEikScrollBarObserver* aObserver);
- void SetScrollBarModelL(TEikScrollBarModel* aModel);
- const CEikCbaScrollBarFrame* ScrollBarFrame() const;
- CEikScrollBar * VScrollBarAsControl();
- void CreateArrowHeadScrollBarL();
- public:
- void InsertControlL(TEikGroupControl& aGroupControl,TInt aIndex);
- public:
- void SetCommandL(TInt aPosition,TInt aCommandId,const TDesC* aText,const CFbsBitmap* aBitmap,const CFbsBitmap* aMask);
- void SetCommandL(TInt aPosition,TInt aResourceId);
- void SetCommandSetL(TInt aResourceId);
- void AddCommandL(TInt aPosition,TInt aCommandId,const TDesC* aText,const CFbsBitmap* aBitmap,const CFbsBitmap* aMask);
- void AddCommandToStackL(TInt aPosition,TInt aCommandId,const TDesC* aText,const CFbsBitmap* aBitmap,const CFbsBitmap* aMask);
- void AddCommandToStackL(TInt aPosition,TInt aResourceId);
- void AddCommandSetToStackL(TInt aResourceId);
- void SetDefaultCommand(TInt aCommandId);
- TSize CalcMinimumSizeL(TInt aResourceId);
- void RemoveCommandFromStack(TInt aPosition,TInt aCommandId);
- TInt CommandPos(TInt aCommandId) const;
- void DimCommand(TInt aCommandId,TBool aDimmed);
- TBool IsCommandDimmed(TInt aCommandId) const;
- void MakeCommandVisible(TInt aCommandId,TBool aVisible);
- TBool IsCommandVisible(TInt aCommandId) const;
- void AnimateCommand(TInt aCommandId);
- CCoeControl* AsControl();
- const CCoeControl* AsControl() const;
- void SetBoundingRect(const TRect& aBoundingRect);
- void ReduceRect(TRect& aBoundingRect) const;
- CCoeControl* GroupControlById(TInt aCommandId);
- CCoeControl* GroupControlById(TInt aCommandId) const;
- TInt CommandId(TInt aCommandPos) const;
- TInt ButtonCount() const;
- void RemovePreviousCommand(TInt aPosition);
- CEikCommandButton* GroupControlAsButton(TInt aCommandId) const ;
- TUint ButtonGroupFlags() const ;
- __declspec(dllexport) void SetButtonGroupFlags(TInt aFlags);
- #line 126
- __declspec(dllexport) void SetSkinBackgroundId(const TAknsItemID& aIID);
- public:
- virtual void Reserved_MtsmPosition();
- virtual void Reserved_MtsmObject();
- public:
- TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
- TSize MinimumSize();
- void GetColorUseListL(CArrayFix<TCoeColorUse>& aColorUseList) const;
- void HandleResourceChange(TInt aType);
- void HandlePointerEventL(const TPointerEvent& aPointerEvent);
- public:
- __declspec(dllexport) void OfferCommandListL(const RArray<TInt>& aCommandList);
- __declspec(dllexport) void OfferCommandListL(const TInt aResourceId);
- __declspec(dllexport) TBool IsCommandInGroup(const TInt aCommandId) const;
- __declspec(dllexport) void ReplaceCommand(const TInt aCommandId, const TInt aResourceId);
- private:
- __declspec(dllexport) void* ExtensionInterface( TUid aInterface );
- protected:
- virtual void HandleScrollEventL(CEikScrollBar* aScrollBar,TEikScrollEvent aEventType);
- protected:
- TTypeUid::Ptr MopSupplyObject(TTypeUid aId);
- void Draw(const TRect& aRect) const;
- private:
- CEikCba(const CEikCba* aPrevious,MEikCommandObserver* aCommandObserver,RWindowGroup* aParentWg);
- void BaseConstructL();
- void ConstructL(TInt aResourceId);
- void ConstructFromResourceL(TResourceReader& aReader);
- CEikCbaButton* ButtonById(TInt aCommandId) const;
- void CreateScrollBarFrameL();
- void InsertScrollBarL();
- TEikGroupControl VScrollBarAsGroupControl();
- void CheckSkinAndUpdateContext();
- TInt AknLayoutFlags() const;
- void SizeChangedInControlPane();
- void SizeChangedInStaconPane();
- void UpdateFonts();
- private:
- void SizeChanged();
- private:
- TUint iCbaFlags;
- const CEikCba* iLink;
- CCoeBrushAndPenContext* iBrushAndPenContext;
- MEikCommandObserver* iCommandObserver;
- CEikCbaScrollBarFrame* iSBFrame;
- CEikCbaExtension* iExtension;
- RWindowGroup* iParentWg;
- CEikCommandTable* iCommandTable;
- };
- class CEikCbaButton : public CAknControl
- {
- public:
- struct SButtonOptions
- {
- TInt iCommandId;
- TBool iDimmed;
- };
- public:
- ~CEikCbaButton();
- void ConstructL(TGulAlignmentValue aAlignment);
- public:
- void AddCommandL(const TDesC& aText);
- void PushCommandL(TInt aCommandId,const TDesC& aText);
- TInt PopCommand();
- void RemoveCommand(TInt aCommandId);
- void RemovePreviousCommand();
- void SwitchToShortTextL(TBool aShortText);
- void SetLabelFont(const CFont* aLabelFont);
- void TruncateLabelText();
- public:
- void SetContainerWindowL(const CCoeControl& aContainer);
- void ConstructFromResourceL(TResourceReader& aReader, TGulAlignmentValue anAlignment);
- TSize MinimumSize();
- void SetDimmed(TBool aDimmed);
- __declspec(dllexport) void HandlePointerEventL(const TPointerEvent& aPointerEvent);
- public:
- void SetImage(CEikImage &aImage);
- void ReplaceImageByLabel();
- inline TBool IsImageOn() const {return iDoImage;};
- protected:
- TInt IndexFromCommandId(TInt aCommandId);
- void UpdateLabelText(TPtrC aLabelText);
- private:
- TInt CountComponentControls() const;
- CCoeControl* ComponentControl(TInt aIndex) const;
- void SizeChanged();
- private:
- __declspec(dllexport) void* ExtensionInterface( TUid aInterface );
- protected:
- TBuf<KMaxCbaLabelLength> iFullLabelText;
- TPtrC iLongLabelText;
- TPtrC iShortLabelText;
- CEikLabel* iLabel;
- CDesCArray* iText;
- CArrayFix<SButtonOptions> * iButtonOptions;
- CEikImage* iImage;
- TBool iDoImage;
- TInt iSpare;
- };
- class CEikEnhancedCbaButton : public CEikCbaButton
- {
- public:
- CEikEnhancedCbaButton();
- ~CEikEnhancedCbaButton();
- TInt CommandType() const;
- void SetCommandType(const TInt aCommandType);
- TInt CommandId() const;
- void ConstructFromResourceL(TResourceReader& aReader);
- void ConstructEmptyButtonL();
- TPtrC* LabelText();
- private:
- TInt iCommandType;
- TInt iCommandId;
- };
- #line 322
- class CEikCommandTable : public CBase
- {
- public:
- static CEikCommandTable* NewL();
- static CEikCommandTable* NewLC();
- ~CEikCommandTable();
- TInt AddCommandL(CEikEnhancedCbaButton* aButton);
- TBool IsCommandPlaced(const TInt aCommandId) const;
- void ReplaceCommandL(const TInt aCommandId, const TInt aResourceId);
- CEikEnhancedCbaButton* Command(const TInt aCommandIndex);
- void Reset();
- private:
- CEikCommandTable();
- void ConstructL();
- private:
- TFixedArray<CEikEnhancedCbaButton*, KMaxButtonsInCommandTable> iCommandButtons;
- RArray< RArray<TInt> > iPriorities;
- };
- #line 26 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknappui.h" /* stack depth 2 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\avkon.hrh" /* stack depth 3 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikon.hrh" /* stack depth 4 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\lafpublc.hrh" /* stack depth 5 */
- #line 23
- enum TLafReferenceButtonGroupControls
- {
- ELafBgCba=100
- };
- #line 6 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikon.hrh" /* stack depth 4 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikcolor.hrh" /* stack depth 5 */
- #line 8 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikon.hrh" /* stack depth 4 */
- #line 86
- enum TAknEditorNumericKeymap
- {
- EAknEditorStandardNumberModeKeymap,
- EAknEditorPlainNumberModeKeymap,
- EAknEditorCalculatorNumberModeKeymap,
- EAknEditorConverterNumberModeKeymap,
- EAknEditorToFieldNumberModeKeymap,
- EAknEditorFixedDiallingNumberModeKeymap,
- EAknEditorSATNumberModeKeymap,
- EAknEditorSATHiddenNumberModeKeymap,
- EAknEditorAlphanumericNumberModeKeymap,
- EAknEditorReservedInternalUseKeymap = 100
- };
- #line 175
- enum EEikLabelStandardFont
- {
- EEikLabelFontNormal,
- EEikLabelFontLegend,
- EEikLabelFontAnnotation
- };
- #line 436
- enum TEikStockControls
- {
- EEikCtCommandButton,
- EEikCtLabeledButton,
- EEikCtEdwin,
- EEikCtRichTextEditor,
- EEikCtSecretEd,
- EEikCtCheckBox,
- EEikCtChoiceList,
- EEikCtOptionButton,
- EEikCtHorOptionButList,
- EEikCtFileNameSel,
- EEikCtFileNameEd,
- EEikCtFolderNameSel,
- EEikCtFolderNameEd,
- EEikCtDriveNameSel,
- EEikCtListBox,
- EEikCtCharMap,
- EEikCtCharEd,
- EEikCtImage,
- EEikCtImageArray,
- EEikCtLabel,
- EEikCtComboBox,
- EEikCtProgInfo,
- EEikCtFlPtEd,
- EEikCtFxPtEd,
- EEikCtTwipsEd,
- EEikCtNumberEditor,
- EEikCtRangeEditor,
- EEikCtTimeEditor,
- EEikCtDateEditor,
- EEikCtTimeAndDateEditor,
- EEikCtDurationEditor,
- EEikCtTimeOffsetEditor,
- EEikCtLatitudeEditor_Not_Supported,
- EEikCtLongitudeEditor_Not_Supported,
- EEikCtBorderPreview,
- EEikCtFontPreview,
- EEikCtGraySelector,
- EEikCtWorldSelector,
- EEikCtGlobalTextEditor,
- EEikCtSoundSelector,
- EEikCtClock,
- EEikCtPrintPreview,
- EEikCtMenuButton,
- EEikCtDirContentsListBox,
- EAknCtIpFieldEditor,
- EEikCtCalendar,
- EEikCtSpacer,
- EEikCtColListBox,
- EEikCtRangeRefEditor,
- EEikCtTextButton,
- EEikCtBitmapButton,
- EEikCtDialogToolBar,
- EEikCtFileBrowser,
- EEikCtFileNameLabel,
- EEikCtUnifiedFileSel,
- EEikCtTelephoneNumberEditor,
- EEikCtTwoPictureCommandButton,
- EEikCtInverterCommandButton,
- EEikCtScrollBar,
- EEikCtArrowHeadScrollBar
- };
- enum TEikStockButtonGroupControls
- {
- EEikBgToolBar,
- EEikBgButtonPanel,
- EEikBgCba
- };
- #line 923
- enum
- {
- EDialDlgButFreeDial=1,
- EDialDlgButDial,
- EDialDlgButDialOut,
- EFreeDialDlgButClear,
- EFreeDialDlgButRedial,
- EDialDlgEdwin1,
- EDialDlgEdwin2,
- EDialDlgEdwin3,
- EDialDlgEdwin4,
- EDialDlgEdwin5,
- EFreeDialDlgEdwin
- };
- #line 1082
- enum TEikProgressTextType
- {
- EEikProgressTextNone,
- EEikProgressTextPercentage,
- EEikProgressTextFraction
- };
- #line 1152
- enum
- {
- EEikCidImageType=1
- };
- enum
- {
- EEikPopupOnTop = 1100,
- EEikPopupGone
- };
- enum
- {
- EEikKeyLockEnabled = 1110,
- EEikKeyLockDisabled = 1111,
- EEikLeyLockDisabled = 1111,
- EEikKeyLockPowerKeyPressed
- };
- enum
- {
- EEikHeapFailSettingListId = 999
- };
- enum TEikCommandOperationTypes
- {
- EEikCommandTypeAnyCommand,
- EEikCommandTypeMenu,
- EEikCommandTypeOpenItem,
- EEikCommandTypeDeleteItem,
- EEikCommandTypeOperatesItem,
- EEikCommandTypeCreateItem,
- EEikCommandTypePositiveAnswer,
- EEikCommandTypeNegativeAnswer,
- EEikCommandTypeCancel,
- EEikCommandTypeExitOrBack,
- EEikCommandTypeExitApplication
- };
- #line 29 "C:\Symbian\9.1\S60_3rd\epoc32\include\avkon.hrh" /* stack depth 3 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknfontcategory.hrh" /* stack depth 4 */
- #line 37
- enum TAknFontCategory
- {
- EAknFontCategoryUndefined = 0 ,
- EAknFontCategoryPrimary = 1 ,
- EAknFontCategorySecondary = 2 ,
- EAknFontCategoryTitle = 3 ,
- EAknFontCategoryPrimarySmall = 4 ,
- EAknFontCategoryDigital = 5
- };
- #line 32 "C:\Symbian\9.1\S60_3rd\epoc32\include\avkon.hrh" /* stack depth 3 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknfontidoffsets.hrh" /* stack depth 4 */
- #line 34
- enum {EScalableFontIdOffset = (0x1000) };
- #line 33 "C:\Symbian\9.1\S60_3rd\epoc32\include\avkon.hrh" /* stack depth 3 */
- #line 164
- enum
- {
- EAknApplicationIconWidth = 42,
- EAknApplicationIconHeight = 29
- };
- #line 195
- enum
- {
- EAknDummyForProcessCommands=4000,
- EAknMarkAll,
- EAknUnmarkAll,
- EAknCmdHelp,
- EAknCmdAddToPinboard,
- EAknCmdFindPopupActivated,
- EAknCmdEditModeT9,
- EAknCmdEditModeMultitap,
- EAknCmdEditModeNumber,
- EAknCmdEditInsertNumber,
- EAknCmdEditInsertSymbol,
- EAknCmdInputLanguage,
- EAknCmdPredictiveTextCascade,
- EAknCmdT9PredictiveMatches,
- EAknCmdT9PredictiveInsertWord,
- EAknCmdT9PredictiveEditWord,
- EAknCmdT9PredictiveT9Off,
- EAknCmdMultitapPredictiveT9On,
- EAknCmdExit,
- EAknCmdEditTextMenu,
- EAknCmdEditListMenu,
- EAknCmdMark,
- EAknCmdUnmark,
- EAknCmdOpen,
- EChinFepCmdInstructions,
- EChinFepCmdModePinyin,
- EChinFepCmdModeZhuyin,
- EChinFepCmdModeStroke,
- EChinFepCmdModeLatinUpper,
- EChinFepCmdModeLatinLower,
- EChinFepCmdModeNumber,
- EChinFepCmdModeZhuyinFind,
- EChinFepCmdModeStrokeFind,
- EAknCmdEditModeArabicIndicNumber,
- EAknCmdEditModeAlpha,
- EAknCmdEditModeLatinText,
- EJapanFepCmdModeHiragana,
- EJapanFepCmdModeKatakana,
- EJapanFepCmdModePictographs,
- EJapanFepCmdModeFullWidth,
- EJapanFepCmdModeHalfWidth,
- EJapanFepCmdModePredictiveOn,
- EJapanFepCmdModePredictiveOff,
- EJapanFepCmdModeUserDic,
- EJapanFepCmdModeKutenCodeInput,
- EAknCmdEditInsertPictograph,
- EJapanFepCmdPredictiveTextCascade,
- EJapanFepCmdMultitapPredictiveT9On,
- EJapanFepCmdEditModeAlpha,
- EJapanFepCmdEditModeNumber,
- EAknCmdInputMethod,
- EChinFepCmdModeCangJie,
- EChinFepCmdModeCangJieOption,
- EAknCmdEditMenuSctSelected,
- EAknCmdEnd
- };
- enum
- {
- EAknSoftkeyOk = -2 ,
- EAknSoftkeyCancel = -1 ,
- EAknSoftkeySelect = -6 ,
- EAknSoftkeyOptions= 3000,
- EAknSoftkeyBack,
- EAknSoftkeyMark,
- EAknSoftkeyUnmark,
- EAknSoftkeyInsert,
- EAknSoftkeyYes,
- EAknSoftkeyNo,
- EAknSoftkeyDone,
- EAknSoftkeyClose,
- EAknSoftkeyExit,
- EAknSoftkeyClear,
- EAknSoftkeyUnlock,
- EAknSoftkeySave,
- EAknSoftkeyShow,
- EAknSoftkeyListen,
- EAknSoftkeyRead,
- EAknSoftkeySearch,
- EAknSoftkeyEmpty,
- EAknSoftkeyLock,
- EAknSoftkeyCall,
- EAknSoftkeyAgain,
- EAknSoftkeyQuit,
- EAknSoftkeyDetails,
- EAknSoftkeyNext,
- EAknSoftkeyOther,
- EAknSoftkeyEdit,
- EAknSoftkeyOpen,
- EAknSoftkeySend,
- EAknSoftkeyView
- };
- enum {
- EAknSoftkeyDummyUsedWithShortcuts = 3200
- };
- enum
- {
- EAknCBAFlagRespondWhenInvisible = 0x02
- };
- #line 342
- enum
- {
- EAknCtTest = 5699 ,
- EAknControlIdBase = 5700,
- EAknCtFormattedListBox,
- EAknCtSingleListBox,
- EAknCtSingleNumberListBox,
- EAknCtSingleHeadingListBox,
- EAknCtSingleGraphicListBox,
- EAknCtSingleGraphicHeadingListBox,
- EAknCtSingleNumberHeadingListBox,
- EAknCtSingleLargeListBox,
- EAknCtDoubleListBox,
- EAknCtDoubleNumberListBox,
- EAknCtDoubleTimeListBox,
- EAknCtDoubleLargeListBox,
- EAknCtDoubleGraphicListBox,
- EAknCtSettingListBox,
- EAknCtSettingNumberListBox,
- EAknCtSinglePopupMenuListBox,
- EAknCtSingleGraphicPopupMenuListBox,
- EAknCtSingleGraphicHeadingPopupMenuListBox,
- EAknCtMenuDoublePopupMenuListBox,
- EAknCtSinglePopupSubmenuListBox,
- EAknCtDoubleLargeGraphicPopupMenuListBox,
- EAknCtSingleHeadingPopupMenuListBox,
- EAknSetListBox,
- EAknFormGraphicListBox,
- EAknCtAppGrid,
- EAknCtPinbGrid,
- EAknCtQdialGrid,
- EAknCtCaleMonthGrid,
- EAknCtTitlePane,
- EAknCtContextPane,
- EAknCtNaviPane,
- EAknCtSignalPane,
- EAknCtBatteryPane,
- EAknCtIndicatorPane,
- EAknCtIdleContextPane,
- EAknCtNote,
- EAknCtQuery,
- EAknCtMultilineQuery,
- EAknCtPopupField,
- EAknCtPopupFieldText,
- EAknCtFormLabelEditor,
- EAknCtLAF,
- EAknCtPopupHeadingPane,
- EAknCtSearchField,
- EAknCtSettingPage,
- EAknCtVolumeControl,
- EAknCtSlider,
- EAknCtListQueryControl,
- EAknCtSpecialCharacterMap,
- EAknPhoneNumberEditor,
- EAknCtNumericSecretEditor,
- EAknCtPopupSettingList,
- EAknCtMessageQuery,
- EAknCtIntegerEdwin,
- EAknCtFloatingPointEdwin,
- EAknCtSelectionListFixedFind,
- EAknCtSelectionListPopupFind,
- EAknCtEmptyList,
- EAknCtDouble2GraphicListBox,
- EAknCtDouble2LargeListBox,
- EAknCtDouble2PopupMenuListBox,
- EAknCtSingle2GraphicListBox,
- EAknCtDouble2GraphicLargeListBox,
- EAknCtColourSelectionDialogNoneField,
- EAknCtColourSelectionDialogGrid,
- EAknCtListQuerySearchControl,
- EAknExtCtQuery,
- EAknExtCtMultilineQuery,
- EAknCtBitmapAnimation,
- EAknCtButton,
- EAknCtSingle2GraphicPopupMenuListBox,
- EAknCtDoubleGraphicPopupMenuListBox,
- EAknCtColourSelectionGridDialog,
- EAknCtLastControlId = 0x2000
- #line 489
- };
- enum
- {
- ENaviDecoratorControlNone,
- ENaviDecoratorControlTabGroup,
- ENaviDecoratorLabel,
- ENaviDecoratorImage,
- ENaviDecoratorToolTip
- };
- enum
- {
- EAknTabWidthWithTwoTabs = 36,
- EAknTabWidthWithTwoLongTabs = 74,
- EAknTabWidthWithThreeTabs = 22,
- EAknTabWidthWithThreeLongTabs = 67,
- EAknTabWidthWithFourTabs = 18,
- EAknTabWidthWithOneTab = 107
- };
- enum
- {
- EGeneralLayout = 1,
- EConfirmationLayout,
- EProgressLayout,
- ENoteWithImageLayout,
- ETextualNotificationLayout,
- ENotificationWithGraphicsLayout,
- EAknNoteControlAnimationCreationFailed,
- EWaitLayout
- };
- enum
- {
- EAknInvalidBorderCount = 1,
- EAknInvalidDimensionArrayOutOfBounds,
- EAknNoNoteControlDimensionDefined,
- EAknNoteControlNullArgumentUsed
- };
- enum EAknNoteItemType {
- EAknNoteNoType = 1,
- EAknNoteBitmap,
- EAknNoteNumberTypeIndication,
- EAknNoteProgressBar,
- EAknNoteLabel,
- EAknNoteAnimation
- };
- enum TNoteCtrlIds
- {
- EGeneralNote = 1
- };
- #line 562
- enum
- {
- EDataLayout=1,
- EConfirmationQueryLayout,
- ECodeLayout,
- ETimeLayout,
- EDateLayout,
- EListLayout,
- EMultiListLayout,
- EMultiLineDataLayout,
- EDurationLayout,
- ETextSoftNotification,
- ENumberLayout,
- EPinLayout,
- EPhoneLayout,
- EMessageQueryLayout,
- EStaticSizeDataLayout,
- EFloatingPointLayout,
- EIpLayout,
- EFixedPointLayout,
- EDataLayoutAllowEmptyInput
- };
- enum
- {
- ETextEditor=1,
- ESecretEditor,
- ETimeEditor,
- EDateEditor,
- ENumberEditor,
- EDurationEditor,
- EIpEditor,
- EFixedPointEditor
- };
- enum EAknMultilineDataLayout
- {
- EMultiDataFirstEdwin = 1,
- EMultiDataSecondEdwin,
- EMultiDataFirstSecEd,
- EMultiDataSecondSecEd,
- EMultiDataFirstTimeEd,
- EMultiDataSecondTimeEd,
- EMultiDataFirstDateEd,
- EMultiDataSecondDateEd,
- EMultiDataFirstDurEd,
- EMultiDataSecondDurEd,
- EMultiDataFirstPhoneEd,
- EMultiDataSecondPhoneEd,
- EMultiDataFirstNumEd,
- EMultiDataSecondNumEd,
- EMultiDataFirstPinEd,
- EMultiDataSecondPinEd,
- EMultiDataFirstIpEd,
- EMultiDataSecondIpEd
- };
- enum TQueryCtrlIds
- {
- EGeneralQuery = 0x500,
- EMultilineFirstLine,
- EMultilineSecondLine
- };
- enum TListQueryCtrlIds
- {
- EListQueryMainInboxList = 1,
- EListQueryMainDraftList,
- EListQueryMainOutboxList,
- EListQueryAppViewLabel,
- EListQueryMsgEditField,
- EListQueryHeading,
- EListQueryControl
- };
- enum TSelectionListCtrlIds
- {
- ESelectionListControl = 1,
- EFindControl,
- EAknEmptyListControl,
- EAknListQueryMessageBox
- };
- enum
- {
- ELayoutNoCmd =1,
- ELayoutOptional,
- ELayoutRightSeparator,
- ELayoutTransparentCell,
- ELayoutItemMark,
- ELayoutNotFilled,
- ELayoutNotAlwaysDrawn
- };
- enum {
- ELayoutAlignNone,
- ELayoutAlignCenter,
- ELayoutAlignLeft,
- ELayoutAlignRight,
- ELayoutAlignBidi
- };
- enum
- {
- EAknEditorAlignNone = ELayoutAlignNone,
- EAknEditorAlignCenter = ELayoutAlignCenter,
- EAknEditorAlignLeft = ELayoutAlignLeft,
- EAknEditorAlignRight = ELayoutAlignRight,
- EAknEditorAlignBidi = ELayoutAlignBidi
- };
- enum
- {
- EAknEditorCharactersUpperCase = 0x1 ,
- EAknEditorCharactersLowerCase = 0x2 ,
- EAknEditorCharactersTextCase = 0x4
- };
- enum {
- EFontNone = 0,
- ELatinPlain12,
- ELatinBold12,
- ELatinBold13,
- ELatinBold17,
- ELatinBold19,
- ENumberPlain5,
- EClockBold30,
- ELatinClock14,
- EFontCustom,
- EPlain12,
- EPlain16,
- EApacPlain12 = EPlain12,
- EApacPlain16 = EPlain16,
- EBold18,
- EBold24,
- ELatinBold16,
- ECalcBold21,
- ECalcOperBold21,
- ECalcOperBold13,
- EHighestFixedLayoutFont = ((0x100-1))
- };
- enum TAknLogicalFontId
- {
- EAknLogicalFontPrimaryFont = ((0x100-1)) + 1 ,
- EAknLogicalFontSecondaryFont= ((0x100-1)) + 2 ,
- EAknLogicalFontTitleFont= ((0x100-1)) + 3 ,
- EAknLogicalFontPrimarySmallFont= ((0x100-1)) + 4 ,
- EAknLogicalFontDigitalFont= ((0x100-1)) + 5 ,
- EAknHighestLogicalFont = ((0x1000)-1)
- };
- enum
- {
- EAknLayoutFindPaneIconId = 1,
- EAknLayoutFindPaneEditorId,
- EAknLayoutMainPaneListGenPane,
- EAknLayoutMainPaneListGenPaneWithFindBox,
- EAknLayoutMainPaneFindPane,
- EAknListSinglePane,
- EAknListSingleNumberPane,
- EAknListSingleHeadingPane,
- EAknListSingleGraphicPane,
- EAknListSingleGraphicHeadingPane,
- EAknListSingleNumberHeadingPane,
- EAknListSingleLargeGraphicPane,
- EAknListDoubleNumberPane,
- EAknListDoubleTimePane,
- EAknListDoubleLargeGraphicPane,
- EAknListDoubleGraphicPane,
- EAknListSettingNumberPane,
- EAknLayoutFindPaneVShadow,
- EAknLayoutFindPaneHShadow,
- EAknLayoutFindPaneOutlineRect,
- EAknLayoutEmptyList1stLine,
- EAknLayoutEmptyList2ndLine
- };
- #line 782
- enum
- {
- EAknDialogQueryValueTextEditor1 = 1,
- EAknDialogQueryValueNumberEditor1,
- EAknDialogQueryValuePhoneEditor1,
- EAknDialogQueryValueTimeEditor1,
- EAknDialogQueryValueDateEditor1,
- EAknDialogQueryValueDurationEditor1,
- EAknFormQueryControl,
- EAknPopupFieldEmptyListNote
- };
- enum
- {
- EAknPopupSettingListFlagAllowsUserDefinedEntry = 0x001,
- EAknPopupSettingListFlagInitialised = 0x002
- };
- enum
- {
- EAknFormCmdEdit = 950,
- EAknFormCmdAdd,
- EAknFormCmdSave,
- EAknFormCmdLabel,
- EAknFormCmdDelete,
- EAknFormMaxDefault
- };
- enum
- {
- EAknFormSliderLayout1 =1,
- EAknFormSliderLayout2,
- EAknFormSliderLayout3,
- EAknSettingsItemSliderLayout,
- EAknSettingsItemSliderLayoutWithGraphics,
- EAknMIDPFormSliderLayout
- };
- enum
- {
- EAknSliderValueNone,
- EAknSliderValueBareFigure,
- EAknSliderValuePercentage,
- EAknSliderValueFraction,
- EAknSliderValueDecimal
- };
- enum
- {
- ESettingsVolumeControl,
- ENaviPaneVolumeControl,
- EPopupVolumeControl
- };
- enum
- {
- EAknIndicatorIrActive,
- EAknIndicatorEnvelope,
- EAknIndicatorEmailMessage,
- EAknIndicatorDataMessage,
- EAknIndicatorFaxMessage,
- EAknIndicatorOtherMessage,
- EAknIndicatorSecuredConnection,
- EAknIndicatorVoiceMailWaiting,
- EAknIndicatorVoiceMailWaitingOnLine1,
- EAknIndicatorVoiceMailWaitingOnLine2,
- EAknIndicatorVoiceMailWaitingOnBothLines,
- EAknIndicatorHomeZone,
- EAknIndicatorBluetooth,
- EAknIndicatorBluetoothModuleOn,
- EAknIndicatorOutbox,
- EAknIndicatorKeyguard,
- EAknIndicatorAllCallsForwarded,
- EAknIndicatorCallsForwardedOnLine1,
- EAknIndicatorCallsForwardedOnLine2,
- EAknIndicatorCallsForwardedOnBothLines,
- EAknIndicatorCallsForwardedToVoiceMailbox,
- EAknIndicatorSelectedLine,
- EAknIndicatorAlarmClock,
- EAknIndicatorHeadset,
- EAknIndicatorLoopset,
- EAknIndicatorIHFActive,
- EAknIndicatorInstantMessage,
- EAknIndicatorTTY,
- EAknIndicatorUSBConnection,
- EAknIndicatorMissedCalls,
- EAknIndicatorRemoteMailboxEmailMessage,
- EAknIndicatorLocation,
- EAknIndicatorHeadsetUnavailable,
- EAknIndicatorRoaming,
- EAknIndicatorLocationOn,
- EAknIndicatorLocationOff,
- EAknIndicatorPoC,
- EAknIndicatorWlanAvailable,
- EAknIndicatorWlanActive,
- EAknIndicatorWlanActiveSecure,
- EAknIndicatorCarkit,
- EAknIndicatorPoCDnD,
- EAknIndicatorPoCMissed,
- EAknIndicatorTvOut,
- EAknIndicatorVoIP,
- EAknIndicatorTARM,
- EAknIndicatorTARMModuleOn,
- EAknIndicatorMobileTV,
- EAknIndicatorMobileTVRec,
- EAknNaviPaneEditorIndicatorT9 = 100,
- EAknNaviPaneEditorIndicatorUpperCase,
- EAknNaviPaneEditorIndicatorLowerCase,
- EAknNaviPaneEditorIndicatorTextCase,
- EAknNaviPaneEditorIndicatorNumberCase,
- EAknNaviPaneEditorIndicatorQuery,
- EAknNaviPaneEditorIndicatorQwertyShift,
- EAknNaviPaneEditorIndicatorArabicCase = 130,
- EAknNaviPaneEditorIndicatorHebrewCase,
- EAknNaviPaneEditorIndicatorArabicIndicNumberCase,
- EAknNaviPaneEditorIndicatorDevanagariCase = 140,
- EAknNaviPaneEditorIndicatorDevanagariIndicNumberCase,
- EAknNaviPaneEditorIndicatorPinyin = 150,
- EAknNaviPaneEditorIndicatorZhuyin,
- EAknNaviPaneEditorIndicatorStroke,
- EAknNaviPaneEditorIndicatorZhuyinFind,
- EAknNaviPaneEditorIndicatorStrokeFind,
- EAknNaviPaneEditorIndicatorCangJie,
- EAknNaviPaneEditorIndicatorThai = 170,
- EAknNaviPaneEditorIndicatorStrokeTrad,
- EAknNaviPaneEditorIndicatorFarsiAndUrduCase,
- EAknNaviPaneEditorIndicatorAudioAttached = 200,
- EAknNaviPaneEditorIndicatorImageAttached,
- EAknNaviPaneEditorIndicatorObjects,
- EAknNaviPaneEditorIndicatorAttachment,
- EAknNaviPaneEditorIndicatorMessageLength,
- EAknNaviPaneEditorIndicatorMessageInfo,
- EAknNaviPaneEditorIndicatorWaitBar,
- EAknNaviPaneEditorIndicatorProgressBar,
- EAknNaviPaneEditorIndicatorSecuredConnection,
- EAknNaviPaneEditorIndicatorWmlWaitGlobe,
- EAknNaviPaneEditorIndicatorGprs,
- EAknNaviPaneEditorIndicatorFileSize,
- EAknNaviPaneEditorIndicatorWmlWindows,
- EAknNaviPaneEditorIndicatorMcePriorityHigh,
- EAknNaviPaneEditorIndicatorMcePriorityLow,
- EAknNaviPaneEditorIndicatorWmlWindowsText,
- EAknNaviPaneEditorIndicatorJapaneseHiraganaKanji = 300,
- EAknNaviPaneEditorIndicatorJapaneseHiragana,
- EAknNaviPaneEditorIndicatorJapaneseFullKatakana,
- EAknNaviPaneEditorIndicatorJapaneseHalfKatakana,
- EAknNaviPaneEditorIndicatorJapaneseFullUpperAlphabet,
- EAknNaviPaneEditorIndicatorJapaneseFullLowerAlphabet,
- EAknNaviPaneEditorIndicatorJapaneseFullTextAlphabet,
- EAknNaviPaneEditorIndicatorJapaneseFullNumeric,
- EAknNaviPaneEditorIndicatorVietnameseUpperCase = 400,
- EAknNaviPaneEditorIndicatorVietnameseLowerCase,
- EAknNaviPaneEditorIndicatorVietnameseTextCase
- };
- enum
- {
- EAknIndicatorStateOff,
- EAknIndicatorStateOn,
- EAknIndicatorStateAnimate
- };
- enum
- {
- EAknSignalGprsIndicatorOff = 0,
- EAknSignalGprsIndicatorAvailable,
- EAknSignalGprsIndicatorAttached,
- EAknSignalGprsIndicatorEstablishingContext,
- EAknSignalGprsIndicatorContext,
- EAknSignalGprsIndicatorSuspended,
- EAknSignalGprsIndicatorMultipdp,
- EAknSignalCommonPacketDataIndicatorOff = 0x100,
- EAknSignalCommonPacketDataIndicatorAvailable,
- EAknSignalCommonPacketDataIndicatorAttached,
- EAknSignalCommonPacketDataIndicatorEstablishingContext,
- EAknSignalCommonPacketDataIndicatorContext,
- EAknSignalCommonPacketDataIndicatorSuspended,
- EAknSignalCommonPacketDataIndicatorMultipdp,
- EAknSignalWcdmaIndicatorOff = 0x200,
- EAknSignalWcdmaIndicatorAvailable,
- EAknSignalWcdmaIndicatorAttached,
- EAknSignalWcdmaIndicatorEstablishingContext,
- EAknSignalWcdmaIndicatorContext,
- EAknSignalWcdmaIndicatorMultipdp,
- EAknSignalWcdmaIndicatorSuspended,
- EAknSignalCdmaIndicatorOff = 0x300,
- EAknSignalCdmaIndicatorNoService,
- EAknSignalCdmaIndicatorAvailable,
- EAknSignalCdmaIndicatorNotAvailable,
- EAknSignalCdmaIndicatorActive,
- EAknSignalCdmaIndicatorDormant,
- EAknSignalCdmaIndicatorSending,
- EAknSignalCdmaIndicatorReceiving,
- EAknSignalEdgeIndicatorOff = 0x400,
- EAknSignalEdgeIndicatorAvailable,
- EAknSignalEdgeIndicatorAttached,
- EAknSignalEdgeIndicatorEstablishingContext,
- EAknSignalEdgeIndicatorContext,
- EAknSignalEdgeIndicatorSuspended,
- EAknSignalEdgeIndicatorMultipdp
- };
- #line 1075
- enum
- {
- EAknSCTLowerCase,
- EAknSCTUpperCase,
- EAknSCTNumeric,
- EAknSCTFullCase,
- EAknSCTHalfCase,
- EAknSCTQwerty,
- EAknSCTChiChineseInputModes = EAknSCTUpperCase,
- EAknSCTChiLatinInputModes = EAknSCTLowerCase
- };
- #line 1095
- enum TSCTQueryCtrlIds
- {
- EAknSCTQueryHeadingId = 1,
- EAknSCTQueryContentId
- };
- enum TAvkonSKeyRepeatType
- {
- ESKeyTypeShort,
- ESKeyTypeLong,
- ESKeyTypeRepeat
- };
- enum TAvkonSystemSID
- {
- EAvkonSIDNoSound = 1000,
- EAvkonSIDDefaultSound = 1001,
- EAvkonSIDStandardKeyClick = 1002,
- EAvkonSIDConfirmationTone = 1003,
- EAvkonSIDInformationTone = 1003,
- EAvkonSIDWarningTone = 1004,
- EAvkonSIDErrorTone = 1005,
- EAvkonSIDVolumeMaxTone = 1006,
- EAvkonSIDVolumeMinTone = 1007,
- EAvkonSIDReadialCompleteTone = 1008,
- EAvkonSIDBatteryLowTone = 1009,
- EAvkonSIDChargingBatteryTone = 1010,
- EAvkonSIDConnectionStartTone = 1011,
- EAvkonSIDConnectionStopTone = 1012,
- EAvkonSIDOperationReadyTone = 1013,
- EAvkonSIDNameDiallerStartTone = 1014,
- EAvkonSIDNameDiallerErrorTone = 1015,
- EAvkonSIDNameDiallerAbortTone = 1016,
- EAvkonSIDPowerOffTone = 1017,
- EAvkonSIDPowerOnTone = 1018,
- EAvkonSIDRechargeBatteryTone = 1019,
- EAvkonSIDVoiceRecordingTone = 1020,
- EAvkonSIDVoiceRecordingStartTone = 1021,
- EAvkonSIDVoiceRecordingStopTone = 1022,
- EAvkonSIDWrongCharger = 1023,
- EAvkonSIDNetBusy = 1024,
- EAvkonSIDNetCallWaiting = 1025,
- EAvkonSIDNetReorder = 1026,
- EAvkonSIDNetCongestion = 1027,
- EAvkonSIDNetSpecialInformation = 1028,
- EAvkonSIDNetRadioNotAvailable = 1029,
- EAvkonSIDIHFActive = 1030,
- EAvkonSIDRadioPathAcknowledge = 1031,
- EAvkonSIDDial = 1032,
- EAvkonSIDRingGoing = 1033,
- EAvkonSIDLocationRequest = 1034
- };
- enum TAvkonSoundsPriority
- {
- EAvkonKeyClickPriority = 45,
- EAvkonPoweringTonesPriority = 50,
- EAvkonLowLevelNotesPriority = 55,
- EAvkonConfirmationNotePriority = 55,
- EAvkonVolumeSettingTonesPriority = 60,
- EAvkonConnectionTonesPriority = 65,
- EAvkonHighLevelNotesPriority = 70,
- EAvkonErrorNotePriority = 70,
- EAvkonWarningNotePriority = 70,
- EAvkonVoiceDiallingTonesPriority = 73,
- EAvkonNetworkingTonesPriority = 75,
- EAvkonRecordingTonesPriority = 80,
- EAvkonChargingTonesPriority = 85,
- EAvkonNewMessageTonesPriority = 90,
- EAvkonAlarmTonesPriority = 95,
- EAvkonRingingTonesPriority = 100
- };
- enum TAvkonSoundsPreference
- {
- EAknAudioPrefIncomingCall =0x01340001,
- EAknAudioPrefIncomingCallLine2 =0x01330001,
- EAknAudioPrefIncomingDataCall =0x01320001,
- EAknAudioPrefAutoRedialCompleted =0x01310001,
- EAknAudioPrefAlarmClock =0x01220001,
- EAknAudioPrefCalendarAlarm =0x01210001,
- EAknAudioPrefNewSMS =0x01120001,
- EAknAudioPrefNewSpecialMessage =0x01110001,
- EAknAudioPrefBatteryLow =0x01030001,
- EAknAudioPrefRechargeBattery =0x01020001,
- EAknAudioPrefWrongCharger =0x01010001,
- EAknAudioPrefVoiceRecStart =0x00930001,
- EAknAudioPrefVoiceRecRecording =0x00920001,
- EAknAudioPrefVoiceRecStop =0x00910001,
- EAknAudioPrefRadioPathAck =0x00890001,
- EAknAudioPrefDial =0x00880001,
- EAknAudioPrefRingGoing =0x00870001,
- EAknAudioPrefBusy =0x00860001,
- EAknAudioPrefCallWaiting =0x00850001,
- EAknAudioPrefReorder =0x00840001,
- EAknAudioPrefCongestion =0x00830001,
- EAknAudioPrefSpecialInformation =0x00820001,
- EAknAudioPrefRadioNotAvailable =0x00810001,
- EAknAudioPrefError =0x00720001,
- EAknAudioPrefWarning =0x00710001,
- EAknAudioPrefVoiceStarting =0x00630001,
- EAknAudioPrefVoiceError =0x00620001,
- EAknAudioPrefVoiceAbort =0x00610001,
- EAknAudioPrefConnectionStart =0x00530001,
- EAknAudioPrefConnectionStop =0x00520001,
- EAknAudioPrefOperationReady =0x00510001,
- EAknAudioPrefFilePreview =0x00440001,
- EAknAudioPrefAudioVolumeMin =0x00430001,
- EAknAudioPrefAudioVolumeMax =0x00420001,
- EAknAudioPrefIHFActive =0x00410001,
- EAknAudioPrefCharging =0x00330001,
- EAknAudioPrefConfirmation =0x00320001,
- EAknAudioPrefDefaultTone =0x00310001,
- EAknAudioPrefPowerOn =0x00220001,
- EAknAudioPrefPowerOff =0x00210001,
- EAknAudioPrefKeyPressNonDTMF =0x00140001,
- EAknAudioPrefKeyDownDTMF =0x00130001,
- EAknAudioPrefKeyUpDTMF =0x00120001,
- EAknAudioPrefCamera =0x00110001,
- EAknAudioPrefVoiceRec =0x00060001,
- EAknAudioPrefComposer =0x00050001,
- EAknAudioPrefRingFilePreview =0x00040001,
- EAknAudioPrefVocosPlayback =0x00030001,
- EAknAudioPrefVocosTrain =0x00020001,
- EAknAudioPrefVocosRecog =0x00010001,
- EAvkonKeyClickPreference = 0x00140001,
- EAvkonConfirmationNotePreference = 0x00320001,
- EAvkonErrorNotePreference = 0x00720001,
- EAvkonWarningNotePreference = 0x00710001
- };
- enum TMessageQueryCtrlIds
- {
- EAknMessageQueryHeaderId = 1,
- EAknMessageQueryContentId
- };
- #line 1286
- enum TAvkonIncallStatusBubbleFlags
- {
- EAknStatusBubbleAlerting = 0x00,
- EAknStatusBubbleActive = 0x01,
- EAknStatusBubbleOnHold = 0x02,
- EAknStatusBubbleDisconnected = 0x03,
- EAknStatusBubbleNoCiphering = 0x04,
- EAknStatusBubbleMuted = 0x08,
- EAknStatusBubbleVisible = 0x10,
- EAknStatusBubbleFax = 0x20,
- EAknStatusBubbleData = 0x40,
- EAknStatusBubbleDataHscsd = 0x80,
- EAknStatusBubbleLine2 = 0x100,
- EAknStatusBubbleVideo = 0x200,
- EAknStatusBubbleEmergency = 0x400,
- EAknStatusBubbleVoIP = 0x800,
- EAknStatusBubbleReservedInternal = 0x80000000
- };
- enum TAknNoteDialogTimeout
- {
- EAknNoteDialogUndefinedTimeout = 0,
- EAknNoteDialogShortTimeout = 1500000,
- EAknNoteDialogLongTimeout = 3000000,
- EAknConfirmationNoteTimeout = EAknNoteDialogShortTimeout,
- EAknInformationNoteTimeout = EAknNoteDialogLongTimeout,
- EAknErrorNoteTimeout = EAknNoteDialogLongTimeout,
- EAknWarningNoteTimeout = EAknNoteDialogLongTimeout
- };
- enum TAknNoteDialogTone
- {
- EAknNoteDialogNoTone = 0,
- EAknNoteDialogConfirmationTone = EAvkonSIDConfirmationTone,
- EAknNoteDialogWarningTone = EAvkonSIDWarningTone,
- EAknNoteDialogErrorTone = EAvkonSIDErrorTone
- };
- enum TAknSelectionListDialogFlags
- {
- EAknFlagFind = 0x0001
- };
- enum TAknIconArrayType
- {
- EAknIconArrayNone,
- EAknIconArraySimple,
- EAknIconArrayComplex
- };
- enum EVariantFlag
- {
- EEuropeanVariant=0,
- EApacVariant
- };
- enum ESubVariantFlag
- {
- ENoSubVariant = 0,
- EPrcSubVariant,
- EHongKongSubVariant,
- ETaiwanSubVariant
- };
- #line 1386
- enum TAknKeyBlockMode
- {
- EDefaultBlockMode=0,
- ENoKeyBlock
- };
- enum TAknSeparatorLinePosition
- {
- ENoLine,
- EAColumn,
- EABColumn,
- EBCColumn
- };
- enum TAknColourSelectionDialogIds {
- ECtrlGridType = 100,
- EColourGridPopup,
- EColourGridPopupNone
- };
- enum TAknCustomTextCursorIds
- {
- KAknCustomTextCursorIdLeftToRight = 0x101fdf03,
- KAknCustomTextCursorIdRightToLeft = 0x101fdf04,
- KAknCustomTextCursorIdLeftToRightThin = 0x101fe51c,
- KAknCustomTextCursorIdRightToLeftThin = 0x101fe51d
- };
- enum TAknNaviPaneBackgroundTypes
- {
- EAknNaviPaneBackgroundTypeNotDefined = 0,
- EAknNaviPaneBackgroundTypeWipe = 1,
- EAknNaviPaneBackgroundTypeSolid = 2
- };
- #line 27 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknappui.h" /* stack depth 2 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\akndef.h" /* stack depth 3 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\akndef.hrh" /* stack depth 4 */
- #line 30
- enum TAknUiZoom
- {
- EAknUiZoomAutomatic=-1,
- EAknUiZoomNormal,
- EAknUiZoomSmall,
- EAknUiZoomLarge,
- EAknUiZoomVerySmall,
- EAknUiZoomVeryLarge
- };
- #line 24 "C:\Symbian\9.1\S60_3rd\epoc32\include\akndef.h" /* stack depth 3 */
- class TVwsViewId;
- const TInt KEikMessageWindowsFadeChange =0x10006890;
- const TInt KEikMessageCaptionedControlEditableStateChange =0x10008E99;
- const TInt KEikMessageCaptionedControlNotEditableStateChange =0x10008E9A;
- const TInt KEikMessageCaptionedControlEditableStateChangeWideWithGraphic =0x101F5FBA;
- const TInt KEikMessageCaptionedControlEditableStateChangeWideWithoutGraphic =0x101F5FBB;
- const TInt KEikMessageCaptionedControlNotEditableStateChangeWideWithGraphic =0x101F5FBC;
- const TInt KEikMessageCaptionedControlNotEditableStateChangeWideWithoutGraphic =0x101F5FBD;
- const TInt KEikClearPartialForegroundState =0x101f54f4;
- const TInt KEikPartialForeground =0x101f6aab;
- const TInt KEikDynamicLayoutVariantSwitch = 0x101F8121;
- const TInt KEikDynamicLayoutVariantSwitch_APAC = 0x101F8124;
- const TInt KEikInputLanguageChange = 0x101F8519;
- const TInt KAknHardwareLayoutSwitch = 0x10202672;
- const TInt KAknDelayedLayoutSwitch = 0x102797FD;
- namespace AknDef
- {
- __declspec(dllexport) TInt GetPhoneIdleViewId(TVwsViewId& aViewId);
- }
- #line 28 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknappui.h" /* stack depth 2 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\AknTouchPaneObserver.h" /* stack depth 3 */
- #line 33
- class MAknTouchPaneObserver
- {
- public:
- virtual void HandleTouchPaneSizeChange() = 0;
- };
- #line 29 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknappui.h" /* stack depth 2 */
- class CEikButtonGroupContainer;
- class CAknAppShutter;
- class CAknAppUiExtension;
- class CAknWsEventMonitor;
- class CAknKeySoundSystem;
- class CAknAppUiBaseExtension;
- class CAknTouchPane;
- class CAknToolbar;
- #line 52
- class CAknAppUiBase : public CEikAppUi
- {
- private:
- friend class CAknAppUi;
- enum
- {
- EAppOrientationSpecifiedFlag = 0x00010000,
- EAppOrientationLandscapeFlag = 0x00020000,
- EAppOrientationAutomaticFlag = 0x00040000,
- EAknEnableSkinFlag = 0x00080000,
- EAknDisableHighlightAnimationFlag = 0x00100000
- };
- public:
- enum TAppUiOrientation
- {
- EAppUiOrientationUnspecified,
- EAppUiOrientationPortrait,
- EAppUiOrientationLandscape,
- EAppUiOrientationAutomatic
- };
- enum
- {
- #line 112
- EAknEnableSkin = EAknEnableSkinFlag,
- EAppOrientationPortrait = EAppOrientationSpecifiedFlag,
- EAppOrientationLandscape = EAppOrientationSpecifiedFlag
- | EAppOrientationLandscapeFlag,
- EAppOrientationAutomatic = EAppOrientationSpecifiedFlag
- | EAppOrientationAutomaticFlag,
- EAknDisableHighlightAnimation = EAknDisableHighlightAnimationFlag
- };
- public:
- __declspec(dllexport) ~CAknAppUiBase();
- __declspec(dllexport) CAknAppUiBase();
- public:
- __declspec(dllexport) void BaseConstructL( TInt aAppUiFlags );
- #line 150
- __declspec(dllexport) void HandleForegroundEventL(TBool aForeground);
- public:
- __declspec(dllexport) void ConstructL();
- __declspec(dllexport) void Exit();
- __declspec(dllexport) void SetFadedL(TBool aFaded);
- #line 179
- __declspec(dllexport) void HandleResourceChangeL(TInt aType);
- __declspec(dllexport) TRect ApplicationRect() const;
- public:
- __declspec(dllexport) void PrepareToExit();
- public:
- __declspec(dllexport) TBool IsFaded() const;
- __declspec(dllexport) CAknWsEventMonitor* EventMonitor() const;
- __declspec(dllexport) CAknKeySoundSystem* KeySounds() const;
- __declspec(dllexport) TBool IsFullScreenApp() const;
- __declspec(dllexport) TBool IsLayoutAwareApp() const;
- __declspec(dllexport) void SetLayoutAwareApp(TBool aLayoutAwareApp);
- __declspec(dllexport) TBool IsForeground() const;
- __declspec(dllexport) TBool IsPartialForeground() const;
- __declspec(dllexport) TAppUiOrientation Orientation() const;
- __declspec(dllexport) void SetOrientationL(TAppUiOrientation aOrientation);
- TInt FindAppWgIdBelowMeL();
- TInt EventForForegroundState(TBool aPartialFg, TBool aForeground);
- TBool ThreadIsForeground() const;
- void SimulateWsEventL(TInt aEvent);
- __declspec(dllexport) TAknUiZoom LocalUiZoom() const;
- #line 302
- __declspec(dllexport) void SetLocalUiZoomL(TAknUiZoom aZoom);
- protected:
- __declspec(dllexport) virtual void HandleScreenDeviceChangedL();
- protected:
- __declspec(dllexport) virtual void HandleApplicationSpecificEventL(TInt aType,
- const TWsEvent& aEvent);
- protected:
- __declspec(dllexport) void SetFullScreenApp(TBool aIsFullScreen);
- __declspec(dllexport) void ReplaceKeySoundsL( TInt aUid );
- protected:
- __declspec(dllexport) virtual TTypeUid::Ptr MopSupplyObject(TTypeUid aId);
- private:
- void UpdateSettingCacheAndForwardEventL( TInt aEventId );
- void SetAppUiAndLeaveIfErrorL( TInt aError );
- private:
- TBitFlags iAknFlags;
- CAknWsEventMonitor* iEventMonitor;
- CAknKeySoundSystem* iKeySounds;
- CAknAppUiBaseExtension* iAppUiBaseExtension;
- };
- class CAknAppUi : public CAknAppUiBase, MEikStatusPaneObserver,
- public MCoeViewDeactivationObserver,
- public MAknTouchPaneObserver
- {
- public:
- #line 379
- __declspec(dllexport) void BaseConstructL(TInt aAppUiFlags=EStandardApp);
- __declspec(dllexport) ~CAknAppUi();
- public:
- __declspec(dllexport) void ConstructL();
- public:
- __declspec(dllexport) CEikStatusPane* StatusPane();
- __declspec(dllexport) CEikButtonGroupContainer* Cba();
- __declspec(dllexport) CAknTouchPane* TouchPane();
- __declspec(dllexport) CAknToolbar* PopupToolbar() const;
- __declspec(dllexport) CAknToolbar* CurrentPopupToolbar() const;
- void StopDisplayingPopupToolbar();
- #line 439
- __declspec(dllexport) void ProcessCommandL(TInt aCommand);
- #line 451
- __declspec(dllexport) TErrorHandlerResponse HandleError (TInt aError,
- const SExtendedError& aExtErr, TDes& aErrorText, TDes& aContextText);
- __declspec(dllexport) void RunAppShutter();
- __declspec(dllexport) TBool IsAppShutterRunning() const;
- public:
- #line 477
- __declspec(dllexport) virtual void HandleViewDeactivation(
- const TVwsViewId& aViewIdToBeDeactivated,
- const TVwsViewId &aNewlyActivatedViewId);
- public:
- __declspec(dllexport) void PrepareToExit();
- public:
- __declspec(dllexport) void HandleTouchPaneSizeChange();
- protected:
- __declspec(dllexport) void HandleStatusPaneSizeChange();
- __declspec(dllexport) void HandleSystemEventL(const TWsEvent& aEvent);
- protected:
- __declspec(dllexport) virtual void Reserved_MtsmPosition();
- __declspec(dllexport) virtual void Reserved_MtsmObject();
- protected:
- __declspec(dllexport) void HandleForegroundEventL(TBool aForeground);
- __declspec(dllexport) void HandleWsEventL(const TWsEvent& aEvent,
- CCoeControl* aDestination);
- #line 540
- __declspec(dllexport) void SetKeyBlockMode(TAknKeyBlockMode aMode);
- __declspec(dllexport) void HandleErrorL(TInt aError, HBufC** aErrorDesc, TBool aShowNote = ETrue );
- #line 552
- void DumpControl(CCoeControl* aControl, TInt aLevel, RDebug& aDebug);
- void DecideWsClientBufferSizesL();
- private:
- void UpdateKeyBlockMode();
- private:
- TBool iDumpNextControl;
- CAknAppShutter* iAppShutter;
- TAknKeyBlockMode iBlockMode;
- CAknAppUiExtension * iExtension;
- public:
- __declspec(dllexport) void HideApplicationFromFSW(TBool aHide=ETrue);
- };
- #line 24 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknviewappui.h" /* stack depth 1 */
- class CAknView;
- class CAknViewShutter;
- class CAknLocalScreenClearer;
- class CAknViewAppUiExtension;
- class CAknViewNavigator;
- #line 43
- class CAknViewAppUi : public CAknAppUi
- {
- public:
- class CViewActivationItem : public CBase
- {
- public:
- #line 58
- static CViewActivationItem* NewLC(CAknView* aNewView,
- TUid aCustomMessageId,
- const TDesC8& aCustomMessage,
- const TVwsViewId& aPrevViewId);
- ~CViewActivationItem();
- private:
- CViewActivationItem(CAknView* aNewView,
- TUid aCustomMessageId,
- const TVwsViewId& aPrevViewId);
- void ConstructL(const TDesC8& aCustomMessage);
- public:
- CAknView* iNewView;
- TUid iCustomMessageId;
- HBufC8* iCustomMessage;
- TVwsViewId iPrevViewId;
- };
- class TAknSplitViewContainer
- {
- public:
- TBool IsPartOf( const TUid aViewId );
- public:
- TUid iViewIds[2];
- TBool iFailed[2];
- TRect iViewRect[2];
- TInt iLeftViewSize;
- };
- typedef CArrayPtrFlat<CViewActivationItem> CAknViewActivationQueue;
- typedef CArrayPtrFlat<CAknView> CAknViews;
- public:
- __declspec(dllexport) void BaseConstructL(TInt aAppUiFlags=EStandardApp);
- __declspec(dllexport) virtual ~CAknViewAppUi();
- __declspec(dllexport) void ActivateLocalViewL(TUid aViewId);
- #line 143
- __declspec(dllexport) void ActivateLocalViewL(TUid aViewId,
- TUid aCustomMessageId,
- const TDesC8& aCustomMessage);
- __declspec(dllexport) CAknView* View(TUid aView) const;
- __declspec(dllexport) void AddViewL(CAknView* aView);
- __declspec(dllexport) void RemoveView(TUid aViewId);
- __declspec(dllexport) void ProcessCommandL(TInt aCommand);
- __declspec(dllexport) void StopDisplayingMenuBar();
- void ViewActivatedL(CAknView* aView,
- const TVwsViewId& aPrevViewId,
- TUid aCustomMessageId,
- const TDesC8& aCustomMessage);
- void ViewDeactivated(CAknView* aView);
- #line 196
- __declspec(dllexport) void SetSplitViewL( const TUid aView1Id, const TUid aView2Id, const TInt aLeftViewSize );
- #line 205
- __declspec(dllexport) void RemoveSplitViewL( const TUid aViewId );
- __declspec(dllexport) TBool SplitViewActive() const;
- __declspec(dllexport) TUid FocusedView() const;
- __declspec(dllexport) TBool ViewShown( const TUid aViewId ) const;
- TRect ViewRect( const TUid aViewId ) const;
- TKeyResponse HandleViewNavigationL( const TKeyEvent& aKeyEvent );
- protected:
- __declspec(dllexport) void HandleStatusPaneSizeChange();
- __declspec(dllexport) void HandleForegroundEventL(TBool aForeground);
- #line 268
- __declspec(dllexport) void HandleWsEventL( const TWsEvent& aEvent, CCoeControl* aDestination );
- private:
- static TInt ActivationCallBack(TAny* aThis);
- void ActivationTick();
- void QueueActivationTick();
- CAknViewAppUiExtension* Extension() const;
- void ActivateSplitViewL( CViewActivationItem* aItem );
- TAknSplitViewContainer* SplitView( const TUid aViewId ) const;
- protected:
- CAknView* iView;
- CAknViews* iViews;
- private:
- CAknViewShutter* iShutter;
- CAknLocalScreenClearer* iClearer;
- CAknViewActivationQueue* iActivationQueue;
- CIdle* iActivationTick;
- CAknViewAppUiExtension* iExtension;
- };
- #line 7 "C:\gbtukmanpf01\NOK124\Courses\S60\05300-S60_C++_Introduction\Working\LabCode\Lab_05304-s2.cb1\starter\src\S60UIExampleInitialView.cpp" /* stack depth 0 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\S60UIExample.rsg" /* stack depth 1 */
- #line 8 "C:\gbtukmanpf01\NOK124\Courses\S60\05300-S60_C++_Introduction\Working\LabCode\Lab_05304-s2.cb1\starter\src\S60UIExampleInitialView.cpp" /* stack depth 0 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikmenup.h" /* stack depth 1 */
- #line 24
- class MEikMenuObserver;
- class CEikHotKeyTable;
- class CEikMenuPaneTitle;
- class CEikButtonBase;
- class CEikScrollBarFrame;
- class CEikScrollBar;
- class TEikScrollBarModel;
- class CGulIcon;
- class CEikMenuPaneExtension ;
- const TInt KScaleableTextSeparator = 0x0001;
- class CExtendedItemData : public CBase
- {
- public:
- ~CExtendedItemData();
- public:
- CGulIcon* iIcon;
- HBufC* iScaleableText;
- };
- #line 57
- class CEikMenuPaneItem : public CBase
- {
- public:
- struct SData
- {
- enum { ENominalTextLength=40 };
- TInt iCommandId;
- TInt iCascadeId;
- TInt iFlags;
- TBuf<ENominalTextLength> iText;
- TBuf<1> iExtraText;
- };
- public:
- __declspec(dllexport) CEikMenuPaneItem();
- __declspec(dllexport) ~CEikMenuPaneItem();
- __declspec(dllexport) void SetIcon(CGulIcon* aIcon);
- #line 95
- __declspec(dllexport) void DrawItemIcon(CWindowGc& aGc,
- TRect aRect,
- TBool aDimmed,
- TInt aBitmapSpaceRequired) const;
- #line 108
- __declspec(dllexport) void CreateIconL(CFbsBitmap* aBitmap,
- CFbsBitmap* aMask);
- __declspec(dllexport) CFbsBitmap* IconBitmap() const;
- __declspec(dllexport) CFbsBitmap* IconMask() const;
- __declspec(dllexport) void SetBitmapsOwnedExternally(TBool aOwnedExternally);
- __declspec(dllexport) void SetIconBitmapL(CFbsBitmap* aBitmap);
- __declspec(dllexport) void SetIconMaskL(CFbsBitmap* aMask);
- __declspec(dllexport) TPtrC ScaleableText() const;
- __declspec(dllexport) void SetScaleableTextL(const TDesC& aText);
- private:
- inline void CreateExtendedDataBlock();
- inline TBool IsScaleableText(const TDesC& aText) const;
- TPtrC GetNominalText(const TDesC& aText);
- public:
- TInt iPos;
- TInt iHotKeyCode;
- SData iData;
- private:
- CExtendedItemData* iExtendedData;
- };
- inline void CEikMenuPaneItem::CreateExtendedDataBlock()
- {
- if (!iExtendedData)
- {
- TInt err; { err = 0; { ; } try { TWin32SEHTrap __trap; __trap.Trap(); TTrapHandler* ____t = User::MarkCleanupStack(); ( iExtendedData = new (ELeave) CExtendedItemData() ); User::UnMarkCleanupStack(____t); { ; } __trap.UnTrap(); } catch (XLeaveException& l) { err = l.GetReason(); { ; } } catch (...) { User::Invariant(); } } ;
- }
- }
- inline TBool CEikMenuPaneItem::IsScaleableText(const TDesC& aText) const
- {
- return (aText.Locate(TChar(KScaleableTextSeparator)) == KErrNotFound ? EFalse : ETrue);
- }
- class CEikMenuPane : public CEikBorderedControl
- {
- private:
- enum {ENothingSelected=-1};
- class CMenuScroller;
- friend class CMenuScroller;
- friend class CEikMenuPaneExtension;
- public:
- typedef TBuf<20> THotKeyDisplayText;
- public:
- class CItemArray:public CArrayPtrFlat<CEikMenuPaneItem>
- {
- public:
- __declspec(dllexport) CItemArray();
- __declspec(dllexport) ~CItemArray();
- __declspec(dllexport) void AddItemL(CEikMenuPaneItem* aMenuItem);
- };
- public:
- __declspec(dllexport) ~CEikMenuPane();
- __declspec(dllexport) CEikMenuPane(MEikMenuObserver* aMenuObserver);
- __declspec(dllexport) void ConstructL(CEikMenuPane* aOwner,
- MEikMenuObserver* aEditMenuObserver = 0 );
- __declspec(dllexport) void Reset();
- public:
- __declspec(dllexport) TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,
- TEventCode aType);
- __declspec(dllexport) void HandlePointerEventL(const TPointerEvent& aPointerEvent);
- __declspec(dllexport) virtual void GetColorUseListL(CArrayFix<TCoeColorUse>& aColorUseList) const;
- __declspec(dllexport) virtual void HandleResourceChange(TInt aType);
- private:
- __declspec(dllexport) void* ExtensionInterface( TUid aInterface );
- public:
- __declspec(dllexport) TCoeInputCapabilities InputCapabilities() const;
- protected:
- __declspec(dllexport) void Draw(const TRect& aRect) const;
- __declspec(dllexport) void FocusChanged(TDrawNow aDrawNow);
- __declspec(dllexport) void ConstructFromResourceL(TResourceReader& aReader);
- public:
- #line 307
- __declspec(dllexport) void AddMenuItemL(const CEikMenuPaneItem::SData& aMenuItem);
- #line 317
- __declspec(dllexport) void AddMenuItemL(const CEikMenuPaneItem::SData& aMenuItem,
- TInt aPreviousId);
- #line 328
- __declspec(dllexport) void AddMenuItemsL(TInt aResourceId,
- TInt aPreviousId = 0,
- TBool aAddSeperator = EFalse);
- __declspec(dllexport) void DeleteMenuItem(TInt aCommandId);
- __declspec(dllexport) void DeleteBetweenMenuItems(TInt aStartIndex,
- TInt aEndIndex);
- __declspec(dllexport) CEikMenuPaneItem::SData& ItemData(TInt aCommandId);
- #line 359
- __declspec(dllexport) CEikMenuPaneItem* ItemAndPos(TInt aCommandId,TInt& aPos);
- #line 375
- __declspec(dllexport) void StartDisplayingMenuPane(const CEikHotKeyTable* aHotKeyTable,
- const TPoint& aTargetPos,
- const CEikMenuPaneTitle* aMenuPaneTitle,
- TInt aMinWidth,
- TPopupTargetPosType aTargetType = EPopupTargetTopLeft);
- __declspec(dllexport) void SetItemTextL(TInt aCommandId,
- const TDesC& aDes);
- __declspec(dllexport) void SetItemTextL(TInt aCommandId,
- TInt aRid);
- #line 405
- __declspec(dllexport) void SetItemDimmed(TInt aCommandId,
- TBool aDimmed);
- __declspec(dllexport) void SetItemButtonState(TInt aCommandId,
- TInt aButtonState);
- __declspec(dllexport) void SetSelectedItem(TInt aSelectedItem);
- __declspec(dllexport) TInt SelectedItem() const;
- __declspec(dllexport) void CloseCascadeMenu();
- __declspec(dllexport) void SetItemArray(CItemArray* aItemArray);
- __declspec(dllexport) void SetItemArrayOwnedExternally(TBool aOwnedExternally);
- __declspec(dllexport) void SetLaunchingButton(CEikButtonBase* aButton);
- #line 463
- __declspec(dllexport) void MoveHighlightTo(TInt aNewSelectedItem);
- __declspec(dllexport) TInt NumberOfItemsInPane() const;
- __declspec(dllexport) void Close();
- #line 483
- __declspec(dllexport) TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,
- TEventCode aType,
- TBool aConsumeAllKeys);
- __declspec(dllexport) void SetScrollBarOnLeft(TBool aOnLeft);
- __declspec(dllexport) void SetArrowHeadScrollBar(TBool aArrowHead);
- __declspec(dllexport) void NavigateToNextItem();
- __declspec(dllexport) void InsertMenuItemL(const CEikMenuPaneItem::SData& aMenuItem,
- TInt aPosition);
- #line 522
- __declspec(dllexport) TBool MenuItemExists(TInt aCommandId,
- TInt& aPosition);
- __declspec(dllexport) TBool IsCascadeMenuPane() const;
- __declspec(dllexport) void EnableMarqueeL(const TBool aEnable);
- void ActivateCurrentItemL();
- TBool CancelActiveMenuPane();
- void FilterDimmedItems();
- void ClipMenuItems(TInt aWidth);
- CEikMenuPane* CascadeMenuPane();
- __declspec(dllexport) CEikMenuPaneItem::SData& ItemDataByIndexL(TInt aItemIndex);
- TBool IsPositionToBeForced() const;
- __declspec(dllexport) void ConstructMenuSctRowL( TDes& aSpecialChars );
- private:
- enum { EInvalidCurrentSize=0x01, EBackgroundFaded=0x02 };
- private:
- TRect CalculateSizeAndPosition() ;
- enum THighlightType {ENoHighlight,EDrawHighlight,ERemoveHighlight};
- void DrawItem(CWindowGc& aGc,TInt aItem,THighlightType aHighlight) const;
- void FindHotKeyDisplayText(TDes& aDes,const CEikMenuPaneItem& aItem) const;
- void ReportSelectionMadeL();
- void ReportCanceled();
- void GiveVisualFeedback();
- void LaunchCascadeMenuL(TInt aCascadeMenuId);
- void DoLaunchCascadeMenuL(TInt aCascadeMenuId);
- void TryLaunchCascadeMenuL(const CEikMenuPaneItem& aItem);
- void PrepareGcForDrawingItems(CGraphicsContext& aGc) const;
- TBool ItemArrayOwnedExternally() const;
- TBool IsHotKeyL(const TInt modifiers,const TInt aCode);
- TBool MoveToItemL(TInt aCode, TInt aModifiers);
- void HandleScrollEventL(CEikScrollBar* aScrollBar,TEikScrollEvent aEventType);
- void CreateScrollBarFrame();
- void UpdateScrollBar();
- void DoUpdateScrollBarL();
- void UpdateScrollBarThumbs();
- static TInt UpdateScrollBarCallBackL(TAny* aObj);
- TRect ViewRect() const;
- TInt TotalItemHeight() const;
- void ScrollToMakeItemVisible(TInt aItemIndex);
- void Scroll(TInt aAmount);
- TBool CheckCreateScroller();
- void CheckCreateScrollerL();
- void ResetItemArray();
- void CreateItemArrayL();
- void SetVScrollBarFlag();
- TInt TopHighlightGap() const;
- TInt BottomHighlightGap() const;
- TInt EvaluateMaxIconWidth() const;
- void CreateIconFromResourceL(TResourceReader& aReader, CEikMenuPaneItem& aItem) const;
- void AnimateMenuPane(const TPoint& aNewPos);
- TRect ListMenuPane() const;
- TRect PopupMenuWindow() const;
- TRect PopupSubmenuWindow() const;
- void UpdateBackgroundContext(const TRect& aWindowRect);
- void RepaintHighlight() const;
- private:
- __declspec(dllexport) void Reserved_1();
- __declspec(dllexport) void Reserved_2();
- private :
- void LoadCascadeBitmapL() ;
- void LoadCheckMarkBitmapL();
- TBool MenuHasCheckBoxOn() const;
- void LoadRadioButtonBitmapL();
- TBool IsItemMemberOfRadioButtonGroup(TInt aItem) const ;
- TBool MenuHasIcon() const;
- TRect CalculateSizeAndPositionScalable( const TRect& aWindowRect, TInt aNumItemsInPane ) ;
- TRect HighlightRect() const;
- void PrepareHighlightFrame() const;
- void SetCascadedIconSize() const;
- friend class CAknMarqueeControl;
- static TInt RedrawMarqueeEvent( TAny* aControl );
- CEikMenuPaneExtension* Extension() const;
- protected:
- __declspec(dllexport) TTypeUid::Ptr MopSupplyObject(TTypeUid aId);
- public:
- __declspec(dllexport) TInt CountComponentControls() const;
- __declspec(dllexport) CCoeControl* ComponentControl(TInt aIndex) const;
- protected:
- void DisableAnimation();
- #line 686
- void SetPositionToBeForced(TBool aForced);
- TInt NumberOfItemsThatFitInView() const;
- private:
- friend class CEikMenuButton;
- MEikMenuObserver* iMenuObserver;
- MEikMenuObserver* iEditMenuObserver;
- CEikMenuPane* iCascadeMenuPane;
- const CEikMenuPaneTitle* iMenuPaneTitle;
- const CEikHotKeyTable* iHotKeyTable;
- CEikMenuPane* iOwner;
- CItemArray* iItemArray;
- TBool iArrayOwnedExternally;
- TBool iAllowPointerUpEvents;
- TInt iNumberOfDragEvents;
- TInt iSelectedItem;
- TInt iItemHeight;
- TInt iBaseLine;
- TInt iHotkeyColWidth;
- TInt iFlags;
- CEikScrollBarFrame* iSBFrame;
- CMenuScroller* iScroller;
- CEikButtonBase* iLaunchingButton;
- TInt iSubPopupWidth;
- TBool iEnableAnimation;
- CEikMenuPaneExtension* iExtension ;
- };
- #line 9 "C:\gbtukmanpf01\NOK124\Courses\S60\05300-S60_C++_Introduction\Working\LabCode\Lab_05304-s2.cb1\starter\src\S60UIExampleInitialView.cpp" /* stack depth 0 */
- CS60UIExampleInitialView::CS60UIExampleInitialView(CS60UIExampleModel& aModel)
- :iModel(aModel)
- {
- }
- CS60UIExampleInitialView* CS60UIExampleInitialView::NewL(
- CS60UIExampleModel& aModel)
- {
- CS60UIExampleInitialView* self = CS60UIExampleInitialView::NewLC(aModel);
- CleanupStack::Pop(self);
- return self;
- }
- CS60UIExampleInitialView* CS60UIExampleInitialView::NewLC(
- CS60UIExampleModel& aModel)
- {
- CS60UIExampleInitialView* self =
- new (ELeave) CS60UIExampleInitialView(aModel);
- CleanupStack::PushL(self);
- self->ConstructL();
- return self;
- }
- void CS60UIExampleInitialView::ConstructL()
- {
- BaseConstructL(0x5b4ee004 );
- }
- CS60UIExampleInitialView::~CS60UIExampleInitialView()
- {
- }
- TUid CS60UIExampleInitialView::Id() const
- {
- return TUid::Uid(ES60UIExampleInitialViewId);
- }
- void CS60UIExampleInitialView::DoActivateL(const TVwsViewId& ,
- TUid ,
- const TDesC8& )
- {
- iContainer = CS60UIExampleInitialContainer::NewL(ClientRect(), iModel);
- AppUi()->AddToStackL(*this, iContainer);
- }
- void CS60UIExampleInitialView::DoDeactivate()
- {
- if (iContainer)
- {
- AppUi()->RemoveFromStack(iContainer);
- delete iContainer;
- iContainer = 0 ;
- }
- }
- void CS60UIExampleInitialView::HandleCommandL(TInt aCommand)
- {
- switch (aCommand)
- {
- case ES60UIExampleStartGame:
- {
- iModel.GameStart();
- AppUi()->ActivateLocalViewL(TUid::Uid(ES60UIExamplePlayViewId));
- break;
- }
- case ES60UIExampleContinueGame:
- {
- iModel.GameContinue();
- AppUi()->ActivateLocalViewL(TUid::Uid(ES60UIExamplePlayViewId));
- break;
- }
- case ES60UIExampleHighscores:
- {
- AppUi()->ActivateLocalViewL(TUid::Uid(ES60UIExampleHighScoreViewId));
- break;
- }
- default:
- AppUi()->HandleCommandL(aCommand);
- }
- }
- void CS60UIExampleInitialView::DynInitMenuPaneL(TInt aResourceId,
- CEikMenuPane* aMenuPane)
- {
- if (aResourceId == 0x5b4ee006 )
- {
- if (!iModel.IsGameStarted())
- {
- aMenuPane->SetItemDimmed(ES60UIExampleContinueGame, ETrue);
- }
- }
- }