S60UIExamplePlayView.inc
上传用户:laixiong
上传日期:2007-03-11
资源大小:2994k
文件大小:1975k
源码类别:
Symbian
开发平台:
C/C++
- __declspec(dllexport) CEikScrollBar* GetScrollBarHandle(CEikScrollBar::TOrientation aOrientation) const;
- __declspec(dllexport) CEikScrollBar* VerticalScrollBar() const;
- #line 315
- __declspec(dllexport) void SetTypeOfHScrollBar(TScrollBarType aType);
- #line 324
- __declspec(dllexport) void SetTypeOfVScrollBar(TScrollBarType aType);
- __declspec(dllexport) TScrollBarType TypeOfHScrollBar() const;
- __declspec(dllexport) TScrollBarType TypeOfVScrollBar() const;
- __declspec(dllexport) TBool IsArrowHeadScrollBar(TInt aFlag) const;
- #line 356
- void DisconnectExternalScrollBar(CEikScrollBar* aScrollBar);
- #line 397
- __declspec(dllexport) void CreateDoubleSpanScrollBarsL(TBool aWindowOwning, TBool aRemote);
- #line 421
- __declspec(dllexport) void CreateDoubleSpanScrollBarsL(TBool aWindowOwning, TBool aRemote, TBool aVertical, TBool aHorizontal);
- #line 438
- __declspec(dllexport) void Tile(TEikScrollBarModel* aVModel, TRect& aVScrollBar);
- #line 448
- __declspec(dllexport) void Tile(TEikScrollBarModel* aHModel, TEikScrollBarModel* aVModel);
- #line 462
- __declspec(dllexport) TScrollBarVisibility ScrollBarVisibility(CEikScrollBar::TOrientation aOrientation) const;
- public:
- CEikScrollBar* HorizontalScrollBar() const;
- protected:
- void SetParentWindow(CCoeControl* aParentWindow);
- CCoeControl* ParentWindow() const;
- protected:
- struct SBarData
- {
- CEikScrollBar * iBar;
- TEikScrollBarModel iModel;
- TScrollBarVisibility iVisibility;
- TBool iExternalScrollBarAttached;
- };
- private:
- void CalcTheoreticalScrollBarVisibility(const TEikScrollBarModel* aVModel);
- void ApplyModel(SBarData& aSBar);
- void MakeSBarVisible(SBarData& aSBar, TBool aVisible);
- void GetScrollBars(TBool aDoubleSpan);
- CEikCba* GetCurrentCba();
- void DeleteScrollBars();
- void CreateArrowHeadScrollBarsL();
- void CalcTheoreticalScrollBarVisibility(const TEikScrollBarModel* aVModel, const TEikScrollBarModel* aHModel);
- protected:
- SBarData iV;
- private:
- CEikScrollBarFrameExtension* iExtension;
- TInt iScrollBarFrameFlags;
- friend class CEikScrollBarFrameExtension;
- };
- inline CEikScrollBarFrame::TScrollBarVisibility CEikScrollBarFrame::VScrollBarVisibility() const
- { return iV.iVisibility; }
- inline void CEikScrollBarFrame::SetScrollBarFrameFlags(TInt aMask)
- { iScrollBarFrameFlags|=aMask; }
- class CEikCbaScrollBarFrame : public CEikScrollBarFrame
- {
- public:
- CEikCbaScrollBarFrame(CCoeControl* aParentWindow, MEikScrollBarObserver* aObserver, TBool aPreAlloc=EFalse);
- void ConstructL();
- void SwitchToArrowHeadScrollBarL();
- };
- #line 26 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikcba.h" /* stack depth 3 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikimage.h" /* stack depth 4 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikalign.h" /* stack depth 5 */
- #line 23
- class CEikAlignedControl : public CAknControl
- {
- public:
- __declspec(dllexport) CEikAlignedControl();
- __declspec(dllexport) ~CEikAlignedControl();
- __declspec(dllexport) void SetAllMarginsTo(TInt aValue);
- __declspec(dllexport) void SetAlignment(TGulAlignmentValue aAlign);
- public:
- __declspec(dllexport) void HandlePointerEventL(const TPointerEvent& aPointerEvent);
- protected:
- __declspec(dllexport) void WriteInternalStateL(RWriteStream& aWriteStream) const;
- private:
- __declspec(dllexport) void* ExtensionInterface( TUid aInterface );
- public:
- TMargins8 iMargin;
- TGulAlignment iAlignment;
- private:
- TInt iSpare[2];
- };
- #line 10 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikimage.h" /* stack depth 4 */
- class CFbsBitmap;
- class CBitmapContext;
- class CEikImage : public CEikAlignedControl
- {
- public:
- __declspec(dllexport) CEikImage();
- __declspec(dllexport) ~CEikImage();
- public:
- __declspec(dllexport) TSize MinimumSize();
- __declspec(dllexport) void ConstructFromResourceL(TResourceReader& aReader);
- public:
- __declspec(dllexport) void CreatePictureFromFileL(const TDesC& aFilename,TInt aMainId,TInt aMaskId=-1);
- __declspec(dllexport) void SetPicture(const CFbsBitmap* aBitmap,const CFbsBitmap* aMaskBitmap=0 );
- __declspec(dllexport) void SetEmphasis(TBool aEmphasis);
- __declspec(dllexport) void SetPictureOwnedExternally(TBool aOwnership);
- __declspec(dllexport) const CFbsBitmap* Bitmap() const;
- __declspec(dllexport) const CFbsBitmap* Mask() const;
- __declspec(dllexport) void SetBitmap(const CFbsBitmap* aBitmap);
- __declspec(dllexport) void SetMask(const CFbsBitmap* aMaskBitmap);
- __declspec(dllexport) void SetNewBitmaps(const CFbsBitmap* aNewBitmap,const CFbsBitmap* aNewMask);
- __declspec(dllexport) TBool IsPictureOwnedExternally();
- __declspec(dllexport) void SetBrushStyle(CGraphicsContext::TBrushStyle aBrushStyle);
- public:
- __declspec(dllexport) void HandlePointerEventL(const TPointerEvent& aPointerEvent);
- protected:
- __declspec(dllexport) void WriteInternalStateL(RWriteStream& aWriteStream) const;
- private:
- __declspec(dllexport) void Draw(const TRect& aRect) const;
- __declspec(dllexport) void Reserved_2();
- private:
- __declspec(dllexport) void* ExtensionInterface( TUid aInterface );
- private:
- const CFbsBitmap* iBitmap;
- const CFbsBitmap* iMaskBitmap;
- TInt iImFlags;
- TInt iSpare;
- CGraphicsContext::TBrushStyle iBrushStyle;
- };
- #line 29 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikcba.h" /* stack depth 3 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\akncontrol.h" /* stack depth 4 */
- #line 30 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikcba.h" /* stack depth 3 */
- class CEikLabel;
- class CEikCbaButton;
- class CCoeBrushAndPenContext;
- class MEikCommandObserver;
- class TCoeColorUse;
- class CEikScrollBar ;
- class TEikScrollBarModel;
- class CEikCbaExtension;
- class CEikEnhancedCbaButton;
- class TAknsItemID;
- class CEikCommandTable;
- const TInt KMaxCbaLabelLength = 32;
- const TInt KMaxButtonsInCommandTable = 4;
- class CEikCba : public CEikControlGroup, public MEikEnhancedButtonGroup, public MEikScrollBarObserver
- {
- public:
- enum { ETypeId = 0x101F4105 };
- static CEikCba* NewL(const CEikCba* aPrevious,MEikCommandObserver* aCommandObserver,RWindowGroup* aParentWg);
- static CEikCba* NewL(TInt aResourceId,const CEikCba* aPrevious,MEikCommandObserver* aCommandObserver,RWindowGroup* aParentWg);
- static CEikCba* NewLC(const CEikCba* aPrevious,MEikCommandObserver* aCommandObserver,RWindowGroup* aParentWg);
- static CEikCba* NewLC(TInt aResourceId,const CEikCba* aPrevious,MEikCommandObserver* aCommandObserver,RWindowGroup* aParentWg);
- ~CEikCba();
- public:
- TInt MaxCommands() const;
- void UpdateCbaLabels(TBool aScrollerOn);
- void SetSBFrameObserver(MEikScrollBarObserver* aObserver);
- void SetScrollBarModelL(TEikScrollBarModel* aModel);
- const CEikCbaScrollBarFrame* ScrollBarFrame() const;
- CEikScrollBar * VScrollBarAsControl();
- void CreateArrowHeadScrollBarL();
- public:
- void InsertControlL(TEikGroupControl& aGroupControl,TInt aIndex);
- public:
- void SetCommandL(TInt aPosition,TInt aCommandId,const TDesC* aText,const CFbsBitmap* aBitmap,const CFbsBitmap* aMask);
- void SetCommandL(TInt aPosition,TInt aResourceId);
- void SetCommandSetL(TInt aResourceId);
- void AddCommandL(TInt aPosition,TInt aCommandId,const TDesC* aText,const CFbsBitmap* aBitmap,const CFbsBitmap* aMask);
- void AddCommandToStackL(TInt aPosition,TInt aCommandId,const TDesC* aText,const CFbsBitmap* aBitmap,const CFbsBitmap* aMask);
- void AddCommandToStackL(TInt aPosition,TInt aResourceId);
- void AddCommandSetToStackL(TInt aResourceId);
- void SetDefaultCommand(TInt aCommandId);
- TSize CalcMinimumSizeL(TInt aResourceId);
- void RemoveCommandFromStack(TInt aPosition,TInt aCommandId);
- TInt CommandPos(TInt aCommandId) const;
- void DimCommand(TInt aCommandId,TBool aDimmed);
- TBool IsCommandDimmed(TInt aCommandId) const;
- void MakeCommandVisible(TInt aCommandId,TBool aVisible);
- TBool IsCommandVisible(TInt aCommandId) const;
- void AnimateCommand(TInt aCommandId);
- CCoeControl* AsControl();
- const CCoeControl* AsControl() const;
- void SetBoundingRect(const TRect& aBoundingRect);
- void ReduceRect(TRect& aBoundingRect) const;
- CCoeControl* GroupControlById(TInt aCommandId);
- CCoeControl* GroupControlById(TInt aCommandId) const;
- TInt CommandId(TInt aCommandPos) const;
- TInt ButtonCount() const;
- void RemovePreviousCommand(TInt aPosition);
- CEikCommandButton* GroupControlAsButton(TInt aCommandId) const ;
- TUint ButtonGroupFlags() const ;
- __declspec(dllexport) void SetButtonGroupFlags(TInt aFlags);
- #line 126
- __declspec(dllexport) void SetSkinBackgroundId(const TAknsItemID& aIID);
- public:
- virtual void Reserved_MtsmPosition();
- virtual void Reserved_MtsmObject();
- public:
- TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
- TSize MinimumSize();
- void GetColorUseListL(CArrayFix<TCoeColorUse>& aColorUseList) const;
- void HandleResourceChange(TInt aType);
- void HandlePointerEventL(const TPointerEvent& aPointerEvent);
- public:
- __declspec(dllexport) void OfferCommandListL(const RArray<TInt>& aCommandList);
- __declspec(dllexport) void OfferCommandListL(const TInt aResourceId);
- __declspec(dllexport) TBool IsCommandInGroup(const TInt aCommandId) const;
- __declspec(dllexport) void ReplaceCommand(const TInt aCommandId, const TInt aResourceId);
- private:
- __declspec(dllexport) void* ExtensionInterface( TUid aInterface );
- protected:
- virtual void HandleScrollEventL(CEikScrollBar* aScrollBar,TEikScrollEvent aEventType);
- protected:
- TTypeUid::Ptr MopSupplyObject(TTypeUid aId);
- void Draw(const TRect& aRect) const;
- private:
- CEikCba(const CEikCba* aPrevious,MEikCommandObserver* aCommandObserver,RWindowGroup* aParentWg);
- void BaseConstructL();
- void ConstructL(TInt aResourceId);
- void ConstructFromResourceL(TResourceReader& aReader);
- CEikCbaButton* ButtonById(TInt aCommandId) const;
- void CreateScrollBarFrameL();
- void InsertScrollBarL();
- TEikGroupControl VScrollBarAsGroupControl();
- void CheckSkinAndUpdateContext();
- TInt AknLayoutFlags() const;
- void SizeChangedInControlPane();
- void SizeChangedInStaconPane();
- void UpdateFonts();
- private:
- void SizeChanged();
- private:
- TUint iCbaFlags;
- const CEikCba* iLink;
- CCoeBrushAndPenContext* iBrushAndPenContext;
- MEikCommandObserver* iCommandObserver;
- CEikCbaScrollBarFrame* iSBFrame;
- CEikCbaExtension* iExtension;
- RWindowGroup* iParentWg;
- CEikCommandTable* iCommandTable;
- };
- class CEikCbaButton : public CAknControl
- {
- public:
- struct SButtonOptions
- {
- TInt iCommandId;
- TBool iDimmed;
- };
- public:
- ~CEikCbaButton();
- void ConstructL(TGulAlignmentValue aAlignment);
- public:
- void AddCommandL(const TDesC& aText);
- void PushCommandL(TInt aCommandId,const TDesC& aText);
- TInt PopCommand();
- void RemoveCommand(TInt aCommandId);
- void RemovePreviousCommand();
- void SwitchToShortTextL(TBool aShortText);
- void SetLabelFont(const CFont* aLabelFont);
- void TruncateLabelText();
- public:
- void SetContainerWindowL(const CCoeControl& aContainer);
- void ConstructFromResourceL(TResourceReader& aReader, TGulAlignmentValue anAlignment);
- TSize MinimumSize();
- void SetDimmed(TBool aDimmed);
- __declspec(dllexport) void HandlePointerEventL(const TPointerEvent& aPointerEvent);
- public:
- void SetImage(CEikImage &aImage);
- void ReplaceImageByLabel();
- inline TBool IsImageOn() const {return iDoImage;};
- protected:
- TInt IndexFromCommandId(TInt aCommandId);
- void UpdateLabelText(TPtrC aLabelText);
- private:
- TInt CountComponentControls() const;
- CCoeControl* ComponentControl(TInt aIndex) const;
- void SizeChanged();
- private:
- __declspec(dllexport) void* ExtensionInterface( TUid aInterface );
- protected:
- TBuf<KMaxCbaLabelLength> iFullLabelText;
- TPtrC iLongLabelText;
- TPtrC iShortLabelText;
- CEikLabel* iLabel;
- CDesCArray* iText;
- CArrayFix<SButtonOptions> * iButtonOptions;
- CEikImage* iImage;
- TBool iDoImage;
- TInt iSpare;
- };
- class CEikEnhancedCbaButton : public CEikCbaButton
- {
- public:
- CEikEnhancedCbaButton();
- ~CEikEnhancedCbaButton();
- TInt CommandType() const;
- void SetCommandType(const TInt aCommandType);
- TInt CommandId() const;
- void ConstructFromResourceL(TResourceReader& aReader);
- void ConstructEmptyButtonL();
- TPtrC* LabelText();
- private:
- TInt iCommandType;
- TInt iCommandId;
- };
- #line 322
- class CEikCommandTable : public CBase
- {
- public:
- static CEikCommandTable* NewL();
- static CEikCommandTable* NewLC();
- ~CEikCommandTable();
- TInt AddCommandL(CEikEnhancedCbaButton* aButton);
- TBool IsCommandPlaced(const TInt aCommandId) const;
- void ReplaceCommandL(const TInt aCommandId, const TInt aResourceId);
- CEikEnhancedCbaButton* Command(const TInt aCommandIndex);
- void Reset();
- private:
- CEikCommandTable();
- void ConstructL();
- private:
- TFixedArray<CEikEnhancedCbaButton*, KMaxButtonsInCommandTable> iCommandButtons;
- RArray< RArray<TInt> > iPriorities;
- };
- #line 26 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknappui.h" /* stack depth 2 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\avkon.hrh" /* stack depth 3 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikon.hrh" /* stack depth 4 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\lafpublc.hrh" /* stack depth 5 */
- #line 23
- enum TLafReferenceButtonGroupControls
- {
- ELafBgCba=100
- };
- #line 6 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikon.hrh" /* stack depth 4 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikcolor.hrh" /* stack depth 5 */
- #line 8 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikon.hrh" /* stack depth 4 */
- #line 86
- enum TAknEditorNumericKeymap
- {
- EAknEditorStandardNumberModeKeymap,
- EAknEditorPlainNumberModeKeymap,
- EAknEditorCalculatorNumberModeKeymap,
- EAknEditorConverterNumberModeKeymap,
- EAknEditorToFieldNumberModeKeymap,
- EAknEditorFixedDiallingNumberModeKeymap,
- EAknEditorSATNumberModeKeymap,
- EAknEditorSATHiddenNumberModeKeymap,
- EAknEditorAlphanumericNumberModeKeymap,
- EAknEditorReservedInternalUseKeymap = 100
- };
- #line 175
- enum EEikLabelStandardFont
- {
- EEikLabelFontNormal,
- EEikLabelFontLegend,
- EEikLabelFontAnnotation
- };
- #line 436
- enum TEikStockControls
- {
- EEikCtCommandButton,
- EEikCtLabeledButton,
- EEikCtEdwin,
- EEikCtRichTextEditor,
- EEikCtSecretEd,
- EEikCtCheckBox,
- EEikCtChoiceList,
- EEikCtOptionButton,
- EEikCtHorOptionButList,
- EEikCtFileNameSel,
- EEikCtFileNameEd,
- EEikCtFolderNameSel,
- EEikCtFolderNameEd,
- EEikCtDriveNameSel,
- EEikCtListBox,
- EEikCtCharMap,
- EEikCtCharEd,
- EEikCtImage,
- EEikCtImageArray,
- EEikCtLabel,
- EEikCtComboBox,
- EEikCtProgInfo,
- EEikCtFlPtEd,
- EEikCtFxPtEd,
- EEikCtTwipsEd,
- EEikCtNumberEditor,
- EEikCtRangeEditor,
- EEikCtTimeEditor,
- EEikCtDateEditor,
- EEikCtTimeAndDateEditor,
- EEikCtDurationEditor,
- EEikCtTimeOffsetEditor,
- EEikCtLatitudeEditor_Not_Supported,
- EEikCtLongitudeEditor_Not_Supported,
- EEikCtBorderPreview,
- EEikCtFontPreview,
- EEikCtGraySelector,
- EEikCtWorldSelector,
- EEikCtGlobalTextEditor,
- EEikCtSoundSelector,
- EEikCtClock,
- EEikCtPrintPreview,
- EEikCtMenuButton,
- EEikCtDirContentsListBox,
- EAknCtIpFieldEditor,
- EEikCtCalendar,
- EEikCtSpacer,
- EEikCtColListBox,
- EEikCtRangeRefEditor,
- EEikCtTextButton,
- EEikCtBitmapButton,
- EEikCtDialogToolBar,
- EEikCtFileBrowser,
- EEikCtFileNameLabel,
- EEikCtUnifiedFileSel,
- EEikCtTelephoneNumberEditor,
- EEikCtTwoPictureCommandButton,
- EEikCtInverterCommandButton,
- EEikCtScrollBar,
- EEikCtArrowHeadScrollBar
- };
- enum TEikStockButtonGroupControls
- {
- EEikBgToolBar,
- EEikBgButtonPanel,
- EEikBgCba
- };
- #line 923
- enum
- {
- EDialDlgButFreeDial=1,
- EDialDlgButDial,
- EDialDlgButDialOut,
- EFreeDialDlgButClear,
- EFreeDialDlgButRedial,
- EDialDlgEdwin1,
- EDialDlgEdwin2,
- EDialDlgEdwin3,
- EDialDlgEdwin4,
- EDialDlgEdwin5,
- EFreeDialDlgEdwin
- };
- #line 1082
- enum TEikProgressTextType
- {
- EEikProgressTextNone,
- EEikProgressTextPercentage,
- EEikProgressTextFraction
- };
- #line 1152
- enum
- {
- EEikCidImageType=1
- };
- enum
- {
- EEikPopupOnTop = 1100,
- EEikPopupGone
- };
- enum
- {
- EEikKeyLockEnabled = 1110,
- EEikKeyLockDisabled = 1111,
- EEikLeyLockDisabled = 1111,
- EEikKeyLockPowerKeyPressed
- };
- enum
- {
- EEikHeapFailSettingListId = 999
- };
- enum TEikCommandOperationTypes
- {
- EEikCommandTypeAnyCommand,
- EEikCommandTypeMenu,
- EEikCommandTypeOpenItem,
- EEikCommandTypeDeleteItem,
- EEikCommandTypeOperatesItem,
- EEikCommandTypeCreateItem,
- EEikCommandTypePositiveAnswer,
- EEikCommandTypeNegativeAnswer,
- EEikCommandTypeCancel,
- EEikCommandTypeExitOrBack,
- EEikCommandTypeExitApplication
- };
- #line 29 "C:\Symbian\9.1\S60_3rd\epoc32\include\avkon.hrh" /* stack depth 3 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknfontcategory.hrh" /* stack depth 4 */
- #line 37
- enum TAknFontCategory
- {
- EAknFontCategoryUndefined = 0 ,
- EAknFontCategoryPrimary = 1 ,
- EAknFontCategorySecondary = 2 ,
- EAknFontCategoryTitle = 3 ,
- EAknFontCategoryPrimarySmall = 4 ,
- EAknFontCategoryDigital = 5
- };
- #line 32 "C:\Symbian\9.1\S60_3rd\epoc32\include\avkon.hrh" /* stack depth 3 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknfontidoffsets.hrh" /* stack depth 4 */
- #line 34
- enum {EScalableFontIdOffset = (0x1000) };
- #line 33 "C:\Symbian\9.1\S60_3rd\epoc32\include\avkon.hrh" /* stack depth 3 */
- #line 164
- enum
- {
- EAknApplicationIconWidth = 42,
- EAknApplicationIconHeight = 29
- };
- #line 195
- enum
- {
- EAknDummyForProcessCommands=4000,
- EAknMarkAll,
- EAknUnmarkAll,
- EAknCmdHelp,
- EAknCmdAddToPinboard,
- EAknCmdFindPopupActivated,
- EAknCmdEditModeT9,
- EAknCmdEditModeMultitap,
- EAknCmdEditModeNumber,
- EAknCmdEditInsertNumber,
- EAknCmdEditInsertSymbol,
- EAknCmdInputLanguage,
- EAknCmdPredictiveTextCascade,
- EAknCmdT9PredictiveMatches,
- EAknCmdT9PredictiveInsertWord,
- EAknCmdT9PredictiveEditWord,
- EAknCmdT9PredictiveT9Off,
- EAknCmdMultitapPredictiveT9On,
- EAknCmdExit,
- EAknCmdEditTextMenu,
- EAknCmdEditListMenu,
- EAknCmdMark,
- EAknCmdUnmark,
- EAknCmdOpen,
- EChinFepCmdInstructions,
- EChinFepCmdModePinyin,
- EChinFepCmdModeZhuyin,
- EChinFepCmdModeStroke,
- EChinFepCmdModeLatinUpper,
- EChinFepCmdModeLatinLower,
- EChinFepCmdModeNumber,
- EChinFepCmdModeZhuyinFind,
- EChinFepCmdModeStrokeFind,
- EAknCmdEditModeArabicIndicNumber,
- EAknCmdEditModeAlpha,
- EAknCmdEditModeLatinText,
- EJapanFepCmdModeHiragana,
- EJapanFepCmdModeKatakana,
- EJapanFepCmdModePictographs,
- EJapanFepCmdModeFullWidth,
- EJapanFepCmdModeHalfWidth,
- EJapanFepCmdModePredictiveOn,
- EJapanFepCmdModePredictiveOff,
- EJapanFepCmdModeUserDic,
- EJapanFepCmdModeKutenCodeInput,
- EAknCmdEditInsertPictograph,
- EJapanFepCmdPredictiveTextCascade,
- EJapanFepCmdMultitapPredictiveT9On,
- EJapanFepCmdEditModeAlpha,
- EJapanFepCmdEditModeNumber,
- EAknCmdInputMethod,
- EChinFepCmdModeCangJie,
- EChinFepCmdModeCangJieOption,
- EAknCmdEditMenuSctSelected,
- EAknCmdEnd
- };
- enum
- {
- EAknSoftkeyOk = -2 ,
- EAknSoftkeyCancel = -1 ,
- EAknSoftkeySelect = -6 ,
- EAknSoftkeyOptions= 3000,
- EAknSoftkeyBack,
- EAknSoftkeyMark,
- EAknSoftkeyUnmark,
- EAknSoftkeyInsert,
- EAknSoftkeyYes,
- EAknSoftkeyNo,
- EAknSoftkeyDone,
- EAknSoftkeyClose,
- EAknSoftkeyExit,
- EAknSoftkeyClear,
- EAknSoftkeyUnlock,
- EAknSoftkeySave,
- EAknSoftkeyShow,
- EAknSoftkeyListen,
- EAknSoftkeyRead,
- EAknSoftkeySearch,
- EAknSoftkeyEmpty,
- EAknSoftkeyLock,
- EAknSoftkeyCall,
- EAknSoftkeyAgain,
- EAknSoftkeyQuit,
- EAknSoftkeyDetails,
- EAknSoftkeyNext,
- EAknSoftkeyOther,
- EAknSoftkeyEdit,
- EAknSoftkeyOpen,
- EAknSoftkeySend,
- EAknSoftkeyView
- };
- enum {
- EAknSoftkeyDummyUsedWithShortcuts = 3200
- };
- enum
- {
- EAknCBAFlagRespondWhenInvisible = 0x02
- };
- #line 342
- enum
- {
- EAknCtTest = 5699 ,
- EAknControlIdBase = 5700,
- EAknCtFormattedListBox,
- EAknCtSingleListBox,
- EAknCtSingleNumberListBox,
- EAknCtSingleHeadingListBox,
- EAknCtSingleGraphicListBox,
- EAknCtSingleGraphicHeadingListBox,
- EAknCtSingleNumberHeadingListBox,
- EAknCtSingleLargeListBox,
- EAknCtDoubleListBox,
- EAknCtDoubleNumberListBox,
- EAknCtDoubleTimeListBox,
- EAknCtDoubleLargeListBox,
- EAknCtDoubleGraphicListBox,
- EAknCtSettingListBox,
- EAknCtSettingNumberListBox,
- EAknCtSinglePopupMenuListBox,
- EAknCtSingleGraphicPopupMenuListBox,
- EAknCtSingleGraphicHeadingPopupMenuListBox,
- EAknCtMenuDoublePopupMenuListBox,
- EAknCtSinglePopupSubmenuListBox,
- EAknCtDoubleLargeGraphicPopupMenuListBox,
- EAknCtSingleHeadingPopupMenuListBox,
- EAknSetListBox,
- EAknFormGraphicListBox,
- EAknCtAppGrid,
- EAknCtPinbGrid,
- EAknCtQdialGrid,
- EAknCtCaleMonthGrid,
- EAknCtTitlePane,
- EAknCtContextPane,
- EAknCtNaviPane,
- EAknCtSignalPane,
- EAknCtBatteryPane,
- EAknCtIndicatorPane,
- EAknCtIdleContextPane,
- EAknCtNote,
- EAknCtQuery,
- EAknCtMultilineQuery,
- EAknCtPopupField,
- EAknCtPopupFieldText,
- EAknCtFormLabelEditor,
- EAknCtLAF,
- EAknCtPopupHeadingPane,
- EAknCtSearchField,
- EAknCtSettingPage,
- EAknCtVolumeControl,
- EAknCtSlider,
- EAknCtListQueryControl,
- EAknCtSpecialCharacterMap,
- EAknPhoneNumberEditor,
- EAknCtNumericSecretEditor,
- EAknCtPopupSettingList,
- EAknCtMessageQuery,
- EAknCtIntegerEdwin,
- EAknCtFloatingPointEdwin,
- EAknCtSelectionListFixedFind,
- EAknCtSelectionListPopupFind,
- EAknCtEmptyList,
- EAknCtDouble2GraphicListBox,
- EAknCtDouble2LargeListBox,
- EAknCtDouble2PopupMenuListBox,
- EAknCtSingle2GraphicListBox,
- EAknCtDouble2GraphicLargeListBox,
- EAknCtColourSelectionDialogNoneField,
- EAknCtColourSelectionDialogGrid,
- EAknCtListQuerySearchControl,
- EAknExtCtQuery,
- EAknExtCtMultilineQuery,
- EAknCtBitmapAnimation,
- EAknCtButton,
- EAknCtSingle2GraphicPopupMenuListBox,
- EAknCtDoubleGraphicPopupMenuListBox,
- EAknCtColourSelectionGridDialog,
- EAknCtLastControlId = 0x2000
- #line 489
- };
- enum
- {
- ENaviDecoratorControlNone,
- ENaviDecoratorControlTabGroup,
- ENaviDecoratorLabel,
- ENaviDecoratorImage,
- ENaviDecoratorToolTip
- };
- enum
- {
- EAknTabWidthWithTwoTabs = 36,
- EAknTabWidthWithTwoLongTabs = 74,
- EAknTabWidthWithThreeTabs = 22,
- EAknTabWidthWithThreeLongTabs = 67,
- EAknTabWidthWithFourTabs = 18,
- EAknTabWidthWithOneTab = 107
- };
- enum
- {
- EGeneralLayout = 1,
- EConfirmationLayout,
- EProgressLayout,
- ENoteWithImageLayout,
- ETextualNotificationLayout,
- ENotificationWithGraphicsLayout,
- EAknNoteControlAnimationCreationFailed,
- EWaitLayout
- };
- enum
- {
- EAknInvalidBorderCount = 1,
- EAknInvalidDimensionArrayOutOfBounds,
- EAknNoNoteControlDimensionDefined,
- EAknNoteControlNullArgumentUsed
- };
- enum EAknNoteItemType {
- EAknNoteNoType = 1,
- EAknNoteBitmap,
- EAknNoteNumberTypeIndication,
- EAknNoteProgressBar,
- EAknNoteLabel,
- EAknNoteAnimation
- };
- enum TNoteCtrlIds
- {
- EGeneralNote = 1
- };
- #line 562
- enum
- {
- EDataLayout=1,
- EConfirmationQueryLayout,
- ECodeLayout,
- ETimeLayout,
- EDateLayout,
- EListLayout,
- EMultiListLayout,
- EMultiLineDataLayout,
- EDurationLayout,
- ETextSoftNotification,
- ENumberLayout,
- EPinLayout,
- EPhoneLayout,
- EMessageQueryLayout,
- EStaticSizeDataLayout,
- EFloatingPointLayout,
- EIpLayout,
- EFixedPointLayout,
- EDataLayoutAllowEmptyInput
- };
- enum
- {
- ETextEditor=1,
- ESecretEditor,
- ETimeEditor,
- EDateEditor,
- ENumberEditor,
- EDurationEditor,
- EIpEditor,
- EFixedPointEditor
- };
- enum EAknMultilineDataLayout
- {
- EMultiDataFirstEdwin = 1,
- EMultiDataSecondEdwin,
- EMultiDataFirstSecEd,
- EMultiDataSecondSecEd,
- EMultiDataFirstTimeEd,
- EMultiDataSecondTimeEd,
- EMultiDataFirstDateEd,
- EMultiDataSecondDateEd,
- EMultiDataFirstDurEd,
- EMultiDataSecondDurEd,
- EMultiDataFirstPhoneEd,
- EMultiDataSecondPhoneEd,
- EMultiDataFirstNumEd,
- EMultiDataSecondNumEd,
- EMultiDataFirstPinEd,
- EMultiDataSecondPinEd,
- EMultiDataFirstIpEd,
- EMultiDataSecondIpEd
- };
- enum TQueryCtrlIds
- {
- EGeneralQuery = 0x500,
- EMultilineFirstLine,
- EMultilineSecondLine
- };
- enum TListQueryCtrlIds
- {
- EListQueryMainInboxList = 1,
- EListQueryMainDraftList,
- EListQueryMainOutboxList,
- EListQueryAppViewLabel,
- EListQueryMsgEditField,
- EListQueryHeading,
- EListQueryControl
- };
- enum TSelectionListCtrlIds
- {
- ESelectionListControl = 1,
- EFindControl,
- EAknEmptyListControl,
- EAknListQueryMessageBox
- };
- enum
- {
- ELayoutNoCmd =1,
- ELayoutOptional,
- ELayoutRightSeparator,
- ELayoutTransparentCell,
- ELayoutItemMark,
- ELayoutNotFilled,
- ELayoutNotAlwaysDrawn
- };
- enum {
- ELayoutAlignNone,
- ELayoutAlignCenter,
- ELayoutAlignLeft,
- ELayoutAlignRight,
- ELayoutAlignBidi
- };
- enum
- {
- EAknEditorAlignNone = ELayoutAlignNone,
- EAknEditorAlignCenter = ELayoutAlignCenter,
- EAknEditorAlignLeft = ELayoutAlignLeft,
- EAknEditorAlignRight = ELayoutAlignRight,
- EAknEditorAlignBidi = ELayoutAlignBidi
- };
- enum
- {
- EAknEditorCharactersUpperCase = 0x1 ,
- EAknEditorCharactersLowerCase = 0x2 ,
- EAknEditorCharactersTextCase = 0x4
- };
- enum {
- EFontNone = 0,
- ELatinPlain12,
- ELatinBold12,
- ELatinBold13,
- ELatinBold17,
- ELatinBold19,
- ENumberPlain5,
- EClockBold30,
- ELatinClock14,
- EFontCustom,
- EPlain12,
- EPlain16,
- EApacPlain12 = EPlain12,
- EApacPlain16 = EPlain16,
- EBold18,
- EBold24,
- ELatinBold16,
- ECalcBold21,
- ECalcOperBold21,
- ECalcOperBold13,
- EHighestFixedLayoutFont = ((0x100-1))
- };
- enum TAknLogicalFontId
- {
- EAknLogicalFontPrimaryFont = ((0x100-1)) + 1 ,
- EAknLogicalFontSecondaryFont= ((0x100-1)) + 2 ,
- EAknLogicalFontTitleFont= ((0x100-1)) + 3 ,
- EAknLogicalFontPrimarySmallFont= ((0x100-1)) + 4 ,
- EAknLogicalFontDigitalFont= ((0x100-1)) + 5 ,
- EAknHighestLogicalFont = ((0x1000)-1)
- };
- enum
- {
- EAknLayoutFindPaneIconId = 1,
- EAknLayoutFindPaneEditorId,
- EAknLayoutMainPaneListGenPane,
- EAknLayoutMainPaneListGenPaneWithFindBox,
- EAknLayoutMainPaneFindPane,
- EAknListSinglePane,
- EAknListSingleNumberPane,
- EAknListSingleHeadingPane,
- EAknListSingleGraphicPane,
- EAknListSingleGraphicHeadingPane,
- EAknListSingleNumberHeadingPane,
- EAknListSingleLargeGraphicPane,
- EAknListDoubleNumberPane,
- EAknListDoubleTimePane,
- EAknListDoubleLargeGraphicPane,
- EAknListDoubleGraphicPane,
- EAknListSettingNumberPane,
- EAknLayoutFindPaneVShadow,
- EAknLayoutFindPaneHShadow,
- EAknLayoutFindPaneOutlineRect,
- EAknLayoutEmptyList1stLine,
- EAknLayoutEmptyList2ndLine
- };
- #line 782
- enum
- {
- EAknDialogQueryValueTextEditor1 = 1,
- EAknDialogQueryValueNumberEditor1,
- EAknDialogQueryValuePhoneEditor1,
- EAknDialogQueryValueTimeEditor1,
- EAknDialogQueryValueDateEditor1,
- EAknDialogQueryValueDurationEditor1,
- EAknFormQueryControl,
- EAknPopupFieldEmptyListNote
- };
- enum
- {
- EAknPopupSettingListFlagAllowsUserDefinedEntry = 0x001,
- EAknPopupSettingListFlagInitialised = 0x002
- };
- enum
- {
- EAknFormCmdEdit = 950,
- EAknFormCmdAdd,
- EAknFormCmdSave,
- EAknFormCmdLabel,
- EAknFormCmdDelete,
- EAknFormMaxDefault
- };
- enum
- {
- EAknFormSliderLayout1 =1,
- EAknFormSliderLayout2,
- EAknFormSliderLayout3,
- EAknSettingsItemSliderLayout,
- EAknSettingsItemSliderLayoutWithGraphics,
- EAknMIDPFormSliderLayout
- };
- enum
- {
- EAknSliderValueNone,
- EAknSliderValueBareFigure,
- EAknSliderValuePercentage,
- EAknSliderValueFraction,
- EAknSliderValueDecimal
- };
- enum
- {
- ESettingsVolumeControl,
- ENaviPaneVolumeControl,
- EPopupVolumeControl
- };
- enum
- {
- EAknIndicatorIrActive,
- EAknIndicatorEnvelope,
- EAknIndicatorEmailMessage,
- EAknIndicatorDataMessage,
- EAknIndicatorFaxMessage,
- EAknIndicatorOtherMessage,
- EAknIndicatorSecuredConnection,
- EAknIndicatorVoiceMailWaiting,
- EAknIndicatorVoiceMailWaitingOnLine1,
- EAknIndicatorVoiceMailWaitingOnLine2,
- EAknIndicatorVoiceMailWaitingOnBothLines,
- EAknIndicatorHomeZone,
- EAknIndicatorBluetooth,
- EAknIndicatorBluetoothModuleOn,
- EAknIndicatorOutbox,
- EAknIndicatorKeyguard,
- EAknIndicatorAllCallsForwarded,
- EAknIndicatorCallsForwardedOnLine1,
- EAknIndicatorCallsForwardedOnLine2,
- EAknIndicatorCallsForwardedOnBothLines,
- EAknIndicatorCallsForwardedToVoiceMailbox,
- EAknIndicatorSelectedLine,
- EAknIndicatorAlarmClock,
- EAknIndicatorHeadset,
- EAknIndicatorLoopset,
- EAknIndicatorIHFActive,
- EAknIndicatorInstantMessage,
- EAknIndicatorTTY,
- EAknIndicatorUSBConnection,
- EAknIndicatorMissedCalls,
- EAknIndicatorRemoteMailboxEmailMessage,
- EAknIndicatorLocation,
- EAknIndicatorHeadsetUnavailable,
- EAknIndicatorRoaming,
- EAknIndicatorLocationOn,
- EAknIndicatorLocationOff,
- EAknIndicatorPoC,
- EAknIndicatorWlanAvailable,
- EAknIndicatorWlanActive,
- EAknIndicatorWlanActiveSecure,
- EAknIndicatorCarkit,
- EAknIndicatorPoCDnD,
- EAknIndicatorPoCMissed,
- EAknIndicatorTvOut,
- EAknIndicatorVoIP,
- EAknIndicatorTARM,
- EAknIndicatorTARMModuleOn,
- EAknIndicatorMobileTV,
- EAknIndicatorMobileTVRec,
- EAknNaviPaneEditorIndicatorT9 = 100,
- EAknNaviPaneEditorIndicatorUpperCase,
- EAknNaviPaneEditorIndicatorLowerCase,
- EAknNaviPaneEditorIndicatorTextCase,
- EAknNaviPaneEditorIndicatorNumberCase,
- EAknNaviPaneEditorIndicatorQuery,
- EAknNaviPaneEditorIndicatorQwertyShift,
- EAknNaviPaneEditorIndicatorArabicCase = 130,
- EAknNaviPaneEditorIndicatorHebrewCase,
- EAknNaviPaneEditorIndicatorArabicIndicNumberCase,
- EAknNaviPaneEditorIndicatorDevanagariCase = 140,
- EAknNaviPaneEditorIndicatorDevanagariIndicNumberCase,
- EAknNaviPaneEditorIndicatorPinyin = 150,
- EAknNaviPaneEditorIndicatorZhuyin,
- EAknNaviPaneEditorIndicatorStroke,
- EAknNaviPaneEditorIndicatorZhuyinFind,
- EAknNaviPaneEditorIndicatorStrokeFind,
- EAknNaviPaneEditorIndicatorCangJie,
- EAknNaviPaneEditorIndicatorThai = 170,
- EAknNaviPaneEditorIndicatorStrokeTrad,
- EAknNaviPaneEditorIndicatorFarsiAndUrduCase,
- EAknNaviPaneEditorIndicatorAudioAttached = 200,
- EAknNaviPaneEditorIndicatorImageAttached,
- EAknNaviPaneEditorIndicatorObjects,
- EAknNaviPaneEditorIndicatorAttachment,
- EAknNaviPaneEditorIndicatorMessageLength,
- EAknNaviPaneEditorIndicatorMessageInfo,
- EAknNaviPaneEditorIndicatorWaitBar,
- EAknNaviPaneEditorIndicatorProgressBar,
- EAknNaviPaneEditorIndicatorSecuredConnection,
- EAknNaviPaneEditorIndicatorWmlWaitGlobe,
- EAknNaviPaneEditorIndicatorGprs,
- EAknNaviPaneEditorIndicatorFileSize,
- EAknNaviPaneEditorIndicatorWmlWindows,
- EAknNaviPaneEditorIndicatorMcePriorityHigh,
- EAknNaviPaneEditorIndicatorMcePriorityLow,
- EAknNaviPaneEditorIndicatorWmlWindowsText,
- EAknNaviPaneEditorIndicatorJapaneseHiraganaKanji = 300,
- EAknNaviPaneEditorIndicatorJapaneseHiragana,
- EAknNaviPaneEditorIndicatorJapaneseFullKatakana,
- EAknNaviPaneEditorIndicatorJapaneseHalfKatakana,
- EAknNaviPaneEditorIndicatorJapaneseFullUpperAlphabet,
- EAknNaviPaneEditorIndicatorJapaneseFullLowerAlphabet,
- EAknNaviPaneEditorIndicatorJapaneseFullTextAlphabet,
- EAknNaviPaneEditorIndicatorJapaneseFullNumeric,
- EAknNaviPaneEditorIndicatorVietnameseUpperCase = 400,
- EAknNaviPaneEditorIndicatorVietnameseLowerCase,
- EAknNaviPaneEditorIndicatorVietnameseTextCase
- };
- enum
- {
- EAknIndicatorStateOff,
- EAknIndicatorStateOn,
- EAknIndicatorStateAnimate
- };
- enum
- {
- EAknSignalGprsIndicatorOff = 0,
- EAknSignalGprsIndicatorAvailable,
- EAknSignalGprsIndicatorAttached,
- EAknSignalGprsIndicatorEstablishingContext,
- EAknSignalGprsIndicatorContext,
- EAknSignalGprsIndicatorSuspended,
- EAknSignalGprsIndicatorMultipdp,
- EAknSignalCommonPacketDataIndicatorOff = 0x100,
- EAknSignalCommonPacketDataIndicatorAvailable,
- EAknSignalCommonPacketDataIndicatorAttached,
- EAknSignalCommonPacketDataIndicatorEstablishingContext,
- EAknSignalCommonPacketDataIndicatorContext,
- EAknSignalCommonPacketDataIndicatorSuspended,
- EAknSignalCommonPacketDataIndicatorMultipdp,
- EAknSignalWcdmaIndicatorOff = 0x200,
- EAknSignalWcdmaIndicatorAvailable,
- EAknSignalWcdmaIndicatorAttached,
- EAknSignalWcdmaIndicatorEstablishingContext,
- EAknSignalWcdmaIndicatorContext,
- EAknSignalWcdmaIndicatorMultipdp,
- EAknSignalWcdmaIndicatorSuspended,
- EAknSignalCdmaIndicatorOff = 0x300,
- EAknSignalCdmaIndicatorNoService,
- EAknSignalCdmaIndicatorAvailable,
- EAknSignalCdmaIndicatorNotAvailable,
- EAknSignalCdmaIndicatorActive,
- EAknSignalCdmaIndicatorDormant,
- EAknSignalCdmaIndicatorSending,
- EAknSignalCdmaIndicatorReceiving,
- EAknSignalEdgeIndicatorOff = 0x400,
- EAknSignalEdgeIndicatorAvailable,
- EAknSignalEdgeIndicatorAttached,
- EAknSignalEdgeIndicatorEstablishingContext,
- EAknSignalEdgeIndicatorContext,
- EAknSignalEdgeIndicatorSuspended,
- EAknSignalEdgeIndicatorMultipdp
- };
- #line 1075
- enum
- {
- EAknSCTLowerCase,
- EAknSCTUpperCase,
- EAknSCTNumeric,
- EAknSCTFullCase,
- EAknSCTHalfCase,
- EAknSCTQwerty,
- EAknSCTChiChineseInputModes = EAknSCTUpperCase,
- EAknSCTChiLatinInputModes = EAknSCTLowerCase
- };
- #line 1095
- enum TSCTQueryCtrlIds
- {
- EAknSCTQueryHeadingId = 1,
- EAknSCTQueryContentId
- };
- enum TAvkonSKeyRepeatType
- {
- ESKeyTypeShort,
- ESKeyTypeLong,
- ESKeyTypeRepeat
- };
- enum TAvkonSystemSID
- {
- EAvkonSIDNoSound = 1000,
- EAvkonSIDDefaultSound = 1001,
- EAvkonSIDStandardKeyClick = 1002,
- EAvkonSIDConfirmationTone = 1003,
- EAvkonSIDInformationTone = 1003,
- EAvkonSIDWarningTone = 1004,
- EAvkonSIDErrorTone = 1005,
- EAvkonSIDVolumeMaxTone = 1006,
- EAvkonSIDVolumeMinTone = 1007,
- EAvkonSIDReadialCompleteTone = 1008,
- EAvkonSIDBatteryLowTone = 1009,
- EAvkonSIDChargingBatteryTone = 1010,
- EAvkonSIDConnectionStartTone = 1011,
- EAvkonSIDConnectionStopTone = 1012,
- EAvkonSIDOperationReadyTone = 1013,
- EAvkonSIDNameDiallerStartTone = 1014,
- EAvkonSIDNameDiallerErrorTone = 1015,
- EAvkonSIDNameDiallerAbortTone = 1016,
- EAvkonSIDPowerOffTone = 1017,
- EAvkonSIDPowerOnTone = 1018,
- EAvkonSIDRechargeBatteryTone = 1019,
- EAvkonSIDVoiceRecordingTone = 1020,
- EAvkonSIDVoiceRecordingStartTone = 1021,
- EAvkonSIDVoiceRecordingStopTone = 1022,
- EAvkonSIDWrongCharger = 1023,
- EAvkonSIDNetBusy = 1024,
- EAvkonSIDNetCallWaiting = 1025,
- EAvkonSIDNetReorder = 1026,
- EAvkonSIDNetCongestion = 1027,
- EAvkonSIDNetSpecialInformation = 1028,
- EAvkonSIDNetRadioNotAvailable = 1029,
- EAvkonSIDIHFActive = 1030,
- EAvkonSIDRadioPathAcknowledge = 1031,
- EAvkonSIDDial = 1032,
- EAvkonSIDRingGoing = 1033,
- EAvkonSIDLocationRequest = 1034
- };
- enum TAvkonSoundsPriority
- {
- EAvkonKeyClickPriority = 45,
- EAvkonPoweringTonesPriority = 50,
- EAvkonLowLevelNotesPriority = 55,
- EAvkonConfirmationNotePriority = 55,
- EAvkonVolumeSettingTonesPriority = 60,
- EAvkonConnectionTonesPriority = 65,
- EAvkonHighLevelNotesPriority = 70,
- EAvkonErrorNotePriority = 70,
- EAvkonWarningNotePriority = 70,
- EAvkonVoiceDiallingTonesPriority = 73,
- EAvkonNetworkingTonesPriority = 75,
- EAvkonRecordingTonesPriority = 80,
- EAvkonChargingTonesPriority = 85,
- EAvkonNewMessageTonesPriority = 90,
- EAvkonAlarmTonesPriority = 95,
- EAvkonRingingTonesPriority = 100
- };
- enum TAvkonSoundsPreference
- {
- EAknAudioPrefIncomingCall =0x01340001,
- EAknAudioPrefIncomingCallLine2 =0x01330001,
- EAknAudioPrefIncomingDataCall =0x01320001,
- EAknAudioPrefAutoRedialCompleted =0x01310001,
- EAknAudioPrefAlarmClock =0x01220001,
- EAknAudioPrefCalendarAlarm =0x01210001,
- EAknAudioPrefNewSMS =0x01120001,
- EAknAudioPrefNewSpecialMessage =0x01110001,
- EAknAudioPrefBatteryLow =0x01030001,
- EAknAudioPrefRechargeBattery =0x01020001,
- EAknAudioPrefWrongCharger =0x01010001,
- EAknAudioPrefVoiceRecStart =0x00930001,
- EAknAudioPrefVoiceRecRecording =0x00920001,
- EAknAudioPrefVoiceRecStop =0x00910001,
- EAknAudioPrefRadioPathAck =0x00890001,
- EAknAudioPrefDial =0x00880001,
- EAknAudioPrefRingGoing =0x00870001,
- EAknAudioPrefBusy =0x00860001,
- EAknAudioPrefCallWaiting =0x00850001,
- EAknAudioPrefReorder =0x00840001,
- EAknAudioPrefCongestion =0x00830001,
- EAknAudioPrefSpecialInformation =0x00820001,
- EAknAudioPrefRadioNotAvailable =0x00810001,
- EAknAudioPrefError =0x00720001,
- EAknAudioPrefWarning =0x00710001,
- EAknAudioPrefVoiceStarting =0x00630001,
- EAknAudioPrefVoiceError =0x00620001,
- EAknAudioPrefVoiceAbort =0x00610001,
- EAknAudioPrefConnectionStart =0x00530001,
- EAknAudioPrefConnectionStop =0x00520001,
- EAknAudioPrefOperationReady =0x00510001,
- EAknAudioPrefFilePreview =0x00440001,
- EAknAudioPrefAudioVolumeMin =0x00430001,
- EAknAudioPrefAudioVolumeMax =0x00420001,
- EAknAudioPrefIHFActive =0x00410001,
- EAknAudioPrefCharging =0x00330001,
- EAknAudioPrefConfirmation =0x00320001,
- EAknAudioPrefDefaultTone =0x00310001,
- EAknAudioPrefPowerOn =0x00220001,
- EAknAudioPrefPowerOff =0x00210001,
- EAknAudioPrefKeyPressNonDTMF =0x00140001,
- EAknAudioPrefKeyDownDTMF =0x00130001,
- EAknAudioPrefKeyUpDTMF =0x00120001,
- EAknAudioPrefCamera =0x00110001,
- EAknAudioPrefVoiceRec =0x00060001,
- EAknAudioPrefComposer =0x00050001,
- EAknAudioPrefRingFilePreview =0x00040001,
- EAknAudioPrefVocosPlayback =0x00030001,
- EAknAudioPrefVocosTrain =0x00020001,
- EAknAudioPrefVocosRecog =0x00010001,
- EAvkonKeyClickPreference = 0x00140001,
- EAvkonConfirmationNotePreference = 0x00320001,
- EAvkonErrorNotePreference = 0x00720001,
- EAvkonWarningNotePreference = 0x00710001
- };
- enum TMessageQueryCtrlIds
- {
- EAknMessageQueryHeaderId = 1,
- EAknMessageQueryContentId
- };
- #line 1286
- enum TAvkonIncallStatusBubbleFlags
- {
- EAknStatusBubbleAlerting = 0x00,
- EAknStatusBubbleActive = 0x01,
- EAknStatusBubbleOnHold = 0x02,
- EAknStatusBubbleDisconnected = 0x03,
- EAknStatusBubbleNoCiphering = 0x04,
- EAknStatusBubbleMuted = 0x08,
- EAknStatusBubbleVisible = 0x10,
- EAknStatusBubbleFax = 0x20,
- EAknStatusBubbleData = 0x40,
- EAknStatusBubbleDataHscsd = 0x80,
- EAknStatusBubbleLine2 = 0x100,
- EAknStatusBubbleVideo = 0x200,
- EAknStatusBubbleEmergency = 0x400,
- EAknStatusBubbleVoIP = 0x800,
- EAknStatusBubbleReservedInternal = 0x80000000
- };
- enum TAknNoteDialogTimeout
- {
- EAknNoteDialogUndefinedTimeout = 0,
- EAknNoteDialogShortTimeout = 1500000,
- EAknNoteDialogLongTimeout = 3000000,
- EAknConfirmationNoteTimeout = EAknNoteDialogShortTimeout,
- EAknInformationNoteTimeout = EAknNoteDialogLongTimeout,
- EAknErrorNoteTimeout = EAknNoteDialogLongTimeout,
- EAknWarningNoteTimeout = EAknNoteDialogLongTimeout
- };
- enum TAknNoteDialogTone
- {
- EAknNoteDialogNoTone = 0,
- EAknNoteDialogConfirmationTone = EAvkonSIDConfirmationTone,
- EAknNoteDialogWarningTone = EAvkonSIDWarningTone,
- EAknNoteDialogErrorTone = EAvkonSIDErrorTone
- };
- enum TAknSelectionListDialogFlags
- {
- EAknFlagFind = 0x0001
- };
- enum TAknIconArrayType
- {
- EAknIconArrayNone,
- EAknIconArraySimple,
- EAknIconArrayComplex
- };
- enum EVariantFlag
- {
- EEuropeanVariant=0,
- EApacVariant
- };
- enum ESubVariantFlag
- {
- ENoSubVariant = 0,
- EPrcSubVariant,
- EHongKongSubVariant,
- ETaiwanSubVariant
- };
- #line 1386
- enum TAknKeyBlockMode
- {
- EDefaultBlockMode=0,
- ENoKeyBlock
- };
- enum TAknSeparatorLinePosition
- {
- ENoLine,
- EAColumn,
- EABColumn,
- EBCColumn
- };
- enum TAknColourSelectionDialogIds {
- ECtrlGridType = 100,
- EColourGridPopup,
- EColourGridPopupNone
- };
- enum TAknCustomTextCursorIds
- {
- KAknCustomTextCursorIdLeftToRight = 0x101fdf03,
- KAknCustomTextCursorIdRightToLeft = 0x101fdf04,
- KAknCustomTextCursorIdLeftToRightThin = 0x101fe51c,
- KAknCustomTextCursorIdRightToLeftThin = 0x101fe51d
- };
- enum TAknNaviPaneBackgroundTypes
- {
- EAknNaviPaneBackgroundTypeNotDefined = 0,
- EAknNaviPaneBackgroundTypeWipe = 1,
- EAknNaviPaneBackgroundTypeSolid = 2
- };
- #line 27 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknappui.h" /* stack depth 2 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\akndef.h" /* stack depth 3 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\akndef.hrh" /* stack depth 4 */
- #line 30
- enum TAknUiZoom
- {
- EAknUiZoomAutomatic=-1,
- EAknUiZoomNormal,
- EAknUiZoomSmall,
- EAknUiZoomLarge,
- EAknUiZoomVerySmall,
- EAknUiZoomVeryLarge
- };
- #line 24 "C:\Symbian\9.1\S60_3rd\epoc32\include\akndef.h" /* stack depth 3 */
- class TVwsViewId;
- const TInt KEikMessageWindowsFadeChange =0x10006890;
- const TInt KEikMessageCaptionedControlEditableStateChange =0x10008E99;
- const TInt KEikMessageCaptionedControlNotEditableStateChange =0x10008E9A;
- const TInt KEikMessageCaptionedControlEditableStateChangeWideWithGraphic =0x101F5FBA;
- const TInt KEikMessageCaptionedControlEditableStateChangeWideWithoutGraphic =0x101F5FBB;
- const TInt KEikMessageCaptionedControlNotEditableStateChangeWideWithGraphic =0x101F5FBC;
- const TInt KEikMessageCaptionedControlNotEditableStateChangeWideWithoutGraphic =0x101F5FBD;
- const TInt KEikClearPartialForegroundState =0x101f54f4;
- const TInt KEikPartialForeground =0x101f6aab;
- const TInt KEikDynamicLayoutVariantSwitch = 0x101F8121;
- const TInt KEikDynamicLayoutVariantSwitch_APAC = 0x101F8124;
- const TInt KEikInputLanguageChange = 0x101F8519;
- const TInt KAknHardwareLayoutSwitch = 0x10202672;
- const TInt KAknDelayedLayoutSwitch = 0x102797FD;
- namespace AknDef
- {
- __declspec(dllexport) TInt GetPhoneIdleViewId(TVwsViewId& aViewId);
- }
- #line 28 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknappui.h" /* stack depth 2 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\AknTouchPaneObserver.h" /* stack depth 3 */
- #line 33
- class MAknTouchPaneObserver
- {
- public:
- virtual void HandleTouchPaneSizeChange() = 0;
- };
- #line 29 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknappui.h" /* stack depth 2 */
- class CEikButtonGroupContainer;
- class CAknAppShutter;
- class CAknAppUiExtension;
- class CAknWsEventMonitor;
- class CAknKeySoundSystem;
- class CAknAppUiBaseExtension;
- class CAknTouchPane;
- class CAknToolbar;
- #line 52
- class CAknAppUiBase : public CEikAppUi
- {
- private:
- friend class CAknAppUi;
- enum
- {
- EAppOrientationSpecifiedFlag = 0x00010000,
- EAppOrientationLandscapeFlag = 0x00020000,
- EAppOrientationAutomaticFlag = 0x00040000,
- EAknEnableSkinFlag = 0x00080000,
- EAknDisableHighlightAnimationFlag = 0x00100000
- };
- public:
- enum TAppUiOrientation
- {
- EAppUiOrientationUnspecified,
- EAppUiOrientationPortrait,
- EAppUiOrientationLandscape,
- EAppUiOrientationAutomatic
- };
- enum
- {
- #line 112
- EAknEnableSkin = EAknEnableSkinFlag,
- EAppOrientationPortrait = EAppOrientationSpecifiedFlag,
- EAppOrientationLandscape = EAppOrientationSpecifiedFlag
- | EAppOrientationLandscapeFlag,
- EAppOrientationAutomatic = EAppOrientationSpecifiedFlag
- | EAppOrientationAutomaticFlag,
- EAknDisableHighlightAnimation = EAknDisableHighlightAnimationFlag
- };
- public:
- __declspec(dllexport) ~CAknAppUiBase();
- __declspec(dllexport) CAknAppUiBase();
- public:
- __declspec(dllexport) void BaseConstructL( TInt aAppUiFlags );
- #line 150
- __declspec(dllexport) void HandleForegroundEventL(TBool aForeground);
- public:
- __declspec(dllexport) void ConstructL();
- __declspec(dllexport) void Exit();
- __declspec(dllexport) void SetFadedL(TBool aFaded);
- #line 179
- __declspec(dllexport) void HandleResourceChangeL(TInt aType);
- __declspec(dllexport) TRect ApplicationRect() const;
- public:
- __declspec(dllexport) void PrepareToExit();
- public:
- __declspec(dllexport) TBool IsFaded() const;
- __declspec(dllexport) CAknWsEventMonitor* EventMonitor() const;
- __declspec(dllexport) CAknKeySoundSystem* KeySounds() const;
- __declspec(dllexport) TBool IsFullScreenApp() const;
- __declspec(dllexport) TBool IsLayoutAwareApp() const;
- __declspec(dllexport) void SetLayoutAwareApp(TBool aLayoutAwareApp);
- __declspec(dllexport) TBool IsForeground() const;
- __declspec(dllexport) TBool IsPartialForeground() const;
- __declspec(dllexport) TAppUiOrientation Orientation() const;
- __declspec(dllexport) void SetOrientationL(TAppUiOrientation aOrientation);
- TInt FindAppWgIdBelowMeL();
- TInt EventForForegroundState(TBool aPartialFg, TBool aForeground);
- TBool ThreadIsForeground() const;
- void SimulateWsEventL(TInt aEvent);
- __declspec(dllexport) TAknUiZoom LocalUiZoom() const;
- #line 302
- __declspec(dllexport) void SetLocalUiZoomL(TAknUiZoom aZoom);
- protected:
- __declspec(dllexport) virtual void HandleScreenDeviceChangedL();
- protected:
- __declspec(dllexport) virtual void HandleApplicationSpecificEventL(TInt aType,
- const TWsEvent& aEvent);
- protected:
- __declspec(dllexport) void SetFullScreenApp(TBool aIsFullScreen);
- __declspec(dllexport) void ReplaceKeySoundsL( TInt aUid );
- protected:
- __declspec(dllexport) virtual TTypeUid::Ptr MopSupplyObject(TTypeUid aId);
- private:
- void UpdateSettingCacheAndForwardEventL( TInt aEventId );
- void SetAppUiAndLeaveIfErrorL( TInt aError );
- private:
- TBitFlags iAknFlags;
- CAknWsEventMonitor* iEventMonitor;
- CAknKeySoundSystem* iKeySounds;
- CAknAppUiBaseExtension* iAppUiBaseExtension;
- };
- class CAknAppUi : public CAknAppUiBase, MEikStatusPaneObserver,
- public MCoeViewDeactivationObserver,
- public MAknTouchPaneObserver
- {
- public:
- #line 379
- __declspec(dllexport) void BaseConstructL(TInt aAppUiFlags=EStandardApp);
- __declspec(dllexport) ~CAknAppUi();
- public:
- __declspec(dllexport) void ConstructL();
- public:
- __declspec(dllexport) CEikStatusPane* StatusPane();
- __declspec(dllexport) CEikButtonGroupContainer* Cba();
- __declspec(dllexport) CAknTouchPane* TouchPane();
- __declspec(dllexport) CAknToolbar* PopupToolbar() const;
- __declspec(dllexport) CAknToolbar* CurrentPopupToolbar() const;
- void StopDisplayingPopupToolbar();
- #line 439
- __declspec(dllexport) void ProcessCommandL(TInt aCommand);
- #line 451
- __declspec(dllexport) TErrorHandlerResponse HandleError (TInt aError,
- const SExtendedError& aExtErr, TDes& aErrorText, TDes& aContextText);
- __declspec(dllexport) void RunAppShutter();
- __declspec(dllexport) TBool IsAppShutterRunning() const;
- public:
- #line 477
- __declspec(dllexport) virtual void HandleViewDeactivation(
- const TVwsViewId& aViewIdToBeDeactivated,
- const TVwsViewId &aNewlyActivatedViewId);
- public:
- __declspec(dllexport) void PrepareToExit();
- public:
- __declspec(dllexport) void HandleTouchPaneSizeChange();
- protected:
- __declspec(dllexport) void HandleStatusPaneSizeChange();
- __declspec(dllexport) void HandleSystemEventL(const TWsEvent& aEvent);
- protected:
- __declspec(dllexport) virtual void Reserved_MtsmPosition();
- __declspec(dllexport) virtual void Reserved_MtsmObject();
- protected:
- __declspec(dllexport) void HandleForegroundEventL(TBool aForeground);
- __declspec(dllexport) void HandleWsEventL(const TWsEvent& aEvent,
- CCoeControl* aDestination);
- #line 540
- __declspec(dllexport) void SetKeyBlockMode(TAknKeyBlockMode aMode);
- __declspec(dllexport) void HandleErrorL(TInt aError, HBufC** aErrorDesc, TBool aShowNote = ETrue );
- #line 552
- void DumpControl(CCoeControl* aControl, TInt aLevel, RDebug& aDebug);
- void DecideWsClientBufferSizesL();
- private:
- void UpdateKeyBlockMode();
- private:
- TBool iDumpNextControl;
- CAknAppShutter* iAppShutter;
- TAknKeyBlockMode iBlockMode;
- CAknAppUiExtension * iExtension;
- public:
- __declspec(dllexport) void HideApplicationFromFSW(TBool aHide=ETrue);
- };
- #line 24 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknviewappui.h" /* stack depth 1 */
- class CAknView;
- class CAknViewShutter;
- class CAknLocalScreenClearer;
- class CAknViewAppUiExtension;
- class CAknViewNavigator;
- #line 43
- class CAknViewAppUi : public CAknAppUi
- {
- public:
- class CViewActivationItem : public CBase
- {
- public:
- #line 58
- static CViewActivationItem* NewLC(CAknView* aNewView,
- TUid aCustomMessageId,
- const TDesC8& aCustomMessage,
- const TVwsViewId& aPrevViewId);
- ~CViewActivationItem();
- private:
- CViewActivationItem(CAknView* aNewView,
- TUid aCustomMessageId,
- const TVwsViewId& aPrevViewId);
- void ConstructL(const TDesC8& aCustomMessage);
- public:
- CAknView* iNewView;
- TUid iCustomMessageId;
- HBufC8* iCustomMessage;
- TVwsViewId iPrevViewId;
- };
- class TAknSplitViewContainer
- {
- public:
- TBool IsPartOf( const TUid aViewId );
- public:
- TUid iViewIds[2];
- TBool iFailed[2];
- TRect iViewRect[2];
- TInt iLeftViewSize;
- };
- typedef CArrayPtrFlat<CViewActivationItem> CAknViewActivationQueue;
- typedef CArrayPtrFlat<CAknView> CAknViews;
- public:
- __declspec(dllexport) void BaseConstructL(TInt aAppUiFlags=EStandardApp);
- __declspec(dllexport) virtual ~CAknViewAppUi();
- __declspec(dllexport) void ActivateLocalViewL(TUid aViewId);
- #line 143
- __declspec(dllexport) void ActivateLocalViewL(TUid aViewId,
- TUid aCustomMessageId,
- const TDesC8& aCustomMessage);
- __declspec(dllexport) CAknView* View(TUid aView) const;
- __declspec(dllexport) void AddViewL(CAknView* aView);
- __declspec(dllexport) void RemoveView(TUid aViewId);
- __declspec(dllexport) void ProcessCommandL(TInt aCommand);
- __declspec(dllexport) void StopDisplayingMenuBar();
- void ViewActivatedL(CAknView* aView,
- const TVwsViewId& aPrevViewId,
- TUid aCustomMessageId,
- const TDesC8& aCustomMessage);
- void ViewDeactivated(CAknView* aView);
- #line 196
- __declspec(dllexport) void SetSplitViewL( const TUid aView1Id, const TUid aView2Id, const TInt aLeftViewSize );
- #line 205
- __declspec(dllexport) void RemoveSplitViewL( const TUid aViewId );
- __declspec(dllexport) TBool SplitViewActive() const;
- __declspec(dllexport) TUid FocusedView() const;
- __declspec(dllexport) TBool ViewShown( const TUid aViewId ) const;
- TRect ViewRect( const TUid aViewId ) const;
- TKeyResponse HandleViewNavigationL( const TKeyEvent& aKeyEvent );
- protected:
- __declspec(dllexport) void HandleStatusPaneSizeChange();
- __declspec(dllexport) void HandleForegroundEventL(TBool aForeground);
- #line 268
- __declspec(dllexport) void HandleWsEventL( const TWsEvent& aEvent, CCoeControl* aDestination );
- private:
- static TInt ActivationCallBack(TAny* aThis);
- void ActivationTick();
- void QueueActivationTick();
- CAknViewAppUiExtension* Extension() const;
- void ActivateSplitViewL( CViewActivationItem* aItem );
- TAknSplitViewContainer* SplitView( const TUid aViewId ) const;
- protected:
- CAknView* iView;
- CAknViews* iViews;
- private:
- CAknViewShutter* iShutter;
- CAknLocalScreenClearer* iClearer;
- CAknViewActivationQueue* iActivationQueue;
- CIdle* iActivationTick;
- CAknViewAppUiExtension* iExtension;
- };
- #line 7 "C:\gbtukmanpf01\NOK124\Courses\S60\05300-S60_C++_Introduction\Working\LabCode\Lab_05304-s2.cb1\starter\src\S60UIExamplePlayView.cpp" /* stack depth 0 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\S60UIExample.rsg" /* stack depth 1 */
- #line 8 "C:\gbtukmanpf01\NOK124\Courses\S60\05300-S60_C++_Introduction\Working\LabCode\Lab_05304-s2.cb1\starter\src\S60UIExamplePlayView.cpp" /* stack depth 0 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikmenup.h" /* stack depth 1 */
- #line 24
- class MEikMenuObserver;
- class CEikHotKeyTable;
- class CEikMenuPaneTitle;
- class CEikButtonBase;
- class CEikScrollBarFrame;
- class CEikScrollBar;
- class TEikScrollBarModel;
- class CGulIcon;
- class CEikMenuPaneExtension ;
- const TInt KScaleableTextSeparator = 0x0001;
- class CExtendedItemData : public CBase
- {
- public:
- ~CExtendedItemData();
- public:
- CGulIcon* iIcon;
- HBufC* iScaleableText;
- };
- #line 57
- class CEikMenuPaneItem : public CBase
- {
- public:
- struct SData
- {
- enum { ENominalTextLength=40 };
- TInt iCommandId;
- TInt iCascadeId;
- TInt iFlags;
- TBuf<ENominalTextLength> iText;
- TBuf<1> iExtraText;
- };
- public:
- __declspec(dllexport) CEikMenuPaneItem();
- __declspec(dllexport) ~CEikMenuPaneItem();
- __declspec(dllexport) void SetIcon(CGulIcon* aIcon);
- #line 95
- __declspec(dllexport) void DrawItemIcon(CWindowGc& aGc,
- TRect aRect,
- TBool aDimmed,
- TInt aBitmapSpaceRequired) const;
- #line 108
- __declspec(dllexport) void CreateIconL(CFbsBitmap* aBitmap,
- CFbsBitmap* aMask);
- __declspec(dllexport) CFbsBitmap* IconBitmap() const;
- __declspec(dllexport) CFbsBitmap* IconMask() const;
- __declspec(dllexport) void SetBitmapsOwnedExternally(TBool aOwnedExternally);
- __declspec(dllexport) void SetIconBitmapL(CFbsBitmap* aBitmap);
- __declspec(dllexport) void SetIconMaskL(CFbsBitmap* aMask);
- __declspec(dllexport) TPtrC ScaleableText() const;
- __declspec(dllexport) void SetScaleableTextL(const TDesC& aText);
- private:
- inline void CreateExtendedDataBlock();
- inline TBool IsScaleableText(const TDesC& aText) const;
- TPtrC GetNominalText(const TDesC& aText);
- public:
- TInt iPos;
- TInt iHotKeyCode;
- SData iData;
- private:
- CExtendedItemData* iExtendedData;
- };
- inline void CEikMenuPaneItem::CreateExtendedDataBlock()
- {
- if (!iExtendedData)
- {
- TInt err; { err = 0; { ; } try { TWin32SEHTrap __trap; __trap.Trap(); TTrapHandler* ____t = User::MarkCleanupStack(); ( iExtendedData = new (ELeave) CExtendedItemData() ); User::UnMarkCleanupStack(____t); { ; } __trap.UnTrap(); } catch (XLeaveException& l) { err = l.GetReason(); { ; } } catch (...) { User::Invariant(); } } ;
- }
- }
- inline TBool CEikMenuPaneItem::IsScaleableText(const TDesC& aText) const
- {
- return (aText.Locate(TChar(KScaleableTextSeparator)) == KErrNotFound ? EFalse : ETrue);
- }
- class CEikMenuPane : public CEikBorderedControl
- {
- private:
- enum {ENothingSelected=-1};
- class CMenuScroller;
- friend class CMenuScroller;
- friend class CEikMenuPaneExtension;
- public:
- typedef TBuf<20> THotKeyDisplayText;
- public:
- class CItemArray:public CArrayPtrFlat<CEikMenuPaneItem>
- {
- public:
- __declspec(dllexport) CItemArray();
- __declspec(dllexport) ~CItemArray();
- __declspec(dllexport) void AddItemL(CEikMenuPaneItem* aMenuItem);
- };
- public:
- __declspec(dllexport) ~CEikMenuPane();
- __declspec(dllexport) CEikMenuPane(MEikMenuObserver* aMenuObserver);
- __declspec(dllexport) void ConstructL(CEikMenuPane* aOwner,
- MEikMenuObserver* aEditMenuObserver = 0 );
- __declspec(dllexport) void Reset();
- public:
- __declspec(dllexport) TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,
- TEventCode aType);
- __declspec(dllexport) void HandlePointerEventL(const TPointerEvent& aPointerEvent);
- __declspec(dllexport) virtual void GetColorUseListL(CArrayFix<TCoeColorUse>& aColorUseList) const;
- __declspec(dllexport) virtual void HandleResourceChange(TInt aType);
- private:
- __declspec(dllexport) void* ExtensionInterface( TUid aInterface );
- public:
- __declspec(dllexport) TCoeInputCapabilities InputCapabilities() const;
- protected:
- __declspec(dllexport) void Draw(const TRect& aRect) const;
- __declspec(dllexport) void FocusChanged(TDrawNow aDrawNow);
- __declspec(dllexport) void ConstructFromResourceL(TResourceReader& aReader);
- public:
- #line 307
- __declspec(dllexport) void AddMenuItemL(const CEikMenuPaneItem::SData& aMenuItem);
- #line 317
- __declspec(dllexport) void AddMenuItemL(const CEikMenuPaneItem::SData& aMenuItem,
- TInt aPreviousId);
- #line 328
- __declspec(dllexport) void AddMenuItemsL(TInt aResourceId,
- TInt aPreviousId = 0,
- TBool aAddSeperator = EFalse);
- __declspec(dllexport) void DeleteMenuItem(TInt aCommandId);
- __declspec(dllexport) void DeleteBetweenMenuItems(TInt aStartIndex,
- TInt aEndIndex);
- __declspec(dllexport) CEikMenuPaneItem::SData& ItemData(TInt aCommandId);
- #line 359
- __declspec(dllexport) CEikMenuPaneItem* ItemAndPos(TInt aCommandId,TInt& aPos);
- #line 375
- __declspec(dllexport) void StartDisplayingMenuPane(const CEikHotKeyTable* aHotKeyTable,
- const TPoint& aTargetPos,
- const CEikMenuPaneTitle* aMenuPaneTitle,
- TInt aMinWidth,
- TPopupTargetPosType aTargetType = EPopupTargetTopLeft);
- __declspec(dllexport) void SetItemTextL(TInt aCommandId,
- const TDesC& aDes);
- __declspec(dllexport) void SetItemTextL(TInt aCommandId,
- TInt aRid);
- #line 405
- __declspec(dllexport) void SetItemDimmed(TInt aCommandId,
- TBool aDimmed);
- __declspec(dllexport) void SetItemButtonState(TInt aCommandId,
- TInt aButtonState);
- __declspec(dllexport) void SetSelectedItem(TInt aSelectedItem);
- __declspec(dllexport) TInt SelectedItem() const;
- __declspec(dllexport) void CloseCascadeMenu();
- __declspec(dllexport) void SetItemArray(CItemArray* aItemArray);
- __declspec(dllexport) void SetItemArrayOwnedExternally(TBool aOwnedExternally);
- __declspec(dllexport) void SetLaunchingButton(CEikButtonBase* aButton);
- #line 463
- __declspec(dllexport) void MoveHighlightTo(TInt aNewSelectedItem);
- __declspec(dllexport) TInt NumberOfItemsInPane() const;
- __declspec(dllexport) void Close();
- #line 483
- __declspec(dllexport) TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,
- TEventCode aType,
- TBool aConsumeAllKeys);
- __declspec(dllexport) void SetScrollBarOnLeft(TBool aOnLeft);
- __declspec(dllexport) void SetArrowHeadScrollBar(TBool aArrowHead);
- __declspec(dllexport) void NavigateToNextItem();
- __declspec(dllexport) void InsertMenuItemL(const CEikMenuPaneItem::SData& aMenuItem,
- TInt aPosition);
- #line 522
- __declspec(dllexport) TBool MenuItemExists(TInt aCommandId,
- TInt& aPosition);
- __declspec(dllexport) TBool IsCascadeMenuPane() const;
- __declspec(dllexport) void EnableMarqueeL(const TBool aEnable);
- void ActivateCurrentItemL();
- TBool CancelActiveMenuPane();
- void FilterDimmedItems();
- void ClipMenuItems(TInt aWidth);
- CEikMenuPane* CascadeMenuPane();
- __declspec(dllexport) CEikMenuPaneItem::SData& ItemDataByIndexL(TInt aItemIndex);
- TBool IsPositionToBeForced() const;
- __declspec(dllexport) void ConstructMenuSctRowL( TDes& aSpecialChars );
- private:
- enum { EInvalidCurrentSize=0x01, EBackgroundFaded=0x02 };
- private:
- TRect CalculateSizeAndPosition() ;
- enum THighlightType {ENoHighlight,EDrawHighlight,ERemoveHighlight};
- void DrawItem(CWindowGc& aGc,TInt aItem,THighlightType aHighlight) const;
- void FindHotKeyDisplayText(TDes& aDes,const CEikMenuPaneItem& aItem) const;
- void ReportSelectionMadeL();
- void ReportCanceled();
- void GiveVisualFeedback();
- void LaunchCascadeMenuL(TInt aCascadeMenuId);
- void DoLaunchCascadeMenuL(TInt aCascadeMenuId);
- void TryLaunchCascadeMenuL(const CEikMenuPaneItem& aItem);
- void PrepareGcForDrawingItems(CGraphicsContext& aGc) const;
- TBool ItemArrayOwnedExternally() const;
- TBool IsHotKeyL(const TInt modifiers,const TInt aCode);
- TBool MoveToItemL(TInt aCode, TInt aModifiers);
- void HandleScrollEventL(CEikScrollBar* aScrollBar,TEikScrollEvent aEventType);
- void CreateScrollBarFrame();
- void UpdateScrollBar();
- void DoUpdateScrollBarL();
- void UpdateScrollBarThumbs();
- static TInt UpdateScrollBarCallBackL(TAny* aObj);
- TRect ViewRect() const;
- TInt TotalItemHeight() const;
- void ScrollToMakeItemVisible(TInt aItemIndex);
- void Scroll(TInt aAmount);
- TBool CheckCreateScroller();
- void CheckCreateScrollerL();
- void ResetItemArray();
- void CreateItemArrayL();
- void SetVScrollBarFlag();
- TInt TopHighlightGap() const;
- TInt BottomHighlightGap() const;
- TInt EvaluateMaxIconWidth() const;
- void CreateIconFromResourceL(TResourceReader& aReader, CEikMenuPaneItem& aItem) const;
- void AnimateMenuPane(const TPoint& aNewPos);
- TRect ListMenuPane() const;
- TRect PopupMenuWindow() const;
- TRect PopupSubmenuWindow() const;
- void UpdateBackgroundContext(const TRect& aWindowRect);
- void RepaintHighlight() const;
- private:
- __declspec(dllexport) void Reserved_1();
- __declspec(dllexport) void Reserved_2();
- private :
- void LoadCascadeBitmapL() ;
- void LoadCheckMarkBitmapL();
- TBool MenuHasCheckBoxOn() const;
- void LoadRadioButtonBitmapL();
- TBool IsItemMemberOfRadioButtonGroup(TInt aItem) const ;
- TBool MenuHasIcon() const;
- TRect CalculateSizeAndPositionScalable( const TRect& aWindowRect, TInt aNumItemsInPane ) ;
- TRect HighlightRect() const;
- void PrepareHighlightFrame() const;
- void SetCascadedIconSize() const;
- friend class CAknMarqueeControl;
- static TInt RedrawMarqueeEvent( TAny* aControl );
- CEikMenuPaneExtension* Extension() const;
- protected:
- __declspec(dllexport) TTypeUid::Ptr MopSupplyObject(TTypeUid aId);
- public:
- __declspec(dllexport) TInt CountComponentControls() const;
- __declspec(dllexport) CCoeControl* ComponentControl(TInt aIndex) const;
- protected:
- void DisableAnimation();
- #line 686
- void SetPositionToBeForced(TBool aForced);
- TInt NumberOfItemsThatFitInView() const;
- private:
- friend class CEikMenuButton;
- MEikMenuObserver* iMenuObserver;
- MEikMenuObserver* iEditMenuObserver;
- CEikMenuPane* iCascadeMenuPane;
- const CEikMenuPaneTitle* iMenuPaneTitle;
- const CEikHotKeyTable* iHotKeyTable;
- CEikMenuPane* iOwner;
- CItemArray* iItemArray;
- TBool iArrayOwnedExternally;
- TBool iAllowPointerUpEvents;
- TInt iNumberOfDragEvents;
- TInt iSelectedItem;
- TInt iItemHeight;
- TInt iBaseLine;
- TInt iHotkeyColWidth;
- TInt iFlags;
- CEikScrollBarFrame* iSBFrame;
- CMenuScroller* iScroller;
- CEikButtonBase* iLaunchingButton;
- TInt iSubPopupWidth;
- TBool iEnableAnimation;
- CEikMenuPaneExtension* iExtension ;
- };
- #line 9 "C:\gbtukmanpf01\NOK124\Courses\S60\05300-S60_C++_Introduction\Working\LabCode\Lab_05304-s2.cb1\starter\src\S60UIExamplePlayView.cpp" /* stack depth 0 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknquerydialog.h" /* stack depth 1 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikdialg.h" /* stack depth 2 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\coeccntx.h" /* stack depth 3 */
- #line 13
- class MCoeControlContext
- #line 30
- {
- public:
- __declspec(dllexport) virtual void ActivateContext(CWindowGc& aGc,RDrawableWindow& aWindow) const;
- __declspec(dllexport) virtual void ResetContext(CWindowGc& aGc) const;
- __declspec(dllexport) virtual void PrepareContext(CWindowGc& aGc) const;
- protected:
- __declspec(dllexport) MCoeControlContext();
- private:
- __declspec(dllexport) virtual void MCoeControlContext_Reserved1();
- __declspec(dllexport) virtual void MCoeControlContext_Reserved2();
- private:
- TInt iMCoeControlContext_Reserved1;
- };
- class CCoeBrushAndPenContext : public CBase, public MCoeControlContext
- {
- public:
- __declspec(dllexport) static CCoeBrushAndPenContext* NewL();
- __declspec(dllexport) void SetBrushStyle(CWindowGc::TBrushStyle aBrushStyle);
- __declspec(dllexport) void SetBrushColor(TRgb aColor);
- __declspec(dllexport) void SetBrushBitmap(const CFbsBitmap& aBitmap);
- __declspec(dllexport) void SetPenColor(TRgb aColor);
- __declspec(dllexport) CWindowGc::TBrushStyle BrushStyle() const;
- __declspec(dllexport) TRgb BrushColor() const;
- __declspec(dllexport) const CFbsBitmap& BrushBitmap() const;
- __declspec(dllexport) TRgb PenColor() const;
- protected:
- __declspec(dllexport) void PrepareContext(CWindowGc& aGc) const;
- private:
- CCoeBrushAndPenContext();
- private:
- CWindowGc::TBrushStyle iBrushStyle;
- TRgb iBrushColor;
- const CFbsBitmap* iBitmap;
- TRgb iPenColor;
- };
- class MCoeControlBrushContext : public MCoeControlContext
- #line 91
- {
- public:
- __declspec(dllexport) MCoeControlBrushContext();
- protected:
- __declspec(dllexport) void PrepareContext(CWindowGc& aGc) const;
- public:
- CWindowGc::TBrushStyle iBrushStyle;
- TRgb iBrushColor;
- const CFbsBitmap* iBitmap;
- private:
- TInt iMCoeControlBrushContext_Reserved1;
- };
- #line 14 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikdialg.h" /* stack depth 2 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikdpobs.h" /* stack depth 3 */
- #line 18
- class MEikDialogPageObserver
- {
- public:
- enum TFormControlTypes
- {
- EUnknownType,
- EEdwinDerived,
- EMfneDerived,
- EPopfieldDerived,
- ESecretEditorDerived,
- ESliderDerived,
- EColourSelectionGridDerived
- };
- public:
- enum TDialogPageObserverEvents
- {
- EDialogPageTapped
- };
- public:
- virtual void PrepareForFocusTransitionL()=0;
- virtual void PageChangedL(TInt aPageId)=0;
- virtual void LineChangedL(TInt aControlId)=0;
- virtual SEikControlInfo CreateCustomControlL(TInt aControlType)=0;
- virtual TFormControlTypes ConvertCustomControlTypeToBaseControlType(TInt aControlType)const =0 ;
- virtual void GetCustomAutoValue(TAny* aReturnValue,TInt aControlType,const CCoeControl* aControl)=0;
- virtual void HandleDialogPageEventL(TInt aEventID) = 0;
- };
- #line 22 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikdialg.h" /* stack depth 2 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\gulftflg.hrh" /* stack depth 3 */
- #line 30 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikdialg.h" /* stack depth 2 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikbutb.h" /* stack depth 3 */
- #line 21
- class TEikButtonCoordinator;
- enum TButtonBehavior
- {
- EEikButtonStaysClear=0x000 ,
- EEikButtonStaysSet=0x100 ,
- EEikButtonLatches=0x200 ,
- EEikButtonReportsOnPointerDown=0x400
- };
- class CEikButtonBase : public CEikBorderedControl
- {
- public:
- __declspec(dllexport) CEikButtonBase();
- __declspec(dllexport) ~CEikButtonBase();
- public:
- enum TState
- {
- EClear =0,
- ESet =1,
- EIndeterminate =2
- };
- public:
- __declspec(dllexport) TState State() const;
- __declspec(dllexport) void SetState(TState aState);
- __declspec(dllexport) virtual void Animate();
- __declspec(dllexport) void SetCoordinator(TEikButtonCoordinator* aButCoord);
- __declspec(dllexport) void SetBehavior(TButtonBehavior aBehavior);
- __declspec(dllexport) void SetIgnoreNextPointerUp();
- protected:
- enum TDrawState
- {
- EDrawClear =SLafButtonBase::EDrawClear,
- EDrawSet =SLafButtonBase::EDrawSet,
- EDrawIndeterminate =SLafButtonBase::EDrawIndeterminate,
- EDrawClearPressed =SLafButtonBase::EDrawClearPressed,
- EDrawSetPressed =SLafButtonBase::EDrawSetPressed,
- EDrawIndeterminatePressed =SLafButtonBase::EDrawIndeterminatePressed
- };
- protected:
- __declspec(dllexport) void SetReportOnPointerDown();
- __declspec(dllexport) TDrawState DrawState() const;
- __declspec(dllexport) TBool IsPressed() const;
- __declspec(dllexport) void SetAllowTristate();
- __declspec(dllexport) void CopyDrawStateTo(CEikButtonBase* aTargetButton) const;
- public:
- __declspec(dllexport) virtual void GetColorUseListL(CArrayFix<TCoeColorUse>& aColorUseList) const;
- __declspec(dllexport) virtual void HandleResourceChange(TInt aType);
- __declspec(dllexport) void WriteInternalStateL(RWriteStream& aWriteStream) const;
- private:
- __declspec(dllexport) void Reserved_2();
- private:
- __declspec(dllexport) virtual void StateChanged();
- __declspec(dllexport) virtual void Reserved_3();
- public:
- __declspec(dllexport) void HandlePointerEventL(const TPointerEvent& aPointerEvent);
- __declspec(dllexport) TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
- __declspec(dllexport) TCoeInputCapabilities InputCapabilities() const;
- private:
- __declspec(dllexport) void* ExtensionInterface( TUid aInterface );
- private:
- TBool ClickCompleted();
- private:
- enum { EIgnoreNextPointerUp=0x1000 };
- protected:
- TInt iButFlags;
- private:
- TEikButtonCoordinator* iButCoord;
- TInt iSpare[2];
- };
- class TEikButtonCoordinator
- {
- public:
- __declspec(dllexport) TEikButtonCoordinator();
- __declspec(dllexport) void SetChosenButton(CEikButtonBase* aChosenButton);
- private:
- CEikButtonBase* iChosenButton;
- };
- #line 40 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikdialg.h" /* stack depth 2 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikbtgpc.h" /* stack depth 3 */
- #line 31
- class MEikCommandObserver;
- class CEikButtonGroupStack;
- class CEikCommandButton;
- #line 43
- class CEikButtonGroupContainer : public CAknControl, public MEikCommandObserver
- {
- public:
- enum { ETypeId = 0x101F4107 };
- enum TUse
- {
- EView =SLafButtonGroupContainer::EView,
- EDialog =SLafButtonGroupContainer::EDialog,
- EToolbar =SLafButtonGroupContainer::EToolbar,
- ECba =SLafButtonGroupContainer::ECba,
- EDialogButtons =SLafButtonGroupContainer::EDialogButtons
- };
- enum TOrientation
- {
- EVertical =SLafButtonGroupContainer::EVertical,
- EHorizontal =SLafButtonGroupContainer::EHorizontal
- };
- enum TLocation
- {
- EInternal =SLafButtonGroupContainer::EInternal,
- EExternal =SLafButtonGroupContainer::EExternal
- };
- enum THotKeyFlags
- {
- EShowHotKey =0x01,
- EPlainHotKey =0x02
- };
- enum TFlags
- {
- EAddToStack =0x01,
- EDelayActivation =0x02,
- EUseMaxSize =0x04,
- };
- public:
- __declspec(dllexport) static CEikButtonGroupContainer* NewL(TUse aUse,TOrientation aOrientation,
- MEikCommandObserver* aCommandObserver,TInt aResourceId,
- TUint aFlags=EAddToStack);
- __declspec(dllexport) static CEikButtonGroupContainer* NewL(TUse aUse,TOrientation aOrientation,
- MEikCommandObserver* aCommandObserver,TInt aResourceId,
- const CCoeControl& aParent,TUint aFlags=EAddToStack);
- __declspec(dllexport) static CEikButtonGroupContainer* NewL(TUse aUse,TOrientation aOrientation,
- MEikCommandObserver* aCommandObserver,TInt aResourceId,
- RWindowGroup& aParentWg,TUint aFlags=EAddToStack);
- __declspec(dllexport) ~CEikButtonGroupContainer();
- __declspec(dllexport) static CEikButtonGroupContainer* Current();
- public:
- inline void SetCommandL(TInt aPosition,TInt aCommandId,const TDesC& aText);
- inline void SetCommandL(TInt aPosition,TInt aCommandId,const CFbsBitmap& aBitmap,const CFbsBitmap& aMask);
- inline void SetCommandL(TInt aPosition,TInt aCommandId,const TDesC& aText,const CFbsBitmap& aBitmap,const CFbsBitmap& aMask);
- inline void SetCommandL(TInt aPosition,TInt aCommandId,const TDesC& aFile,TInt aBitmapId,TInt aMaskId);
- inline void SetCommandL(TInt aPosition,TInt aCommandId,const TDesC& aText,const TDesC& aFile,TInt aBitmapId,TInt aMaskId);
- inline void SetCommandL(TInt aPosition,TInt aResourceId);
- inline void SetCommandL(TInt aCommandId,const TDesC& aText);
- inline void SetCommandL(TInt aCommandId,const CFbsBitmap& aBitmap,const CFbsBitmap& aMask);
- inline void SetCommandL(TInt aCommandId,const TDesC& aText,const CFbsBitmap& aBitmap,const CFbsBitmap& aMask);
- inline void SetCommandL(TInt aCommandId,const TDesC& aFile,TInt aBitmapId,TInt aMaskId);
- inline void SetCommandL(TInt aCommandId,const TDesC& aText,const TDesC& aFile,TInt aBitmapId,TInt aMaskId);
- __declspec(dllexport) void SetCommandSetL(TInt aResourceId);
- inline void AddCommandL(TInt aPosition,TInt aCommandId,const TDesC& aText);
- inline void AddCommandL(TInt aPosition,TInt aCommandId,const CFbsBitmap& aBitmap,const CFbsBitmap& aMask);
- inline void AddCommandL(TInt aPosition,TInt aCommandId,const TDesC& aText,const CFbsBitmap& aBitmap,const CFbsBitmap& aMask);
- inline void AddCommandL(TInt aPosition,TInt aCommandId,const TDesC& aFile,TInt aBitmapId,TInt aMaskId);
- inline void AddCommandL(TInt aPosition,TInt aCommandId,const TDesC& aText,const TDesC& aFile,TInt aBitmapId,TInt aMaskId);
- inline void AddCommandToStackL(TInt aPosition,TInt aCommandId,const TDesC& aText);
- inline void AddCommandToStackL(TInt aPosition,TInt aCommandId,const CFbsBitmap& aBitmap,const CFbsBitmap& aMask);
- inline void AddCommandToStackL(TInt aPosition,TInt aCommandId,const TDesC& aText,const CFbsBitmap& aBitmap,const CFbsBitmap& aMask);
- inline void AddCommandToStackL(TInt aPosition,TInt aCommandId,const TDesC& aFile,TInt aBitmapId,TInt aMaskId);
- inline void AddCommandToStackL(TInt aPosition,TInt aCommandId,const TDesC& aText,const TDesC& aFile,TInt aBitmapId,TInt aMaskId);
- inline void AddCommandToStackL(TInt aPosition,TInt aResourceId);
- __declspec(dllexport) void AddCommandSetToStackL(TInt aResourceId);
- __declspec(dllexport) void RemoveCommandFromStack(TInt aPosition,TInt aCommandId);
- __declspec(dllexport) void SetDefaultCommand(TInt aCommandId);
- __declspec(dllexport) TSize CalcMinimumSizeL(TInt aResourceId) const;
- __declspec(dllexport) void CleanupCommandPushL(TInt aPosition);
- inline void CleanupCommandPop();
- __declspec(dllexport) void CleanupCommandPop(TInt aCount);
- inline void CleanupCommandPopAndDestroy();
- inline void CleanupCommandPopAndDestroy(TInt aCount);
- __declspec(dllexport) TInt MaxCommands() const;
- __declspec(dllexport) TInt ButtonCount() const;
- __declspec(dllexport) void DimCommand(TInt aCommandId,TBool aDimmed);
- __declspec(dllexport) TBool IsCommandDimmed(TInt aCommandId) const;
- __declspec(dllexport) void MakeCommandVisible(TInt aCommandId,TBool aVisible);
- __declspec(dllexport) TBool IsCommandVisible(TInt aCommandId) const;
- __declspec(dllexport) void AnimateCommand(TInt aCommandId);
- __declspec(dllexport) TLocation Location() const;
- __declspec(dllexport) CEikCommandButton* CommandButtonOrNull(TInt aCommandId) const;
- __declspec(dllexport) void SetBoundingRect(const TRect& aRect);
- __declspec(dllexport) void ReduceRect(TRect& aBoundingRect) const;
- __declspec(dllexport) CCoeControl* ControlOrNull(TInt aCommandId) const;
- __declspec(dllexport) CEikCommandButton* ButtonById(TInt aCommandId) const;
- __declspec(dllexport) TInt PositionById(TInt aCommandId) const;
- __declspec(dllexport) void UpdateHotKey(TInt aCommandId,THotKeyFlags aFlags,TInt aKeyId);
- __declspec(dllexport) void UpdateCommandObserverL(TInt aPos,MEikCommandObserver& aCommandObserver);
- __declspec(dllexport) void RemoveCommandObserver(TInt aPos);
- __declspec(dllexport) TBool DelayActivation() const;
- inline MEikButtonGroup* ButtonGroup();
- inline TUse ButtonGroupType();
- public:
- __declspec(dllexport) TSize MinimumSize();
- __declspec(dllexport) TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
- void MakeVisible(TBool aVisible);
- __declspec(dllexport) void WriteInternalStateL(RWriteStream& aWriteStream) const;
- public:
- __declspec(dllexport) virtual void Reserved_MtsmPosition();
- __declspec(dllexport) virtual void Reserved_MtsmObject();
- 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:
- enum TCommandOp {ESet, EAdd, EPush};
- private:
- class TCmdPos
- {
- public:
- inline TCmdPos();
- inline TCmdPos(TInt aPos,TInt aCmd);
- public:
- TInt iPos;
- TInt iCmd;
- };
- class TCmdObserver
- {
- public:
- inline TCmdObserver(TInt aPos,MEikCommandObserver& aObserver);
- public:
- TInt iPos;
- MEikCommandObserver& iObserver;
- };
- class CCmdObserverArray : public CArrayFixFlat<TCmdObserver>
- {
- public:
- inline CCmdObserverArray();
- TInt FindIndex(TInt aPos);
- };
- private:
- CEikButtonGroupContainer(TUse aUse);
- void ConstructL(TOrientation aOrientation,MEikCommandObserver* aCommandObserver,TInt aResourceId,RWindowGroup* aParentWg,TUint aFlags);
- __declspec(dllexport) void DoSetCommandL(TInt aPosition,TInt aCommandId,const TDesC* aText,const CFbsBitmap* aBitmap,const CFbsBitmap* aMask,TCommandOp aOp);
- __declspec(dllexport) void DoSetCommandL(TInt aPosition,TInt aCommandId,const TDesC* aText,const TDesC& aFile,TInt aBitmapId,TInt aMaskId,TCommandOp aOp);
- __declspec(dllexport) void DoSetCommandL(TInt aCommandId,const TDesC* aText,const CFbsBitmap* aBitmap,const CFbsBitmap* aMask,TCommandOp aOp);
- __declspec(dllexport) void DoSetCommandL(TInt aCommandId,const TDesC* aText,const TDesC& aFile,TInt aBitmapId,TInt aMaskId,TCommandOp aOp);
- __declspec(dllexport) void DoSetCommandL(TInt aPosition,TInt aResourceId,TCommandOp aOp);
- inline CCoeControl* ButtonGroupAsControl() const;
- void UpdateRect();
- static void CleanupCommandDestroy(TAny* aPtr);
- TCmdPos DoCleanupCommandPop();
- void DoCleanupCommandPopAndDestroy();
- private:
- TInt CountComponentControls() const;
- CCoeControl* ComponentControl(TInt aIndex) const;
- void SizeChanged();
- private:
- void ProcessCommandL(TInt aCommandId);
- CCoeControl* CreateCustomCommandControlL(TInt aControlType);
- private:
- MEikButtonGroup* iButtonGroup;
- TUse iUse;
- CArrayFix<TCmdPos> * iCommandsCleanup;
- MEikCommandObserver* iCommandObserver;
- CCmdObserverArray* iObserverArray;
- TDblQueLink iBtLink;
- TInt iSpare[2];
- private:
- friend class CCmdObserverArray;
- friend class CEikButtonGroupStack;
- };
- #line 253
- inline void CEikButtonGroupContainer::SetCommandL(TInt aPosition,TInt aCommandId,const TDesC& aText)
- {DoSetCommandL(aPosition,aCommandId,&aText,0 ,0 ,ESet);}
- #line 263
- inline void CEikButtonGroupContainer::SetCommandL(TInt aPosition,TInt aCommandId,const CFbsBitmap& aBitmap,const CFbsBitmap& aMask)
- {DoSetCommandL(aPosition,aCommandId,0 ,&aBitmap,&aMask,ESet);}
- #line 273
- inline void CEikButtonGroupContainer::SetCommandL(TInt aPosition,TInt aCommandId,const TDesC& aText,const CFbsBitmap& aBitmap,const CFbsBitmap& aMask)
- {DoSetCommandL(aPosition,aCommandId,&aText,&aBitmap,&aMask,ESet);}
- inline void CEikButtonGroupContainer::SetCommandL(TInt aPosition,TInt aCommandId,const TDesC& aFile,TInt aBitmapId,TInt aMaskId)
- {DoSetCommandL(aPosition,aCommandId,0 ,aFile,aBitmapId,aMaskId,ESet);}
- inline void CEikButtonGroupContainer::SetCommandL(TInt aPosition,TInt aCommandId,const TDesC& aText,const TDesC& aFile,TInt aBitmapId,TInt aMaskId)
- {DoSetCommandL(aPosition,aCommandId,&aText,aFile,aBitmapId,aMaskId,ESet);}
- inline void CEikButtonGroupContainer::SetCommandL(TInt aPosition,TInt aResourceId)
- {DoSetCommandL(aPosition,aResourceId,ESet);}
- #line 309
- inline void CEikButtonGroupContainer::SetCommandL(TInt aCommandId,const TDesC& aText)
- {DoSetCommandL(aCommandId,&aText,0 ,0 ,ESet);}
- #line 321
- inline void CEikButtonGroupContainer::SetCommandL(TInt aCommandId,const CFbsBitmap& aBitmap,const CFbsBitmap& aMask)
- {DoSetCommandL(aCommandId,0 ,&aBitmap,&aMask,ESet);}
- #line 332
- inline void CEikButtonGroupContainer::SetCommandL(TInt aCommandId,const TDesC& aText,const CFbsBitmap& aBitmap,const CFbsBitmap& aMask)
- {DoSetCommandL(aCommandId,&aText,&aBitmap,&aMask,ESet);}
- #line 344
- inline void CEikButtonGroupContainer::SetCommandL(TInt aCommandId,const TDesC& aFile,TInt aBitmapId,TInt aMaskId)
- {DoSetCommandL(aCommandId,0 ,aFile,aBitmapId,aMaskId,ESet);}
- #line 356
- inline void CEikButtonGroupContainer::SetCommandL(TInt aCommandId,const TDesC& aText,const TDesC& aFile,TInt aBitmapId,TInt aMaskId)
- {DoSetCommandL(aCommandId,&aText,aFile,aBitmapId,aMaskId,ESet);}
- inline void CEikButtonGroupContainer::AddCommandL(TInt aPosition,TInt aCommandId,const TDesC& aText)
- {DoSetCommandL(aPosition,aCommandId,&aText,0 ,0 ,EAdd);}
- inline void CEikButtonGroupContainer::AddCommandL(TInt aPosition,TInt aCommandId,const CFbsBitmap& aBitmap,const CFbsBitmap& aMask)
- {DoSetCommandL(aPosition,aCommandId,0 ,&aBitmap,&aMask,EAdd);}
- inline void CEikButtonGroupContainer::AddCommandL(TInt aPosition,TInt aCommandId,const TDesC& aText,const CFbsBitmap& aBitmap,const CFbsBitmap& aMask)
- {DoSetCommandL(aPosition,aCommandId,&aText,&aBitmap,&aMask,EAdd);}
- inline void CEikButtonGroupContainer::AddCommandL(TInt aPosition,TInt aCommandId,const TDesC& aFile,TInt aBitmapId,TInt aMaskId)
- {DoSetCommandL(aPosition,aCommandId,0 ,aFile,aBitmapId,aMaskId,EAdd);}
- inline void CEikButtonGroupContainer::AddCommandL(TInt aPosition,TInt aCommandId,const TDesC& aText,const TDesC& aFile,TInt aBitmapId,TInt aMaskId)
- {DoSetCommandL(aPosition,aCommandId,&aText,aFile,aBitmapId,aMaskId,EAdd);}
- inline void CEikButtonGroupContainer::AddCommandToStackL(TInt aPosition,TInt aCommandId,const TDesC& aText)
- {DoSetCommandL(aPosition,aCommandId,&aText,0 ,0 ,EPush);}
- inline void CEikButtonGroupContainer::AddCommandToStackL(TInt aPosition,TInt aCommandId,const CFbsBitmap& aBitmap,const CFbsBitmap& aMask)
- {DoSetCommandL(aPosition,aCommandId,0 ,&aBitmap,&aMask,EPush);}
- inline void CEikButtonGroupContainer::AddCommandToStackL(TInt aPosition,TInt aCommandId,const TDesC& aText,const CFbsBitmap& aBitmap,const CFbsBitmap& aMask)
- {DoSetCommandL(aPosition,aCommandId,&aText,&aBitmap,&aMask,EPush);}
- inline void CEikButtonGroupContainer::AddCommandToStackL(TInt aPosition,TInt aCommandId,const TDesC& aFile,TInt aBitmapId,TInt aMaskId)
- {DoSetCommandL(aPosition,aCommandId,0 ,aFile,aBitmapId,aMaskId,EPush);}
- inline void CEikButtonGroupContainer::AddCommandToStackL(TInt aPosition,TInt aCommandId,const TDesC& aText,const TDesC& aFile,TInt aBitmapId,TInt aMaskId)
- {DoSetCommandL(aPosition,aCommandId,&aText,aFile,aBitmapId,aMaskId,EPush);}
- inline void CEikButtonGroupContainer::AddCommandToStackL(TInt aPosition,TInt aResourceId)
- {DoSetCommandL(aPosition,aResourceId,EPush);}
- inline void CEikButtonGroupContainer::CleanupCommandPop()
- {CleanupCommandPop(1);}
- inline void CEikButtonGroupContainer::CleanupCommandPopAndDestroy()
- {CleanupStack::PopAndDestroy();}
- inline void CEikButtonGroupContainer::CleanupCommandPopAndDestroy(TInt aCount)
- {CleanupStack::PopAndDestroy(aCount);}
- inline MEikButtonGroup* CEikButtonGroupContainer::ButtonGroup()
- {return iButtonGroup;}
- inline CEikButtonGroupContainer::TUse CEikButtonGroupContainer::ButtonGroupType()
- {return iUse;}
- #line 44 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikdialg.h" /* stack depth 2 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknpopupfader.h" /* stack depth 3 */
- #line 30
- class CCoeControl;
- class MAknFadedComponent
- {
- public:
- __declspec(dllexport) virtual TInt CountFadedComponents();
- __declspec(dllexport) virtual CCoeControl* FadedComponent(TInt aIndex);
- };
- class TAknPopupFader
- {
- public:
- __declspec(dllexport) void FadeBehindPopup(MAknFadedComponent* aComponent, CCoeControl* aParent, TBool aFade);
- public:
- static void CreateStaticL();
- private:
- void FadeBehindPopupL(MAknFadedComponent* aComponent, CCoeControl* aParent, TBool aFade);
- private:
- TBool iBackgroundFaded;
- };
- #line 47 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikdialg.h" /* stack depth 2 */
- const TInt KAknMediatorFacade(0x10275076);
- class CEikMover;
- class CEikCaptionedControl;
- class CEikCapCArray;
- class CEikDialogPageSelector;
- class CEikButtonGroupContainer;
- class CEikDialogButtonCommandObserver;
- class MEikCommandObserver;
- class CAknDialog;
- class CAknNoteDialog;
- struct SEikControlInfo;
- class CEikDialogExtension ;
- class CAknsListBoxBackgroundControlContext ;
- class CEikLabel;
- class CGlobalText;
- class MAknDialogMediatorObserver;
- struct SEikRange;
- struct SEikDegreesMinutesDirection;
- class CEikDialog : public CEikBorderedControl,public MCoeControlObserver,public MEikDialogPageObserver,public MCoeControlContext, public MAknFadedComponent
- {
- public:
- __declspec(dllexport) CEikDialog();
- __declspec(dllexport) ~CEikDialog();
- __declspec(dllexport) virtual TInt ExecuteLD(TInt aResourceId);
- __declspec(dllexport) virtual void PrepareLC(TInt aResourceId);
- __declspec(dllexport) virtual TInt RunLD();
- __declspec(dllexport) void SetTitleL(const TDesC& aText);
- __declspec(dllexport) void SetTitleL(TInt aResourceId);
- __declspec(dllexport) void SetPageDimmedNow(TInt aPageId,TBool aDimmed);
- __declspec(dllexport) void SetLineNonFocusing(TInt aControlId);
- __declspec(dllexport) void SetLineDimmedNow(TInt aControlId,TBool aDimmed);
- __declspec(dllexport) void MakeLineVisible(TInt aControlId,TBool aVisible);
- __declspec(dllexport) void MakeWholeLineVisible(TInt aControlId,TBool aVisible);
- __declspec(dllexport) void DeleteLine(TInt aControlId, TBool aRedraw=ETrue);
- __declspec(dllexport) void InsertLineL(TInt aIndex,TInt aResourceId,TInt aPageId=0);
- __declspec(dllexport) void MakePanelButtonVisible(TInt aButtonId,TBool aVisible);
- __declspec(dllexport) void TryChangeFocusToL(TInt aControlId);
- __declspec(dllexport) void SwitchLineLatency(TInt aBecomesLatent,TInt aNoLongerLatent);
- __declspec(dllexport) void SetPageDensePacking(TInt aPageId,TBool aDensePacking);
- __declspec(dllexport) void ConstructAutoDialogLC(TInt aFlags,TInt aButtonsId);
- __declspec(dllexport) void DeclareItemAuto(TInt aControlId,TInt aControlType,TAny* aReturnValue);
- __declspec(dllexport) void Layout();
- __declspec(dllexport) TSize PreferredSize(const TSize& aMaxSize) const;
- __declspec(dllexport) CCoeControl* CreateLineByTypeL(const TDesC& aCaption,TInt aControlId,TInt aControlType,TAny* aReturnValue);
- __declspec(dllexport) CCoeControl* CreateLineByTypeL(const TDesC& aCaption,TInt aPageId,TInt aControlId,TInt aControlType,TAny* aReturnValue);
- __declspec(dllexport) void SetControlCaptionL(TInt aControlId,const TDesC& aText);
- __declspec(dllexport) void SetControlCaptionL(TInt aControlId,TInt aResourceId);
- __declspec(dllexport) CEikLabel* ControlCaption(TInt aControlId) const;
- __declspec(dllexport) CCoeControl* Control(TInt aControlId) const;
- __declspec(dllexport) CCoeControl* ControlOrNull(TInt aControlId) const;
- __declspec(dllexport) CEikButtonGroupContainer& ButtonGroupContainer() const;
- __declspec(dllexport) CEikMover& Title() const;
- __declspec(dllexport) TInt ActivePageId() const;
- __declspec(dllexport) void ActivateFirstPageL() const;
- __declspec(dllexport) void SetEditableL( TBool aEditable ) ;
- __declspec(dllexport) TBool IsEditable() const ;
- public:
- __declspec(dllexport) TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
- __declspec(dllexport) void FocusChanged(TDrawNow aDrawNow);
- __declspec(dllexport) virtual void GetColorUseListL(CArrayFix<TCoeColorUse>& aColorUseList) const;
- __declspec(dllexport) virtual void HandleResourceChange(TInt aType);
- __declspec(dllexport) TCoeInputCapabilities InputCapabilities() const;
- __declspec(dllexport) void MakeVisible(TBool aVisible);
- __declspec(dllexport) void HandlePointerEventL(const TPointerEvent& aPointerEvent);
- protected:
- __declspec(dllexport) virtual void PrepareForFocusTransitionL();
- __declspec(dllexport) virtual void PageChangedL(TInt aPageId);
- __declspec(dllexport) virtual void LineChangedL(TInt aControlId);
- public:
- __declspec(dllexport) virtual SEikControlInfo CreateCustomControlL(TInt aControlType);
- __declspec(dllexport) MEikDialogPageObserver::TFormControlTypes ConvertCustomControlTypeToBaseControlType(TInt aControlType) const;
- __declspec(dllexport) virtual void GetCustomAutoValue(TAny* aReturnValue,TInt aControlType,const CCoeControl* aControl);
- protected:
- __declspec(dllexport) void PrepareContext(CWindowGc& aGc) const;
- protected:
- __declspec(dllexport) void WriteInternalStateL(RWriteStream& aWriteStream) const;
- private:
- __declspec(dllexport) void Draw(const TRect& aRect) const;
- protected:
- __declspec(dllexport) TInt CountComponentControls() const;
- __declspec(dllexport) CCoeControl* ComponentControl(TInt aIndex) const;
- protected:
- __declspec(dllexport) TInt GetNumberOfLinesOnPage(TInt aPageIndex) const;
- __declspec(dllexport) TInt GetNumberOfPages() const;
- __declspec(dllexport) CEikCaptionedControl* GetLineByLineAndPageIndex(TInt aLineIndex, TInt aPageIndex) const;
- private:
- __declspec(dllexport) void SizeChanged();
- __declspec(dllexport) TSize MinimumSize();
- __declspec(dllexport) void ConstructFromResourceL(TResourceReader& aReader);
- __declspec(dllexport) void Reserved_2();
- private:
- __declspec(dllexport) void* ExtensionInterface( TUid aInterface );
- protected:
- __declspec(dllexport) void HandleControlEventL(CCoeControl* aControl,TCoeEvent aEventType);
- protected:
- __declspec(dllexport) void TryExitL(TInt aButtonId);
- __declspec(dllexport) void AdjustAllIdsOnPage(TInt aPageId,TInt aControlIdDelta);
- __declspec(dllexport) void ConstructSleepingDialogL(TInt aResourceId);
- __declspec(dllexport) void ConstructSleepingAlertDialogL(TInt aResourceId);
- __declspec(dllexport) TInt RouseSleepingDialog();
- __declspec(dllexport) void ExitSleepingDialog();
- __declspec(dllexport) TInt IdOfFocusControl() const;
- __declspec(dllexport) TInt FindLineIndex(const CCoeControl& aControl) const;
- __declspec(dllexport) CEikCaptionedControl* Line(TInt aControlId) const;
- __declspec(dllexport) CEikCaptionedControl* CurrentLine() const;
- __declspec(dllexport) TBool RotateFocusByL(TInt aDelta);
- __declspec(dllexport) TInt ActivePageIndex() const;
- __declspec(dllexport) void ResetLineMinimumSizes();
- __declspec(dllexport) CEikButtonGroupContainer* SwapButtonGroupContainer(CEikButtonGroupContainer* aContainer);
- __declspec(dllexport) MEikCommandObserver* ButtonCommandObserver() const;
- protected:
- __declspec(dllexport) virtual TBool OkToExitL(TInt aButtonId);
- __declspec(dllexport) virtual void PreLayoutDynInitL();
- __declspec(dllexport) virtual void PostLayoutDynInitL();
- __declspec(dllexport) virtual void SetInitialCurrentLine();
- __declspec(dllexport) virtual void HandleControlStateChangeL(TInt aControlId);
- __declspec(dllexport) virtual void HandleInteractionRefused(TInt aControlId);
- __declspec(dllexport) virtual void SetSizeAndPosition(const TSize& aSize);
- __declspec(dllexport) virtual TInt BorderStyle();
- #line 222
- __declspec(dllexport) virtual TInt MappedCommandId( TInt aButtonId );
- __declspec(dllexport) TInt FormFlagsFromActivePage();
- #line 234
- __declspec(dllexport) virtual CEikCaptionedControl* GetFirstLineOnFirstPageOrNull();
- __declspec(dllexport) void ControlsOnPage(RArray<CEikCaptionedControl*>& aControls, TInt aPageId) const;
- void SlideDialog();
- protected:
- __declspec(dllexport) TTypeUid::Ptr MopSupplyObject(TTypeUid aId);
- private:
- __declspec(dllexport) virtual void CEikDialog_Reserved_1();
- __declspec(dllexport) virtual void CEikDialog_Reserved_2();
- private:
- void BaseConstructL();
- void StaticConstructL(TInt aResourceId);
- void DynamicConstructL();
- void CreateTitleBarL();
- void CreateButtonGroupContainerL(TInt aResourceId);
- void CreatePageSelectorL();
- void CreatePageSelectorL(TInt aResourceId);
- TInt WaitAsRequired();
- void StopWaitingAsRequired();
- TKeyResponse TryAnimateButtonAndExitL(TInt aKeycode);
- void GetAutoValues();
- void CommonConstructSleepingDialogL(TInt aResourceId);
- void SetBorderStyle();
- void FadeBehindPopup(TBool aFade);
- void DoFadeBehindPopup(TBool aFade);
- __declspec(dllexport) virtual TInt CountFadedComponents();
- __declspec(dllexport) virtual CCoeControl* FadedComponent(TInt aIndex);
- private:
- CEikMover* iTitleBar;
- CEikDialogPageSelector* iPageSelector;
- CEikButtonGroupContainer* iButtonGroupContainer;
- CEikDialogButtonCommandObserver* iButtonCommandObserver;
- TInt iDialogFlags;
- TInt* iExitConfirmed;
- TBool iIsEditable ;
- TAknPopupFader iPopupFader;
- CActiveSchedulerWait iWait;
- public :
- __declspec(dllexport) CEikDialogExtension* Extension() const;
- private :
- CEikDialogExtension* iExtension ;
- private:
- friend class CEikDialogButtonCommandObserver;
- friend class CEikDialogExtension;
- friend class CAknDialog;
- friend class CAknCharMapDialog;
- friend class CAknNoteDialog;
- friend class CAknMediatorFacade;
- public:
- __declspec(dllexport) TInt DialogFlags();
- protected:
- void RegisterDialgWithPageSelector();
- public:
- __declspec(dllexport) void DeclareAutoTextEditorL(TInt aId,TDes* aText);
- __declspec(dllexport) void DeclareAutoNumberEditor(TInt aId,TInt* aNumber);
- __declspec(dllexport) void DeclareAutoRangeEditor(TInt aId,SEikRange* aRange);
- __declspec(dllexport) void DeclareAutoTimeEditor(TInt aId,TTime* aTime);
- __declspec(dllexport) void DeclareAutoDateEditor(TInt aId,TTime* aDate);
- __declspec(dllexport) void DeclareAutoTimeAndDateEditor(TInt aId,TTime* aTimeAndDate);
- __declspec(dllexport) void DeclareAutoDurationEditor(TInt aId,TTimeIntervalSeconds* aDuration);
- __declspec(dllexport) void DeclareAutoTimeOffsetEditor(TInt aId,TTimeIntervalSeconds* aTimeOffset);
- __declspec(dllexport) void DeclareAutoFixedPointEditor(TInt aId,TInt* aValue);
- __declspec(dllexport) void DeclareAutoSecretEditor(TInt aId,TDes* aText);
- public:
- __declspec(dllexport) void AddAutoTextEditorL(const TDesC& aPrompt,TInt aId,TInt aFlags,TInt aWidthInChars,TInt aNoOfLines,TDes* aReturn);
- __declspec(dllexport) void AddAutoGlobalTextEditorL(const TDesC& aPrompt,TInt aId,TInt aFlags,TInt aWidthInChars,TInt aNoOfLines,TInt aTextLimit,CGlobalText* aReturn,TInt aFontControlFlags=0x001 ,TInt aFontNameFlags=0x10 );
- __declspec(dllexport) void AddAutoRichTextEditorL(const TDesC& aPrompt,TInt aId,TInt aFlags,TInt aWidthInChars,TInt aNoOfLines,TInt aTextLimit,CGlobalText* aReturn,TInt aFontControlFlags=0x001 ,TInt aFontNameFlags=0x10 );
- __declspec(dllexport) void AddAutoNumberEditorL(const TDesC& aPrompt,TInt aId,TInt aMin,TInt aMax,TInt* aReturn);
- __declspec(dllexport) void AddAutoRangeEditorL(const TDesC& aPrompt,TInt aId,TInt aMin,TInt aMax,HBufC* aSeparatorText,SEikRange* aReturn);
- __declspec(dllexport) void AddAutoTimeEditorL(const TDesC& aPrompt,TInt aId,const TTime& aMin,const TTime& aMax,TBool aNoSeconds,TTime* aReturn);
- __declspec(dllexport) void AddAutoDateEditorL(const TDesC& aPrompt,TInt aId,const TTime& aMin,const TTime& aMax, TBool aNoPopout,TTime* aReturn);
- __declspec(dllexport) void AddAutoTimeAndDateEditorL(const TDesC& aPrompt,TInt aId,const TTime& aMin,const TTime& aMax,TBool aNoSeconds,TBool aNoPopout,HBufC* aInterveningText,TTime* aReturn);
- __declspec(dllexport) void AddAutoDurationEditorL(const TDesC& aPrompt,TInt aId,const TTimeIntervalSeconds& aMin,const TTimeIntervalSeconds& aMax,TBool aNoSeconds,TTimeIntervalSeconds* aReturn);
- __declspec(dllexport) void AddAutoTimeOffsetEditorL(const TDesC& aPrompt,TInt aId,const TTimeIntervalSeconds& aMin,const TTimeIntervalSeconds& aMax,TBool aNoSeconds,TTimeIntervalSeconds* aReturn);
- __declspec(dllexport) void AddAutoFloatEditorL(const TDesC& aPrompt,TInt aId,const TReal& aMin,const TReal& aMax,TReal* aReturn);
- __declspec(dllexport) void AddAutoFixedPointEditorL(const TDesC& aPrompt,TInt aId,TInt aMin,TInt aMax,TInt* aRetValue,TInt aDecimalPlaces);
- __declspec(dllexport) void AddAutoSecretEditorL(const TDesC& aPrompt,TInt aId,TDes* aReturn);
- protected:
- __declspec(dllexport) void SetLabelL(TInt aControlId, const TDesC& aDes);
- __declspec(dllexport) void SetLabelL(TInt aControlId, TInt aResourceId);
- __declspec(dllexport) void SetLabelReserveLengthL(TInt aControlId, TInt aLength);
- __declspec(dllexport) void SetEdwinTextL(TInt aControlId, const TDesC* aDes);
- __declspec(dllexport) void SetTextEditorTextL(TInt aControlId,const CGlobalText* aGlobalText);
- __declspec(dllexport) void ResetSecretEditor(TInt aControlId);
- __declspec(dllexport) void SetFloatingPointEditorValueL(TInt aControlId, const TReal* aValue);
- __declspec(dllexport) void SetFixedPointEditorValueL(TInt aControlId,TInt aValue);
- __declspec(dllexport) void SetFixedPointEditorDecimal(TInt aControlId, TInt aDecimal);
- __declspec(dllexport) void SetNumberEditorMinAndMax(TInt aControlId, TInt aMinimumValue, TInt aMaximumValue);
- __declspec(dllexport) void SetNumberEditorValue(TInt aControlId, TInt aNumber);
- __declspec(dllexport) void SetFloatEditorMinAndMax(TInt aControlId,TInt aMin,TInt aMax);
- __declspec(dllexport) void SetFloatEditorValueL(TInt aControlId,TReal aFloat);
- __declspec(dllexport) void SetRangeEditorMinAndMax(TInt aControlId, TInt aMinimumValue, TInt aMaximumValue);
- __declspec(dllexport) void SetRangeEditorValue(TInt aControlId, const SEikRange& aRange);
- __declspec(dllexport) void SetTTimeEditorMinAndMax(TInt aControlId, const TTime& aMinimumTime, const TTime& aMaximumTime);
- __declspec(dllexport) void SetTTimeEditorValue(TInt aControlId, const TTime& aTime);
- __declspec(dllexport) void SetDurationEditorMinAndMax(TInt aControlId, const TTimeIntervalSeconds& aMinimumDuration, const TTimeIntervalSeconds& aMaximumDuration);
- __declspec(dllexport) void SetDurationEditorValue(TInt aControlId, const TTimeIntervalSeconds& aDuration);
- __declspec(dllexport) void SetTimeOffsetEditorMinAndMax(TInt aControlId, const TTimeIntervalSeconds& aMinimumTimeOffset, const TTimeIntervalSeconds& aMaximumTimeOffset);
- __declspec(dllexport) void SetTimeOffsetEditorValue(TInt aControlId, const TTimeIntervalSeconds& aTimeOffset);
- __declspec(dllexport) void SetListBoxCurrentItem(TInt aControlId, TInt aItem);
- __declspec(dllexport) void SetFileNameL(TInt aControlId, const TDesC* aFileName);
- protected:
- __declspec(dllexport) void GetLabelText(TDes& aDes,TInt aControlId) const;
- __declspec(dllexport) void GetEdwinText(TDes& aDes,TInt aControlId) const;
- __declspec(dllexport) void GetTextEditorText(CGlobalText*& aGlobalText,TInt aControlId);
- __declspec(dllexport) void GetSecretEditorText(TDes& aDes,TInt aControlId) const;
- __declspec(dllexport) TReal FloatingPointEditorValue(TInt aControlId) const;
- __declspec(dllexport) TInt FixedPointEditorValue(TInt aControlId) const;
- __declspec(dllexport) TInt FixedPointEditorDecimal(TInt aControlId) const;
- __declspec(dllexport) TReal FloatEditorValue(TInt aControlId) const;
- __declspec(dllexport) TInt NumberEditorValue(TInt aControlId) const;
- __declspec(dllexport) SEikRange RangeEditorValue(TInt aControlId) const;
- __declspec(dllexport) TTime TTimeEditorValue(TInt aControlId) const;
- __declspec(dllexport) TTimeIntervalSeconds DurationEditorValue(TInt aControlId) const;
- __declspec(dllexport) TTimeIntervalSeconds TimeOffsetEditorValue(TInt aControlId) const;
- __declspec(dllexport) void GetAutoValuesFromPage(CEikCapCArray* aLines);
- __declspec(dllexport) TInt ListBoxCurrentItem(TInt aControlId) const;
- __declspec(dllexport) void GetFileName(TFileName* aFileName,TInt aControlId) const;
- __declspec(dllexport) void UpdatePageL(TBool aRedraw);
- public:
- __declspec(dllexport) virtual void HandleDialogPageEventL(TInt aEventID);
- #line 403
- __declspec(dllexport) void PublishDialogL(TInt aDialogIndex, TUid aCatUid = TUid::Null() );
- #line 417
- __declspec(dllexport) void SetMediatorObserver(MAknDialogMediatorObserver* aObserver);
- };
- #line 26 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknquerydialog.h" /* stack depth 1 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknform.h" /* stack depth 2 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknDialog.h" /* stack depth 3 */
- #line 26
- class CAknDialogAttributes;
- class CAknDialog : public CEikDialog, public MEikMenuObserver
- {
- public :
- __declspec(dllexport) CAknDialog() ;
- __declspec(dllexport) void ConstructL( TInt aMenuTitleResourceId ) ;
- __declspec(dllexport) ~CAknDialog() ;
- __declspec(dllexport) TInt ExecuteLD( TInt aResourceId ) ;
- __declspec(dllexport) void PrepareLC(TInt aResourceId);
- __declspec(dllexport) TInt RunLD();
- __declspec(dllexport) virtual void SetEmphasis( CCoeControl* aMenuControl,TBool aEmphasis ) ;
- __declspec(dllexport) virtual void DynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane ) ;
- __declspec(dllexport) virtual void ProcessCommandL( TInt aCommandId ) ;
- __declspec(dllexport) TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType) ;
- __declspec(dllexport) void FocusChanged(TDrawNow aDrawNow);
- __declspec(dllexport) void HandlePointerEventL(const TPointerEvent& aPointerEvent);
- private:
- __declspec(dllexport) virtual void Reserved_MtsmPosition();
- __declspec(dllexport) virtual void Reserved_MtsmObject();
- private:
- __declspec(dllexport) void* ExtensionInterface( TUid aInterface );
- protected:
- __declspec(dllexport) virtual TBool OkToExitL( TInt aButtonId ) ;
- __declspec(dllexport) void DisplayMenuL() ;
- __declspec(dllexport) void HideMenu() ;
- __declspec(dllexport) TBool MenuShowing() const ;
- __declspec(dllexport) virtual void SizeChanged();
- __declspec(dllexport) virtual void Draw(const TRect &aRect) const;
- protected:
- __declspec(dllexport) TTypeUid::Ptr MopSupplyObject(TTypeUid aId);
- private:
- __declspec(dllexport) virtual void CEikDialog_Reserved_1();
- __declspec(dllexport) virtual void CEikDialog_Reserved_2();
- private:
- __declspec(dllexport) virtual void CAknDialog_Reserved();
- protected:
- void CreateMenuBarL(TInt aMenuTitleResourceId);
- protected:
- CEikMenuBar* iMenuBar ;
- private:
- enum TAknDialogFlag
- {
- EAknDialogFlagDialogDeleted = 1,
- EAknDialogFlagDefaultSounds = 2,
- EAknDialogFlagNotConstructed = 4
- };
- CAknDialogAttributes* iAttributes;
- CAknDialogAttributes* AttributesL();
- } ;
- #line 29 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknform.h" /* stack depth 2 */
- class CEikMenuBar ;
- #line 42
- class CAknForm : public CAknDialog
- {
- public:
- __declspec(dllexport) CAknForm();
- __declspec(dllexport) void ConstructL( TInt aMenuBarId=0 );
- __declspec(dllexport) ~CAknForm();
- #line 70
- __declspec(dllexport) virtual void DynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane );
- __declspec(dllexport) virtual void ProcessCommandL( TInt aCommandId );
- protected:
- #line 90
- __declspec(dllexport) virtual TBool OkToExitL( TInt aButtonId );
- #line 99
- __declspec(dllexport) virtual void PrepareForFocusTransitionL();
- public:
- #line 110
- __declspec(dllexport) void HandleResourceChange(TInt aType);
- __declspec(dllexport) void HandlePointerEventL(const TPointerEvent& aPointerEvent);
- protected:
- #line 129
- __declspec(dllexport) virtual TBool SaveFormDataL();
- #line 138
- __declspec(dllexport) virtual void DoNotSaveFormDataL();
- #line 151
- __declspec(dllexport) virtual TBool QuerySaveChangesL();
- __declspec(dllexport) virtual void EditCurrentLabelL();
- __declspec(dllexport) virtual void DeleteCurrentItemL();
- __declspec(dllexport) virtual void AddItemL();
- __declspec(dllexport) void SetChangesPending(TBool aChangesPending);
- __declspec(dllexport) void PostLayoutDynInitL();
- __declspec(dllexport) void HandleControlStateChangeL(TInt aControlId);
- __declspec(dllexport) void SetInitialCurrentLine();
- __declspec(dllexport) TBool UnsavedEdit() const;
- __declspec(dllexport) TBool Deleting() const;
- enum TFlags
- {
- EDeleting = 0x1,
- EUnsavedEdit = 0x2
- };
- __declspec(dllexport) void SetFormFlag( TFlags aFlagPattern, TBool aSetTheFlag );
- private:
- __declspec(dllexport) void* ExtensionInterface( TUid aInterface );
- private:
- __declspec(dllexport) virtual void CEikDialog_Reserved_1();
- __declspec(dllexport) virtual void CEikDialog_Reserved_2();
- private:
- __declspec(dllexport) virtual void CAknDialog_Reserved();
- private:
- __declspec(dllexport) virtual void CAknForm_Reserved();
- private:
- void DoLayout();
- private :
- TInt iMenuBarId ;
- TInt iFlags ;
- TInt iWsBufferRequestID;
- } ;
- #line 27 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknquerydialog.h" /* stack depth 1 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eiklbx.h" /* stack depth 2 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eiklbo.h" /* stack depth 3 */
- #line 13
- class CEikListBox;
- class MEikListBoxObserver
- {
- public:
- enum TListBoxEvent
- {
- EEventEnterKeyPressed,
- EEventItemClicked,
- EEventItemDoubleClicked,
- EEventItemActioned,
- EEventEditingStarted,
- EEventEditingStopped,
- EEventPenDownOnItem,
- EEventItemDraggingActioned
- };
- public:
- virtual void HandleListBoxEventL(CEikListBox* aListBox, TListBoxEvent aEventType)=0;
- };
- #line 18 "C:\Symbian\9.1\S60_3rd\epoc32\include\eiklbx.h" /* stack depth 2 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eiklbm.h" /* stack depth 3 */
- #line 20
- enum TListBoxModelItemArrayOwnership
- {
- ELbmOwnsItemArray,
- ELbmDoesNotOwnItemArray
- };
- class MListBoxModel
- {
- public:
- __declspec(dllexport) virtual ~MListBoxModel();
- virtual TInt NumberOfItems() const = 0;
- virtual const MDesC16Array * MatchableTextArray() const = 0;
- private:
- __declspec(dllexport) virtual TAny* MListBoxModel_Reserved();
- };
- class MTextListBoxModel : public MListBoxModel
- {
- public:
- __declspec(dllexport) ~MTextListBoxModel();
- virtual TPtrC ItemText(TInt aItemIndex) const = 0;
- private:
- __declspec(dllexport) virtual TAny* MListBoxModel_Reserved();
- };
- #line 26 "C:\Symbian\9.1\S60_3rd\epoc32\include\eiklbx.h" /* stack depth 2 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eiklbv.h" /* stack depth 3 */
- #line 18
- class CListItemDrawer;
- class MListBoxModel;
- class CWindowGc;
- class RWindowGroup;
- class CWsScreenDevice;
- class CWindowGc;
- class RWindow;
- class MListVisibilityObserver
- {
- public:
- virtual TBool IsVisible() const = 0;
- };
- class CListBoxView : public CBase
- {
- public:
- enum TCursorMovement
- {
- ECursorNextItem,
- ECursorPreviousItem,
- ECursorNextColumn,
- ECursorPreviousColumn,
- ECursorPreviousPage,
- ECursorNextPage,
- ECursorFirstItem,
- ECursorLastItem,
- ECursorNextScreen,
- ECursorPrevScreen
- };
- enum TFlags
- {
- EAnchorExists = 0x0001,
- EEmphasized = 0x0002,
- EDimmed = 0x0004,
- EHasMatcherCursor = 0x0008,
- EDisableRedraw = 0x0010,
- EPaintedSelection = 0x0020,
- EMarkSelection = 0x0040,
- EUnmarkSelection = 0x0080,
- EItemCountModified = 0x0100
- };
- enum TSelectionMode
- {
- ENoSelection,
- ESingleSelection,
- EContiguousSelection,
- EDisjointSelection,
- EDisjointMarkSelection,
- EPenMultiselection,
- EChangeMarkMode
- };
- typedef CArrayFix<TInt> CSelectionIndexArray;
- public:
- __declspec(dllexport) ~CListBoxView();
- __declspec(dllexport) CListBoxView();
- __declspec(dllexport) virtual void ConstructL(MListBoxModel* aListBoxModel, CListItemDrawer* aItemDrawer, CWsScreenDevice* aScreen, RWindowGroup* aGroupWin, RWindow* aWsWindow, const TRect& aDisplayArea, TInt aItemHeight);
- __declspec(dllexport) TRect ViewRect() const;
- __declspec(dllexport) void SetViewRect(const TRect& aRect);
- __declspec(dllexport) virtual TInt CurrentItemIndex() const;
- __declspec(dllexport) void SetCurrentItemIndex(TInt aItemIndex);
- __declspec(dllexport) TInt TopItemIndex() const;
- __declspec(dllexport) virtual void SetTopItemIndex(TInt aItemIndex);
- __declspec(dllexport) TInt BottomItemIndex() const;
- __declspec(dllexport) virtual void CalcBottomItemIndex();
- __declspec(dllexport) virtual void SetItemHeight(TInt aItemHeight);
- __declspec(dllexport) void SetMatcherCursorColor(TRgb aColor);
- __declspec(dllexport) void SetMatcherCursorPos(TInt aPosWithinCurrentItem);
- __declspec(dllexport) TInt MatcherCursorPos() const;
- __declspec(dllexport) virtual void DrawMatcherCursor();
- __declspec(dllexport) void HideMatcherCursor();
- __declspec(dllexport) void SetMatcherCursor(TBool aMatcherCursor);
- __declspec(dllexport) void SetEmphasized(TBool aEmphasized);
- __declspec(dllexport) void SetDimmed(TBool aDimmed);
- __declspec(dllexport) void SetDisableRedraw(TBool aDisableRedraw);
- __declspec(dllexport) TBool RedrawDisabled() const;
- __declspec(dllexport) void SetPaintedSelection( TBool aPaintedSelection );
- __declspec(dllexport) const CSelectionIndexArray* SelectionIndexes() const;
- __declspec(dllexport) void GetSelectionIndexesL(CSelectionIndexArray* aSelectionArray) const;
- __declspec(dllexport) void SetSelectionIndexesL(const CSelectionIndexArray* aSelectionIndexes);
- __declspec(dllexport) void ClearSelection();
- __declspec(dllexport) virtual void UpdateSelectionL(TSelectionMode aSelectionMode);
- __declspec(dllexport) void ToggleItemL(TInt aItemIndex);
- __declspec(dllexport) void SelectItemL(TInt aItemIndex);
- __declspec(dllexport) void DeselectItem(TInt aItemIndex);
- __declspec(dllexport) void SetAnchor(TInt aItemIndex);
- __declspec(dllexport) void ClearSelectionAnchorAndActiveIndex();
- __declspec(dllexport) virtual TBool ScrollToMakeItemVisible(TInt aItemIndex);
- __declspec(dllexport) virtual void VScrollTo(TInt aNewTopItemIndex);
- __declspec(dllexport) virtual void VScrollTo(TInt aNewTopItemIndex, TRect& aMinRedrawRect);
- __declspec(dllexport) virtual void HScroll(TInt aHScrollAmount);
- __declspec(dllexport) TInt HScrollOffset() const;
- __declspec(dllexport) void SetHScrollOffset(TInt aHorizontalOffset);
- __declspec(dllexport) TInt DataWidth() const;
- __declspec(dllexport) virtual void CalcDataWidth();
- __declspec(dllexport) virtual TInt VisibleWidth(const TRect& aRect) const;
- __declspec(dllexport) virtual TInt CalcNewTopItemIndexSoItemIsVisible(TInt aItemIndex) const;
- __declspec(dllexport) virtual void Draw(const TRect* aClipRect = 0 ) const;
- __declspec(dllexport) virtual void DrawItem(TInt aItemIndex) const;
- __declspec(dllexport) void SetListEmptyTextL(const TDesC& aText);
- inline const TDesC* EmptyListText() const;
- __declspec(dllexport) TBool ItemIsSelected(TInt aItemIndex) const;
- __declspec(dllexport) TBool ItemIsVisible(TInt aItemIndex) const;
- __declspec(dllexport) virtual TPoint ItemPos(TInt aItemIndex) const;
- __declspec(dllexport) virtual TSize ItemSize(TInt aItemIndex=0) const;
- __declspec(dllexport) void SetTextColor(TRgb aColor);
- __declspec(dllexport) void SetBackColor(TRgb aColor);
- __declspec(dllexport) TRgb TextColor() const;
- __declspec(dllexport) TRgb BackColor() const;
- __declspec(dllexport) virtual void MoveCursorL(TCursorMovement aCursorMovement, TSelectionMode aSelectionMode);
- __declspec(dllexport) virtual void VerticalMoveToItemL(TInt aTargetItemIndex, TSelectionMode aSelectionMode);
- __declspec(dllexport) virtual TBool XYPosToItemIndex(TPoint aPosition, TInt& aItemIndex) const;
- __declspec(dllexport) virtual TInt NumberOfItemsThatFitInRect(const TRect& aRect) const;
- void SetVisibilityObserver(MListVisibilityObserver* aObserver);
- __declspec(dllexport) TBool IsVisible() const;
- inline CListItemDrawer* ItemDrawer() const;
- __declspec(dllexport) virtual void DrawEmptyList(const TRect &aClientRect) const;
- void DisableVerticalLineDrawing( TBool aDisable );
- __declspec(dllexport) void DeselectRangeL(TInt aItemIndex1, TInt aItemIndex2);
- protected:
- inline TInt Flags() const;
- inline void SetFlags(TInt aMask);
- inline void ClearFlags(TInt aMask);
- friend class CEikListBox;
- __declspec(dllexport) void SelectRangeL(TInt aItemIndex1, TInt aItemIndex2);
- protected:
- TInt iFlags;
- CListItemDrawer* iItemDrawer;
- MListBoxModel* iModel;
- TInt iDataWidth;
- TInt iTopItemIndex;
- TInt iBottomItemIndex;
- TInt iHScrollOffset;
- TInt iCurrentItemIndex;
- TInt iItemHeight;
- RWindow* iWin;
- RWindowGroup* iGroupWin;
- CWindowGc* iGc;
- TRect iViewRect;
- HBufC *iListEmptyText;
- TBool iDisableVerticalLineDrawing ;
- private:
- TInt iMatcherCursorPos;
- TRgb iMatcherCursorColor;
- TRgb iBackColor;
- TRgb iTextColor;
- TInt iAnchorIndex;
- TInt iActiveEndIndex;
- CSelectionIndexArray* iSelectionIndexes;
- MListVisibilityObserver* iVisibilityObserver;
- TInt iSpare[6];
- };
- inline const TDesC* CListBoxView::EmptyListText() const
- { return(iListEmptyText); }
- class CSnakingListBoxView : public CListBoxView
- {
- public:
- __declspec(dllexport) ~CSnakingListBoxView();
- __declspec(dllexport) CSnakingListBoxView();
- inline TInt ColumnWidth() const;
- __declspec(dllexport) void SetColumnWidth(TInt aColumnWidth);
- __declspec(dllexport) virtual void MoveCursorL(TCursorMovement aCursorMovement, TSelectionMode aSelectionMode);
- __declspec(dllexport) virtual void SetTopItemIndex(TInt aItemIndex);
- __declspec(dllexport) virtual void SetItemHeight(TInt aItemHeight);
- __declspec(dllexport) virtual TBool XYPosToItemIndex(TPoint aPosition, TInt& aItemIndex) const;
- __declspec(dllexport) virtual TInt NumberOfItemsThatFitInRect(const TRect& aRect) const;
- __declspec(dllexport) virtual void HScroll(TInt aHScrollAmount);
- __declspec(dllexport) virtual void CalcDataWidth();
- __declspec(dllexport) virtual void CalcBottomItemIndex();
- __declspec(dllexport) virtual void Draw(const TRect* aClipRect = 0 ) const;
- __declspec(dllexport) virtual TInt VisibleWidth(const TRect& aRect) const;
- __declspec(dllexport) virtual TBool ScrollToMakeItemVisible(TInt aItemIndex);
- __declspec(dllexport) virtual TInt CalculateHScrollOffsetSoItemIsVisible(TInt aItemIndex);
- __declspec(dllexport) virtual TInt CalcNewTopItemIndexSoItemIsVisible(TInt aItemIndex) const;
- __declspec(dllexport) virtual TPoint ItemPos(TInt aItemIndex) const;
- __declspec(dllexport) virtual TSize ItemSize(TInt aItemIndex=0) const;
- __declspec(dllexport) void CalcRowAndColIndexesFromItemIndex(TInt aItemIndex, TInt& aRowIndex, TInt& aColIndex) const;
- __declspec(dllexport) void CalcItemIndexFromRowAndColIndexes(TInt& aItemIndex, TInt aRowIndex, TInt aColIndex) const;
- __declspec(dllexport) virtual TInt NumberOfItemsPerColumn() const;
- protected:
- __declspec(dllexport) virtual void DrawItemRange(TInt aStartItemIndex, TInt aEndItemIndex) const;
- __declspec(dllexport) void DrawColumnRange(TInt aStartColIndex, TInt aEndColIndex) const;
- __declspec(dllexport) void MoveToPreviousColumnL(TSelectionMode aSelectionMode);
- __declspec(dllexport) void MoveToNextColumnL(TSelectionMode aSelectionMode);
- __declspec(dllexport) void ClearUnusedItemSpace(TInt aStartItemIndex, TInt aEndItemIndex) const;
- __declspec(dllexport) void UpdateHScrollOffsetBasedOnTopItemIndex();
- private:
- __declspec(dllexport) virtual TAny* Reserved_1();
- protected:
- TInt iColumnWidth;
- };
- inline TInt CListBoxView::Flags() const
- { return iFlags; }
- inline void CListBoxView::SetFlags(TInt aMask)
- { iFlags|=aMask; }
- inline void CListBoxView::ClearFlags(TInt aMask)
- { iFlags&=(~aMask); }
- inline CListItemDrawer* CListBoxView::ItemDrawer() const
- { return iItemDrawer; }
- inline TInt CSnakingListBoxView::ColumnWidth() const
- { return iColumnWidth; }
- #line 30 "C:\Symbian\9.1\S60_3rd\epoc32\include\eiklbx.h" /* stack depth 2 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eiklbed.h" /* stack depth 3 */
- #line 31
- class CEikEdwin;
- class CParaFormatLayer;
- class CCharFormatLayer;
- class MEikListBoxEditor
- {
- public:
- virtual TPtrC ItemText() = 0;
- virtual void StartEditingL(const CCoeControl& aContainer,const TRect& aRect,TInt aItemIndex,TInt aMaxLength) = 0;