S60UIExampleappui.inc
上传用户:laixiong
上传日期:2007-03-11
资源大小:2994k
文件大小:1144k
- #line 18 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikspmod.h" /* stack depth 5 */
- 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 4 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\coecntrl.h" /* stack depth 5 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\coecobs.h" /* stack depth 6 */
- #line 11
- class CCoeControl;
- class MCoeControlObserver
- {
- public:
- enum TCoeEvent
- {
- EEventRequestExit,
- EEventRequestCancel,
- EEventRequestFocus,
- EEventPrepareFocusTransition,
- EEventStateChanged,
- EEventInteractionRefused
- };
- public:
- #line 63
- virtual void HandleControlEventL(CCoeControl* aControl,TCoeEvent aEventType)=0;
- protected:
- __declspec(dllexport) MCoeControlObserver();
- private:
- __declspec(dllexport) virtual void MCoeControlObserver_Reserved1();
- __declspec(dllexport) virtual void MCoeControlObserver_Reserved2();
- private:
- TInt iMCoeControlObserver_Reserved1;
- };
- #line 30 "C:\Symbian\9.1\S60_3rd\epoc32\include\coecntrl.h" /* stack depth 5 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\coecontrolarray.h" /* stack depth 6 */
- #line 12
- class CCoeControl;
- const TInt KCoeNoControlId = KErrNotFound;
- class TCoeControlWithId
- {
- public:
- TCoeControlWithId(TInt aControlId, CCoeControl* aControl = 0 );
- public:
- CCoeControl* iControl;
- TInt iId;
- };
- #line 46
- class CCoeControlArray : public CBase
- {
- public:
- class TCursor
- {
- public:
- template<typename T> T* Control();
- template<typename T> const T* Control() const;
- __declspec(dllexport) TBool Prev();
- __declspec(dllexport) TBool Next();
- __declspec(dllexport) TBool IsValid() const;
- __declspec(dllexport) TBool operator==(const TCursor& aCursor) const;
- __declspec(dllexport) TBool operator!=(const TCursor& aCursor) const;
- public:
- TCursor(const CCoeControlArray& aArray, TInt aIndex);
- TInt Index() const;
- private:
- __declspec(dllexport) CCoeControl* Ctrl() const;
- void UpdateMemento() const;
- void UpdateIndex() const;
- private:
- const CCoeControlArray* iArray;
- mutable TInt iIndex;
- mutable TCoeControlWithId iMemento;
- };
- public:
- __declspec(dllexport) static CCoeControlArray* NewL(CCoeControl& aOwner);
- __declspec(dllexport) ~CCoeControlArray();
- __declspec(dllexport) TInt Count() const;
- __declspec(dllexport) void Reset();
- __declspec(dllexport) void ResetAndDestroy();
- __declspec(dllexport) void SortById();
- __declspec(dllexport) TBool ControlsOwnedExternally() const;
- __declspec(dllexport) void SetControlsOwnedExternally(TBool aOwnedExternally);
- __declspec(dllexport) TBool IsArrayLocked() const;
- __declspec(dllexport) void SetArrayLocked();
- template<typename T> T* ControlById(TInt aControlId);
- template<typename T> const T* ControlById(TInt aControlId) const;
- __declspec(dllexport) TCursor Begin() const;
- __declspec(dllexport) TCursor End() const;
- __declspec(dllexport) TCursor Find(const CCoeControl* aControl) const;
- __declspec(dllexport) TCursor Find(TInt aControlId) const;
- __declspec(dllexport) TCursor AppendLC(CCoeControl* aControl, TInt aControlId = KCoeNoControlId);
- __declspec(dllexport) TCursor InsertAfterLC(TInt aInsertAfterId, CCoeControl* aControl, TInt aControlId = KCoeNoControlId);
- __declspec(dllexport) TCursor InsertLC(TCursor& aInsertAt, CCoeControl* aControl, TInt aControlId = KCoeNoControlId);
- __declspec(dllexport) TInt Remove(const CCoeControl* aControl);
- __declspec(dllexport) CCoeControl* Remove(TCursor aRemoveAt);
- __declspec(dllexport) CCoeControl* RemoveById(TInt aControlId);
- public:
- __declspec(dllexport) TInt Replace(CCoeControl* aOriginalControl, CCoeControl* aNewControl);
- public:
- __declspec(dllexport) TCoeControlWithId At(TInt aIndex);
- __declspec(dllexport) const TCoeControlWithId At(TInt aIndex) const;
- __declspec(dllexport) TInt Id(const CCoeControl& aControl) const;
- __declspec(dllexport) void Sort(TLinearOrder< TCoeControlWithId > aOrder);
- public:
- enum TEvent
- {
- EControlAdded,
- EControlRemoved
- };
- private:
- __declspec(dllexport) CCoeControlArray(CCoeControl& aOwner);
- TInt IndexById(TInt aControlId) const;
- __declspec(dllexport) CCoeControl* CtrlById(TInt aControlId) const;
- private:
- CCoeControl& iOwner;
- TInt iFlags;
- RArray<TCoeControlWithId> iControls;
- };
- template<typename T>
- T* CCoeControlArray::TCursor::Control()
- {
- return static_cast<T*>(Ctrl());
- }
- template<typename T>
- const T* CCoeControlArray::TCursor::Control() const
- {
- return static_cast<T*>(Ctrl());
- }
- template<typename T>
- T* CCoeControlArray::ControlById(TInt aControlId)
- {
- return static_cast<T*>(CtrlById(aControlId));
- }
- template<typename T>
- const T* CCoeControlArray::ControlById(TInt aControlId) const
- {
- return static_cast<T*>(CtrlById(aControlId));
- }
- #line 55 "C:\Symbian\9.1\S60_3rd\epoc32\include\coecntrl.h" /* stack depth 5 */
- class TResourceReader;
- class CCoeEnv;
- class MCoeControlContext;
- class CCoeControlExtension;
- class MCoeLayoutManager;
- class TCoeZoomWithType;
- class CCoeFontProvider;
- class TCoeFont;
- #line 79
- class TCoeColorUse
- {
- public:
- enum TGround
- {
- EFore=0x01,
- EBack=0x02
- };
- enum TAreas
- {
- EContents=0x10,
- EHighlights=0x20,
- ESurrounds=0x40,
- EBorders=0x80
- };
- enum TFocus
- {
- EActive=0x100,
- EDimmed=0x200,
- EShadowed=0x400,
- EPressed=0x800
- };
- enum TState
- {
- ENormal=0x1000,
- ESet=0x2000,
- EChecked=0x4000
- };
- enum TTones
- {
- ENeutral=0x10000,
- ELight=0x20000,
- EMidLight=0x40000,
- EMid=0x80000,
- EDark=0x100000
- };
- public:
- __declspec(dllexport) TCoeColorUse();
- __declspec(dllexport) void SetUse(TInt aUse);
- __declspec(dllexport) void SetLogicalColor(TInt aLogicalColor);
- __declspec(dllexport) TInt LogicalColor() const;
- __declspec(dllexport) TInt Use() const;
- __declspec(dllexport) TBool IsForeground() const;
- __declspec(dllexport) TBool IsBackground() const;
- __declspec(dllexport) TBool IsContents() const;
- __declspec(dllexport) TBool IsHighlights() const;
- __declspec(dllexport) TBool IsSurrounds() const;
- __declspec(dllexport) TBool IsBorders() const;
- __declspec(dllexport) TBool IsActive() const;
- __declspec(dllexport) TBool IsDimmed() const;
- __declspec(dllexport) TBool IsPressed() const;
- __declspec(dllexport) TBool IsNormal() const;
- __declspec(dllexport) TBool IsSet() const;
- private:
- TInt iLogicalColor;
- TInt iUse;
- TInt iTCoeColorUse_Reserved1;
- };
- class CCoeControl;
- class CCoeTextDrawerBase;
- #line 184
- class MCoeControlBackground
- {
- public:
- #line 198
- virtual void Draw(CWindowGc& aGc, const CCoeControl& aControl, const TRect& aRect) const = 0;
- __declspec(dllexport) virtual void GetTextDrawer(CCoeTextDrawerBase*& aTextDrawer, const CCoeControl* aDrawingControl) const;
- protected:
- __declspec(dllexport) MCoeControlBackground();
- private:
- __declspec(dllexport) virtual void MCoeControlBackground_Reserved1();
- __declspec(dllexport) virtual void MCoeControlBackground_Reserved2();
- __declspec(dllexport) virtual void MCoeControlBackground_Reserved3();
- __declspec(dllexport) virtual void MCoeControlBackground_Reserved4();
- __declspec(dllexport) virtual void MCoeControlBackground_Reserved5();
- private:
- TInt iMCoeControlBackground_Reserved1();
- };
- #line 232
- class MCoeControlHitTest
- {
- public:
- #line 244
- virtual TBool HitRegionContains(const TPoint& aPoint, const CCoeControl& aControl) const = 0;
- protected:
- __declspec(dllexport) MCoeControlHitTest();
- private:
- __declspec(dllexport) virtual void MCoeControlHitTest_Reserved1();
- __declspec(dllexport) virtual void MCoeControlHitTest_Reserved2();
- private:
- TInt iMCoeControlHitTest_Reserved1;
- };
- class RCoeExtensionStorage
- {
- public:
- RCoeExtensionStorage();
- void Close();
- TInt& Flags();
- TInt Flags() const;
- const MCoeControlBackground* Background() const;
- void SetBackground(const MCoeControlBackground* aBackground);
- CCoeControl* Parent();
- TInt SetParent(CCoeControl* aParent);
- const MCoeControlHitTest* HitTestControl() const;
- TInt SetHitTestControl(const MCoeControlHitTest* aHitTest);
- TCoeZoomWithType* ZoomWithType() const;
- TInt SetZoomWithType(TCoeZoomWithType* aZoomWithType);
- const CCoeFontProvider* FontProvider() const;
- TInt SetFontProvider(const CCoeFontProvider* aFontProvider);
- void SetExtension(CCoeControlExtension* aExtension);
- CCoeControlExtension* Extension() const;
- private:
- inline TBool IsFlags() const;
- private:
- union
- {
- TInt iFlags;
- CCoeControlExtension* iExtension;
- };
- };
- class CCoeControl : public CBase
- , public MObjectProvider
- {
- public:
- enum TZoomType
- {
- EAbsoluteZoom,
- ERelativeZoom
- };
- __declspec(dllexport) CCoeControl();
- __declspec(dllexport) CCoeControl(CCoeEnv* aCoeEnv);
- __declspec(dllexport) ~CCoeControl();
- __declspec(dllexport) virtual TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
- __declspec(dllexport) virtual void MakeVisible(TBool aVisible);
- __declspec(dllexport) virtual void SetDimmed(TBool aDimmed);
- __declspec(dllexport) virtual void SetContainerWindowL(const CCoeControl& aContainer);
- __declspec(dllexport) void SetContainerWindowL(RWindow& aWindow);
- __declspec(dllexport) void SetContainerWindowL(RBackedUpWindow& aWindow);
- __declspec(dllexport) virtual void ConstructFromResourceL(TResourceReader& aReader);
- __declspec(dllexport) virtual void ActivateL();
- __declspec(dllexport) virtual void PrepareForFocusLossL();
- __declspec(dllexport) virtual void PrepareForFocusGainL();
- __declspec(dllexport) virtual void SetAdjacent(TInt aAdjacent);
- __declspec(dllexport) virtual void SetNeighbor(CCoeControl* aNeighbor);
- __declspec(dllexport) virtual TBool HasBorder() const;
- __declspec(dllexport) virtual TSize MinimumSize();
- __declspec(dllexport) virtual void HandleResourceChange(TInt aType);
- __declspec(dllexport) virtual void GetColorUseListL(CArrayFix<TCoeColorUse>& aColorUseList) const;
- __declspec(dllexport) virtual void GetHelpContext(TCoeHelpContext& aContext) const;
- __declspec(dllexport) virtual TCoeInputCapabilities InputCapabilities() const;
- __declspec(dllexport) TCoeInputCapabilities RecursivelyMergedInputCapabilities() const;
- __declspec(dllexport) void DrawNow() const;
- __declspec(dllexport) void DrawNow(const TRect &aRect) const;
- __declspec(dllexport) void DrawDeferred() const;
- __declspec(dllexport) void SetFocus(TBool aFocus,TDrawNow aDrawNow=ENoDrawNow);
- __declspec(dllexport) void SetExtent(const TPoint& aPosition,const TSize& aSize);
- __declspec(dllexport) void SetSize(const TSize& aSize);
- __declspec(dllexport) TInt SetMaximumWidth(TInt aMaxWidth);
- __declspec(dllexport) void SetPosition(const TPoint& aPosition);
- __declspec(dllexport) void SetRect(const TRect& aRect);
- __declspec(dllexport) void SetExtentToWholeScreen();
- __declspec(dllexport) TBool IsFocused() const;
- __declspec(dllexport) TBool IsVisible() const;
- __declspec(dllexport) TBool IsDimmed() const;
- __declspec(dllexport) RDrawableWindow* DrawableWindow() const;
- __declspec(dllexport) TSize Size() const;
- __declspec(dllexport) TInt MaximumWidth() const;
- __declspec(dllexport) TPoint Position() const;
- __declspec(dllexport) TRect Rect() const;
- __declspec(dllexport) TPoint PositionRelativeToScreen() const;
- __declspec(dllexport) void SetObserver(MCoeControlObserver* aObserver);
- __declspec(dllexport) MCoeControlObserver* Observer() const;
- inline CCoeEnv* ControlEnv() const;
- __declspec(dllexport) TInt Index(const CCoeControl* aControl) const;
- __declspec(dllexport) void SetNonFocusing();
- __declspec(dllexport) void SetFocusing(TBool aFocusing);
- __declspec(dllexport) TBool IsNonFocusing() const;
- __declspec(dllexport) void SetControlContext(MCoeControlContext* aContext);
- __declspec(dllexport) void CopyControlContextFrom(const CCoeControl* aControl);
- __declspec(dllexport) MCoeControlContext* ControlContext() const;
- __declspec(dllexport) TBool OwnsWindow() const;
- __declspec(dllexport) TBool IsBackedUp() const;
- __declspec(dllexport) void SetPointerCapture(TBool aCapture=ETrue);
- __declspec(dllexport) void ClaimPointerGrab(TBool aSendUpEvent=ETrue);
- __declspec(dllexport) void IgnoreEventsUntilNextPointerUp();
- __declspec(dllexport) void SetComponentsToInheritVisibility(TBool aInherit=ETrue);
- __declspec(dllexport) void SetGloballyCapturing(TBool aGlobal);
- __declspec(dllexport) void OverrideColorL(TInt aLogicalColor,TRgb aColor);
- __declspec(dllexport) TBool GetColor(TInt aLogicalColor,TRgb& aColor) const;
- __declspec(dllexport) void SetMopParent(MObjectProvider* aParent);
- __declspec(dllexport) const MCoeControlBackground* Background() const;
- __declspec(dllexport) const MCoeControlBackground* FindBackground() const;
- __declspec(dllexport) virtual TInt SetParent(CCoeControl* aParent);
- __declspec(dllexport) virtual void SetLayoutManagerL(MCoeLayoutManager* aLayout);
- __declspec(dllexport) MCoeLayoutManager* LayoutManager() const;
- __declspec(dllexport) virtual TBool RequestRelayout(const CCoeControl* aChildControl);
- __declspec(dllexport) void SetZoomFactorL(TInt aZoomFactor, TZoomType aZoomType = ERelativeZoom);
- __declspec(dllexport) void SetFontProviderL(const CCoeFontProvider& aFontProvider);
- __declspec(dllexport) TZoomFactor AccumulatedZoom() const;
- __declspec(dllexport) const TCoeZoomWithType* ZoomWithType() const;
- __declspec(dllexport) const CCoeFontProvider& FindFontProvider() const;
- __declspec(dllexport) virtual TInt TextBaselineOffset(const TSize& aSize) const;
- __declspec(dllexport) virtual void SetTextBaselineSpacing(TInt aSpacing);
- public:
- void ProcessPointerEventL(const TPointerEvent& aPointerEvent);
- void ProcessPointerBufferReadyL();
- void RecursivelyMergeInputCapabilities(TCoeInputCapabilities& aInputCapabilities) const;
- void WriteInternalStateNowL(RWriteStream& aWriteStream) const;
- void NotifyFontChange(const CCoeFontProvider* aFontProvider);
- void RemoveFromParent();
- void RefetchPixelMapping();
- public:
- __declspec(dllexport) virtual void HandlePointerEventL(const TPointerEvent& aPointerEvent);
- protected:
- __declspec(dllexport) virtual void HandlePointerBufferReadyL();
- __declspec(dllexport) virtual void FocusChanged(TDrawNow aDrawNow);
- __declspec(dllexport) virtual void SizeChanged();
- __declspec(dllexport) virtual void PositionChanged();
- public:
- __declspec(dllexport) virtual TInt CountComponentControls() const;
- __declspec(dllexport) virtual CCoeControl* ComponentControl(TInt aIndex) const;
- __declspec(dllexport) CWindowGc& SystemGc() const;
- protected:
- __declspec(dllexport) void EnableDragEvents();
- __declspec(dllexport) void HandleRedrawEvent(const TRect& aRect) const;
- __declspec(dllexport) RWindow& Window() const;
- __declspec(dllexport) RBackedUpWindow& BackedUpWindow() const;
- __declspec(dllexport) void CloseWindow();
- __declspec(dllexport) void CreateWindowL();
- __declspec(dllexport) void CreateWindowL(const CCoeControl* aParent);
- __declspec(dllexport) void CreateWindowL(RWindowTreeNode& aParent);
- __declspec(dllexport) void CreateWindowL(RWindowGroup* aParent);
- __declspec(dllexport) void CreateBackedUpWindowL(RWindowTreeNode& aParent);
- __declspec(dllexport) void CreateBackedUpWindowL(RWindowTreeNode& aParent,TDisplayMode aDisplayMode);
- __declspec(dllexport) void SetAllowStrayPointers();
- __declspec(dllexport) void SetCanDrawOutsideRect();
- __declspec(dllexport) void SetBlank();
- __declspec(dllexport) void ReportEventL(MCoeControlObserver::TCoeEvent aEvent);
- __declspec(dllexport) void SetCornerAndSize(TGulAlignment aCorner,const TSize& aSize);
- __declspec(dllexport) void SetSizeWithoutNotification(const TSize& aSize);
- __declspec(dllexport) void ActivateGc() const;
- __declspec(dllexport) void ResetGc() const;
- __declspec(dllexport) void DeactivateGc() const;
- __declspec(dllexport) TBool IsReadyToDraw() const;
- __declspec(dllexport) TBool IsActivated() const;
- __declspec(dllexport) TBool IsBlank() const;
- __declspec(dllexport) TBool IsBeingDestroyed() const;
- __declspec(dllexport) CCoeControl* GrabbingComponent() const;
- __declspec(dllexport) TBool CapturesPointer() const;
- __declspec(dllexport) void HandleComponentControlsResourceChange(TInt aType);
- friend class CCoeControlArray;
- __declspec(dllexport) virtual void HandleControlArrayEventL(CCoeControlArray::TEvent aEvent, const CCoeControlArray* aArray, CCoeControl* aControl, TInt aControlId);
- __declspec(dllexport) virtual void Reserved_CCoeControl_10();
- __declspec(dllexport) virtual void Reserved_CCoeControl_11();
- __declspec(dllexport) virtual void Reserved_CCoeControl_12();
- __declspec(dllexport) virtual void Reserved_CCoeControl_13();
- __declspec(dllexport) const CFont& ScreenFont(const TCoeFont& aFont) const;
- __declspec(dllexport) CCoeTextDrawerBase& TextDrawer(TInt aKey = KErrNotFound) const;
- __declspec(dllexport) void InitComponentArrayL();
- __declspec(dllexport) CCoeControlArray& Components();
- __declspec(dllexport) const CCoeControlArray& Components() const;
- private:
- __declspec(dllexport) virtual void GetTextDrawer(CCoeTextDrawerBase*& aTextDrawer, const CCoeControl* aDrawingControl, TInt aKey) const;
- __declspec(dllexport) virtual void Reserved_CCoeControl_8();
- __declspec(dllexport) virtual void Reserved_CCoeControl_9();
- protected:
- __declspec(dllexport) virtual TTypeUid::Ptr MopSupplyObject(TTypeUid aId);
- private:
- __declspec(dllexport) virtual MObjectProvider* MopNext();
- private:
- friend class CCoeRedrawer;
- __declspec(dllexport) virtual void Draw(const TRect& aRect) const;
- void DrawComponents(const TRect& aRect) const;
- void DrawWindowOwningComponentsNow() const;
- void DrawWindowOwningComponentsNow(const TRect &aRect) const;
- void SetGrabbed(TBool aGrabbed);
- TBool IsGrabbed() const;
- void DoMakeVisible(TBool aVisible);
- void CheckPointerEventPurge() const;
- inline TInt Flags() const;
- inline TInt& Flags();
- void RecursivelyMergeTextDrawers(CCoeTextDrawerBase*& aTextDrawer,
- const CCoeControl* aDrawingControl, TInt aKey) const;
- const CCoeControl* WindowOwningParent() const;
- const CCoeControl* SearchParent(const CCoeControl* aParentToFind) const;
- void DoSetLayoutL(MCoeLayoutManager* aLayoutManager);
- TInt SetZoomWithType(TCoeZoomWithType* aZoomWithType);
- TCoeZoomWithType* GetZoomWithType() const;
- TInt SetFontProvider(const CCoeFontProvider* aFontProvider);
- const CCoeFontProvider* GetFontProvider() const;
- protected:
- __declspec(dllexport) virtual void WriteInternalStateL(RWriteStream& aWriteStream) const;
- public:
- __declspec(dllexport) void SetBackground(const MCoeControlBackground* aBackground);
- __declspec(dllexport) CCoeControl* Parent();
- __declspec(dllexport) const CCoeControl* Parent() const;
- __declspec(dllexport) TInt SetGc(CWindowGc* aGraphicsContext) const;
- __declspec(dllexport) CWindowGc* CCoeControl::GetGc() const;
- __declspec(dllexport) void DrawBackground(const TRect& aRect) const;
- __declspec(dllexport) void DrawForeground(const TRect& aRect) const;
- __declspec(dllexport) TInt SetHitTest(const MCoeControlHitTest* aHitTestControl);
- __declspec(dllexport) const MCoeControlHitTest* HitTest() const;
- private:
- __declspec(dllexport) virtual void Reserved_2();
- public:
- __declspec(dllexport) TInt UniqueHandle() const ;
- __declspec(dllexport) TInt SetUniqueHandle( TInt aUniqueHandle ) ;
- protected:
- CCoeEnv* iCoeEnv;
- MCoeControlContext* iContext;
- TPoint iPosition;
- TSize iSize;
- private:
- RDrawableWindow* iWin;
- MCoeControlObserver* iObserver;
- RCoeExtensionStorage iExt;
- MObjectProvider* iMopParent;
- };
- inline CCoeEnv* CCoeControl::ControlEnv() const
- {return(iCoeEnv);}
- #line 14 "C:\Symbian\9.1\S60_3rd\epoc32\include\Eikspane.h" /* stack depth 4 */
- 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 3 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikcba.h" /* stack depth 4 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikctgrp.h" /* stack depth 5 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikbctrl.h" /* stack depth 6 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\AknControl.h" /* stack depth 7 */
- #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 6 */
- 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 5 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\lafpublc.h" /* stack depth 6 */
- #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 5 */
- 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 4 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikbtgrp.h" /* stack depth 5 */
- #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 4 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eiksbobs.h" /* stack depth 5 */
- #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 4 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eiksbfrm.h" /* stack depth 5 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknscrlb.h" /* stack depth 6 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikscrlb.h" /* stack depth 7 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknscbut.h" /* stack depth 8 */
- #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 7 */
- 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 6 */
- #line 11 "C:\Symbian\9.1\S60_3rd\epoc32\include\eiksbfrm.h" /* stack depth 5 */
- 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 4 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikimage.h" /* stack depth 5 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikalign.h" /* stack depth 6 */
- #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 5 */
- 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 4 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\akncontrol.h" /* stack depth 5 */
- #line 30 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikcba.h" /* stack depth 4 */
- 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 3 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\avkon.hrh" /* stack depth 4 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikon.hrh" /* stack depth 5 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\lafpublc.hrh" /* stack depth 6 */
- #line 23
- enum TLafReferenceButtonGroupControls
- {
- ELafBgCba=100
- };
- #line 6 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikon.hrh" /* stack depth 5 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikcolor.hrh" /* stack depth 6 */
- #line 8 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikon.hrh" /* stack depth 5 */
- #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 4 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknfontcategory.hrh" /* stack depth 5 */
- #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 4 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknfontidoffsets.hrh" /* stack depth 5 */
- #line 34
- enum {EScalableFontIdOffset = (0x1000) };
- #line 33 "C:\Symbian\9.1\S60_3rd\epoc32\include\avkon.hrh" /* stack depth 4 */
- #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 3 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\akndef.h" /* stack depth 4 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\akndef.hrh" /* stack depth 5 */
- #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 4 */
- 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 3 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\AknTouchPaneObserver.h" /* stack depth 4 */
- #line 33
- class MAknTouchPaneObserver
- {
- public:
- virtual void HandleTouchPaneSizeChange() = 0;
- };
- #line 29 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknappui.h" /* stack depth 3 */
- 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 2 */
- 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 9 "C:\gbtukmanpf01\NOK124\Courses\S60\05300-S60_C++_Introduction\Working\LabCode\Lab_05304-s2.cb1\starter\inc\S60UIExampleAppUi.h" /* stack depth 1 */
- class CS60UIExampleInitialView;
- class CS60UIExamplePlayView;
- class CS60UIExampleHighScoreView;
- class CS60UIExampleModel;
- #line 26
- class CS60UIExampleAppUi : public CAknViewAppUi
- {
- public:
- void ConstructL();
- virtual ~CS60UIExampleAppUi();
- public:
- void HandleCommandL(TInt aCommand);
- private:
- CS60UIExampleInitialView* iAppInitialView;
- CS60UIExamplePlayView* iAppPlayView;
- CS60UIExampleHighScoreView* iAppHighScoreView;
- CS60UIExampleModel* iModel;
- };
- #line 5 "C:\gbtukmanpf01\NOK124\Courses\S60\05300-S60_C++_Introduction\Working\LabCode\Lab_05304-s2.cb1\starter\src\S60UIExampleappui.cpp" /* stack depth 0 */
- #line 1 "C:\gbtukmanpf01\NOK124\Courses\S60\05300-S60_C++_Introduction\Working\LabCode\Lab_05304-s2.cb1\starter\inc\S60UIExampleInitialView.h" /* stack depth 1 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknview.h" /* stack depth 2 */
- #line 38
- class CAknViewAppUi;
- class CEikStatusPane;
- class CEikButtonGroupContainer;
- class CAknControlStack;
- class CAknViewExtension;
- class CAknToolbar;
- #line 52
- class CAknView : public CBase, public MCoeView, public MEikMenuObserver,
- public MObjectProvider
- {
- public:
- __declspec(dllexport) CAknView();
- __declspec(dllexport) ~CAknView();
- #line 74
- __declspec(dllexport) void BaseConstructL(TInt aResId=0);
- __declspec(dllexport) void ConstructMenuAndCbaEarlyL();
- __declspec(dllexport) void ActivateViewL(const TVwsViewId& aViewId);
- #line 99
- __declspec(dllexport) void ActivateViewL(const TVwsViewId& aViewId,
- TUid aCustomMessageId,
- const TDesC8& aCustomMessage);
- __declspec(dllexport) virtual TUid Id() const =0;
- __declspec(dllexport) virtual void HandleStatusPaneSizeChange();
- __declspec(dllexport) TVwsViewId ViewId() const;
- #line 129
- __declspec(dllexport) virtual void ProcessCommandL(TInt aCommand);
- __declspec(dllexport) virtual void HandleCommandL(TInt aCommand);
- __declspec(dllexport) virtual CEikMenuBar* MenuBar() const;
- #line 152
- __declspec(dllexport) TRect ClientRect() const;
- __declspec(dllexport) void StopDisplayingMenuBar();
- __declspec(dllexport) TBool IsForeground() const;
- __declspec(dllexport) virtual void HandleViewRectChange();
- __declspec(dllexport) virtual void Redraw() const;
- __declspec(dllexport) virtual void AknViewActivatedL(const TVwsViewId& aPrevViewId,
- TUid aCustomMessageId,
- const TDesC8& aCustomMessage);
- void AknViewDeactivated();
- void ProcessForegroundEventL(TBool aForeground);
- private:
- __declspec(dllexport) virtual void Reserved_MtsmPosition();
- __declspec(dllexport) virtual void Reserved_MtsmObject();
- protected:
- __declspec(dllexport) CAknViewAppUi* AppUi() const;
- __declspec(dllexport) CEikStatusPane* StatusPane() const;
- __declspec(dllexport) CEikButtonGroupContainer* Cba() const;
- #line 237
- __declspec(dllexport) virtual void DoActivateL(const TVwsViewId& aPrevViewId,
- TUid aCustomMessageId,
- const TDesC8& aCustomMessage) = 0;
- virtual void DoDeactivate() = 0;
- protected:
- #line 257
- __declspec(dllexport) void ViewActivatedL(const TVwsViewId& aPrevViewId,
- TUid aCustomMessageId,
- const TDesC8& aCustomMessage);
- __declspec(dllexport) void ViewDeactivated();
- __declspec(dllexport) TVwsViewIdAndMessage ViewScreenDeviceChangedL();
- protected:
- #line 286
- __declspec(dllexport) TTypeUid::Ptr MopSupplyObject(TTypeUid aId);
- __declspec(dllexport) MObjectProvider* MopNext();
- protected:
- #line 305
- __declspec(dllexport) virtual void SetEmphasis(CCoeControl* aMenuControl,
- TBool aEmphasis);
- __declspec(dllexport) virtual void HandleForegroundEventL(TBool aForeground);
- private:
- void ConstructMenuAndCbaL(TBool aVisible);
- CAknViewExtension* Extension() const;
- public:
- __declspec(dllexport) CAknToolbar* Toolbar() const;
- __declspec(dllexport) void StopDisplayingToolbar();
- protected:
- CCoeEnv* iCoeEnv;
- private:
- CAknViewAppUi* iAppUi;
- struct SAknViewInfo
- {
- public:
- TUint8 iVersion;
- TInt iHotKeys;
- TInt iMenu;
- TInt iCba;
- TInt iToolbar;
- TInt iExtension;
- };
- SAknViewInfo iViewInfo;
- CEikMenuBar* iMenu;
- CEikButtonGroupContainer* iCba;
- TBitFlags iFlags;
- CAknViewExtension* iExtension;
- };
- #line 9 "C:\gbtukmanpf01\NOK124\Courses\S60\05300-S60_C++_Introduction\Working\LabCode\Lab_05304-s2.cb1\starter\inc\S60UIExampleInitialView.h" /* stack depth 1 */
- class CS60UIExampleInitialContainer;
- class CS60UIExampleModel;
- #line 23
- class CS60UIExampleInitialView: public CAknView
- {
- public:
- #line 34
- static CS60UIExampleInitialView* NewL(CS60UIExampleModel& aModel);
- #line 44
- static CS60UIExampleInitialView* NewLC(CS60UIExampleModel& aModel);
- virtual ~CS60UIExampleInitialView();
- public:
- TUid Id() const;
- void HandleCommandL(TInt aCommand);
- #line 77
- void DoActivateL(const TVwsViewId& aPrevViewId,
- TUid aCustomMessageId,
- const TDesC8& aCustomMessage);
- void DoDeactivate();
- void DynInitMenuPaneL(TInt aResourceId, CEikMenuPane* aMenuPane);
- private:
- CS60UIExampleInitialView(CS60UIExampleModel& aModel);
- void ConstructL();
- private:
- CS60UIExampleInitialContainer* iContainer;
- TUid iIdentifier;
- CS60UIExampleModel& iModel;
- };
- #line 6 "C:\gbtukmanpf01\NOK124\Courses\S60\05300-S60_C++_Introduction\Working\LabCode\Lab_05304-s2.cb1\starter\src\S60UIExampleappui.cpp" /* stack depth 0 */
- #line 1 "C:\gbtukmanpf01\NOK124\Courses\S60\05300-S60_C++_Introduction\Working\LabCode\Lab_05304-s2.cb1\starter\inc\S60UIExamplePlayView.h" /* stack depth 1 */
- #line 14
- class CS60UIExamplePlayContainer;
- class CS60UIExampleModel;
- class CAknIconArray;
- class CS60UIExamplePlayView: public CAknView
- {
- public:
- #line 35
- static CS60UIExamplePlayView* NewL(CS60UIExampleModel& aModel);
- #line 44
- static CS60UIExamplePlayView* NewLC(CS60UIExampleModel& aModel);
- virtual ~CS60UIExamplePlayView();
- public:
- TUid Id() const;
- void HandleCommandL(TInt aCommand);
- #line 78
- void DoActivateL(const TVwsViewId& aPrevViewId,
- TUid aCustomMessageId,
- const TDesC8& aCustomMessage);
- #line 89
- void DoDeactivate();
- void DynInitMenuPaneL(TInt aResourceId, CEikMenuPane* aMenuPane);
- private:
- CS60UIExamplePlayView(CS60UIExampleModel& aModel);
- void ConstructL();
- private:
- CS60UIExamplePlayContainer* iContainer;
- TUid iIdentifier;
- CS60UIExampleModel& iModel;
- };
- #line 7 "C:\gbtukmanpf01\NOK124\Courses\S60\05300-S60_C++_Introduction\Working\LabCode\Lab_05304-s2.cb1\starter\src\S60UIExampleappui.cpp" /* stack depth 0 */
- #line 1 "C:\gbtukmanpf01\NOK124\Courses\S60\05300-S60_C++_Introduction\Working\LabCode\Lab_05304-s2.cb1\starter\inc\S60UIExampleHighScoreView.h" /* stack depth 1 */
- #line 12
- class CS60UIExampleModel;
- class CS60UIExampleHighScoreContainer;
- class CS60UIExampleHighScoreView : public CAknView
- {
- public:
- #line 31
- static CS60UIExampleHighScoreView* NewL(CS60UIExampleModel& aModel);
- virtual ~CS60UIExampleHighScoreView();
- public:
- virtual TUid Id() const;
- virtual void HandleCommandL (TInt aCommand);
- private:
- #line 64
- virtual void DoActivateL (const TVwsViewId& aPrevViewId,
- TUid aCustomMessageId,
- const TDesC8& aCustomMessage);
- virtual void DoDeactivate();
- private:
- CS60UIExampleHighScoreView(CS60UIExampleModel& aModel);
- void ConstructL();
- private:
- CS60UIExampleHighScoreContainer* iContainer;
- CS60UIExampleModel& iModel;
- };
- #line 8 "C:\gbtukmanpf01\NOK124\Courses\S60\05300-S60_C++_Introduction\Working\LabCode\Lab_05304-s2.cb1\starter\src\S60UIExampleappui.cpp" /* stack depth 0 */
- #line 1 "C:\gbtukmanpf01\NOK124\Courses\S60\05300-S60_C++_Introduction\Working\LabCode\Lab_05304-s2.cb1\starter\inc\S60UIExampleModel.h" /* stack depth 1 */
- #line 18
- class THighScore
- {
- public:
- TInt iScore;
- TBufC<20> iName;
- };
- #line 32
- class CS60UIExampleModel : public CBase
- {
- public:
- static CS60UIExampleModel* CS60UIExampleModel::NewL();
- static CS60UIExampleModel* CS60UIExampleModel::NewLC();
- void ConstructL();
- virtual ~CS60UIExampleModel();
- public:
- TBool IsGameStarted() const { return iGameStarted; }
- TBool IsGamePaused() const { return iGamePaused; }
- void GameStart() { iGameStarted = ETrue; iLevel = 1; iScore = 0; }
- void GameStop() { iGameStarted = EFalse; }
- void GamePause() { iGamePaused = ETrue; }
- void GameContinue() { iGameStarted = ETrue; iGamePaused = EFalse; }
- TInt LevelNumber() { return iLevel; }
- void SetLevelNumber(TInt aLevel) { iLevel = aLevel; }
- TInt Score() { return iScore; }
- void SetScore(TInt aScore) { iScore = aScore; }
- RArray<THighScore> * HighScoreArray() { return &iHighScores; }
- void InsertInHighScoresL(TDesC& aName, TInt aScore);
- private:
- TBool iGameStarted;
- TBool iGamePaused;
- TInt iLevel;
- TInt iScore;
- RArray<THighScore> iHighScores;
- };
- #line 9 "C:\gbtukmanpf01\NOK124\Courses\S60\05300-S60_C++_Introduction\Working\LabCode\Lab_05304-s2.cb1\starter\src\S60UIExampleappui.cpp" /* stack depth 0 */
- void CS60UIExampleAppUi::ConstructL()
- {
- BaseConstructL();
- iModel = CS60UIExampleModel::NewL();
- iAppInitialView = CS60UIExampleInitialView::NewL(*iModel);
- iAppPlayView = CS60UIExamplePlayView::NewL(*iModel);
- iAppHighScoreView = CS60UIExampleHighScoreView::NewL(*iModel);
- AddViewL(iAppInitialView);
- AddViewL(iAppPlayView);
- AddViewL(iAppHighScoreView);
- SetDefaultViewL(*iAppInitialView);
- }
- CS60UIExampleAppUi::~CS60UIExampleAppUi()
- {
- delete iModel;
- }
- void CS60UIExampleAppUi::HandleCommandL(TInt aCommand)
- {
- switch (aCommand)
- {
- case 0x100 :
- case EAknSoftkeyExit:
- Exit();
- break;
- default:
- Panic(ES60UIExampleBasicUi);
- break;
- }
- }