S60UIExamplePlayContainer.inc
上传用户:laixiong
上传日期:2007-03-11
资源大小:2994k
文件大小:1695k
源码类别:
Symbian
开发平台:
C/C++
- __declspec(dllexport) static void ClipToFit(TDes& aBuffer,const CFont& aFont,TInt aMaxWidthInPixels,TChar aAlternativeEnd=KTextUtilClipEndChar);
- __declspec(dllexport) static TInt ColumnText(TPtrC& aColumnText,TInt aColumn,const TDesC* aSourceText,TChar aColumnSeparator=KColumnListSeparator);
- __declspec(dllexport) static void TruncateToNumChars(TDes& aBuffer, TInt numChars);
- };
- class FontUtils
- {
- public:
- __declspec(dllexport) static void GetAvailableFontsL(CGraphicsDevice& aDevice,CDesCArray& aFontNameList,
- TInt aFonts=0x10 );
- __declspec(dllexport) static TInt TypefaceAttributes(CGraphicsDevice& aDevice,const TDesC& aTypefaceName);
- __declspec(dllexport) static TInt GetAvailableHeightsInTwipsL(CGraphicsDevice& aDevice,const TDesC& aTypefaceName,
- CArrayFix<TInt>& aHeightList);
- __declspec(dllexport) static TInt GetAvailableHeightsInTwipsAndPointsL(CGraphicsDevice& aDevice,const TDesC& aTypefaceName,
- CArrayFix<TInt>& aTwipsList,CDesCArray& aPointsList);
- __declspec(dllexport) static TInt PointsFromTwips(TInt aTwips);
- __declspec(dllexport) static TInt TwipsFromPoints(TInt aPoints);
- __declspec(dllexport) static TInt TwipsFromPoints(const TDesC& aPoints);
- __declspec(dllexport) static TInt IndexOfNearestHeight(CArrayFix<TInt>& aTwipsList,TInt aHeight);
- };
- class ResourceUtils
- #line 120
- {
- public:
- __declspec(dllexport) static CFbsFont* CreateNamedScreenFontL(TResourceReader& aResourceReader,CWsScreenDevice& aScreenDevice);
- __declspec(dllexport) static CFbsFont* CreateNamedScreenFontInPixelsL(TResourceReader& aResourceReader,CWsScreenDevice& aScreenDevice);
- __declspec(dllexport) static CFbsFont* CreateScreenFontL(TResourceReader& aResourceReader,CWsScreenDevice& aScreenDevice);
- inline static TInt8 ReadTInt8L(TResourceReader& aReader);
- inline static TInt16 ReadTInt16L(TResourceReader& aReader);
- inline static TInt32 ReadTInt32L(TResourceReader& aReader);
- __declspec(dllexport) static void PopulateColorArrayL(CColorArray& aColors,TResourceReader& aReader);
- private:
- enum TResourceTypeInt { EResourceInt8,EResourceInt16,EResourceInt32 };
- private:
- __declspec(dllexport) static TInt32 ReadResourceIntL(TResourceReader& aReader,TResourceTypeInt aSize);
- };
- class ColorUtils
- {
- public:
- enum TBitmapOrientation
- {
- EBitmapOrientationVertical,
- EBitmapOrientationHorizontal
- };
- public:
- __declspec(dllexport) static TRgb ColorAdjust(TRgb aColor,TInt aPercentage);
- __declspec(dllexport) static void CreateGradientBitmapL(CFbsBitmap& aBitmap,RWsSession& aWs,TInt aBreadth,
- TBitmapOrientation aOrientation,TRgb aStartColor,TRgb aEndColor);
- __declspec(dllexport) static CColorList* CreateSystemColorListL(RFs& aFs);
- __declspec(dllexport) static CColorList* CreateSystemColorListL(RFs& aFs,const CColorList& aColorList);
- __declspec(dllexport) static void UpdateSystemColorListL(RFs& aFs,CColorList& aColorList);
- __declspec(dllexport) static void GetRgbDerivedBorderColors(TGulBorder::TColors& aBorderColors,TRgb aBackgroundColor,TDisplayMode aMode);
- __declspec(dllexport) static TRgb RgbDarkerColor(TRgb aRgb,TDisplayMode aMode);
- __declspec(dllexport) static TRgb RgbMidDarkerColor(TRgb aRgb,TDisplayMode aMode);
- __declspec(dllexport) static TRgb RgbLighterColor(TRgb aRgb,TDisplayMode aMode);
- };
- class TFindWidthOfWidestTextItem
- #line 176
- {
- protected:
- inline TFindWidthOfWidestTextItem() {}
- public:
- __declspec(dllexport) TInt MaximumWidthInPixels(const CFont& aFont) const;
- private:
- virtual void GetFirstAndLastIndex(TInt& aFirstIndex, TInt& aLastIndex) const=0;
- virtual void GetTextItem(TDes& aText, TInt aIndex) const=0;
- };
- class TFindWidthOfWidestDigit : public TFindWidthOfWidestTextItem
- #line 209
- {
- public:
- __declspec(dllexport) TFindWidthOfWidestDigit();
- private:
- virtual void GetFirstAndLastIndex(TInt& aFirstIndex, TInt& aLastIndex) const;
- virtual void GetTextItem(TDes& aText, TInt aIndex) const;
- };
- class TFindWidthOfWidestDigitType : public TFindWidthOfWidestTextItem
- {
- public:
- __declspec(dllexport) TFindWidthOfWidestDigitType(TDigitType aDigitType);
- private:
- virtual void GetFirstAndLastIndex(TInt& aFirstIndex, TInt& aLastIndex) const;
- virtual void GetTextItem(TDes& aText, TInt aIndex) const;
- private:
- TDigitType iDigitType;
- };
- class TFindWidthOfWidestAmPmName : public TFindWidthOfWidestTextItem
- #line 243
- {
- public:
- __declspec(dllexport) TFindWidthOfWidestAmPmName();
- private:
- virtual void GetFirstAndLastIndex(TInt& aFirstIndex, TInt& aLastIndex) const;
- virtual void GetTextItem(TDes& aText, TInt aIndex) const;
- };
- class TFindWidthOfWidestAbbreviatedDayName : public TFindWidthOfWidestTextItem
- #line 261
- {
- public:
- __declspec(dllexport) TFindWidthOfWidestAbbreviatedDayName();
- private:
- virtual void GetFirstAndLastIndex(TInt& aFirstIndex, TInt& aLastIndex) const;
- virtual void GetTextItem(TDes& aText, TInt aIndex) const;
- };
- class TFindWidthOfWidestDayName : public TFindWidthOfWidestTextItem
- #line 279
- {
- public:
- __declspec(dllexport) TFindWidthOfWidestDayName();
- private:
- virtual void GetFirstAndLastIndex(TInt& aFirstIndex, TInt& aLastIndex) const;
- virtual void GetTextItem(TDes& aText, TInt aIndex) const;
- };
- class TFindWidthOfWidestAbbreviatedMonthName : public TFindWidthOfWidestTextItem
- #line 297
- {
- public:
- __declspec(dllexport) TFindWidthOfWidestAbbreviatedMonthName();
- private:
- virtual void GetFirstAndLastIndex(TInt& aFirstIndex, TInt& aLastIndex) const;
- virtual void GetTextItem(TDes& aText, TInt aIndex) const;
- };
- class TFindWidthOfWidestMonthName : public TFindWidthOfWidestTextItem
- #line 314
- {
- public:
- __declspec(dllexport) TFindWidthOfWidestMonthName();
- private:
- virtual void GetFirstAndLastIndex(TInt& aFirstIndex, TInt& aLastIndex) const;
- virtual void GetTextItem(TDes& aText, TInt aIndex) const;
- };
- class TFindWidthOfWidestDateSuffix : public TFindWidthOfWidestTextItem
- #line 331
- {
- public:
- __declspec(dllexport) TFindWidthOfWidestDateSuffix();
- private:
- virtual void GetFirstAndLastIndex(TInt& aFirstIndex, TInt& aLastIndex) const;
- virtual void GetTextItem(TDes& aText, TInt aIndex) const;
- };
- inline TInt8 ResourceUtils::ReadTInt8L(TResourceReader& aReader)
- { return((TInt8)ReadResourceIntL(aReader,EResourceInt8)); }
- inline TInt16 ResourceUtils::ReadTInt16L(TResourceReader& aReader)
- { return((TInt16)ReadResourceIntL(aReader,EResourceInt16)); }
- inline TInt32 ResourceUtils::ReadTInt32L(TResourceReader& aReader)
- { return((TInt32)ReadResourceIntL(aReader,EResourceInt32)); }
- #line 10 "C:\Symbian\9.1\S60_3rd\epoc32\include\coetextdrawer.h" /* stack depth 5 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\biditext.h" /* stack depth 6 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\bidi.h" /* stack depth 7 */
- #line 16
- class RWriteStream;
- class RReadStream;
- class TBidirectionalState
- #line 31
- {
- public:
- class TRunInfo
- #line 44
- {
- public:
- TUint iCategory;
- TUint8 iEmbeddingLevel;
- TUint8 iDirection;
- TInt iIndex;
- TInt iStart;
- TInt iLength;
- };
- __declspec(dllexport) TBidirectionalState();
- __declspec(dllexport) void ReorderLine(TRunInfo* aRunInfo,TInt aRuns,TBool aParStart,TBool aParEnd,TBool aParRightToLeft,
- TChar::TBdCategory aNextCategory,TChar::TBdCategory aNextStrongCategory,
- TBool& aVisualEndIsAmbiguous);
- __declspec(dllexport) void ReorderLine(TRunInfo* aRunInfo,TInt aRuns,TBool aParStart,TBool aParEnd,TBool aParRightToLeft,
- TChar::TBdCategory aNextCategory,TChar::TBdCategory aNextStrongCategory);
- __declspec(dllexport) static TInt ReorderText(const TText* aText,TInt aLength,TBool aParRightToLeft,TText*& aNewText);
- __declspec(dllexport) static void ReverseGroups(TText* aStart,TInt aLength);
- __declspec(dllexport) void Reset();
- __declspec(dllexport) TBool IsDefault() const;
- __declspec(dllexport) TBool operator==(const TBidirectionalState& aState) const;
- __declspec(dllexport) void ExternalizeL(RWriteStream& aDest);
- __declspec(dllexport) void InternalizeL(RReadStream& aSource);
- TBool ParRightToLeft() const { return iStack[0].iEmbeddingLevel & 1; }
- private:
- enum TCategory
- {
- ELeftToRight = 1 << TChar::ELeftToRight,
- ELeftToRightEmbedding = 1 << TChar::ELeftToRightEmbedding,
- ELeftToRightOverride = 1 << TChar::ELeftToRightOverride,
- ERightToLeft = 1 << TChar::ERightToLeft,
- ERightToLeftArabic = 1 << TChar::ERightToLeftArabic,
- ERightToLeftEmbedding = 1 << TChar::ERightToLeftEmbedding,
- ERightToLeftOverride = 1 << TChar::ERightToLeftOverride,
- EPopDirectionalFormat = 1 << TChar::EPopDirectionalFormat,
- EEuropeanNumber = 1 << TChar::EEuropeanNumber,
- EEuropeanNumberSeparator = 1 << TChar::EEuropeanNumberSeparator,
- EEuropeanNumberTerminator = 1 << TChar::EEuropeanNumberTerminator,
- EArabicNumber = 1 << TChar::EArabicNumber,
- ECommonNumberSeparator = 1 << TChar::ECommonNumberSeparator,
- ENonSpacingMark = 1 << TChar::ENonSpacingMark,
- EBoundaryNeutral = 1 << TChar::EBoundaryNeutral,
- EParagraphSeparator = 1 << TChar::EParagraphSeparator,
- ESegmentSeparator = 1 << TChar::ESegmentSeparator,
- EWhitespace = 1 << TChar::EWhitespace,
- EOtherNeutral = 1 << TChar::EOtherNeutral,
- EBdControlsGroup = ELeftToRightEmbedding | ERightToLeftEmbedding |
- ELeftToRightOverride | ERightToLeftOverride | EPopDirectionalFormat,
- ELeftToRightGroup = ELeftToRight | EEuropeanNumber | ELeftToRightOverride | ELeftToRightEmbedding,
- ERightToLeftGroup = ERightToLeft | EArabicNumber | ERightToLeftArabic | ERightToLeftOverride |
- ERightToLeftEmbedding,
- EStrongGroup = ELeftToRightEmbedding | ERightToLeftEmbedding
- | ELeftToRightOverride | ERightToLeftOverride
- | ELeftToRight | ERightToLeft | ERightToLeftArabic,
- ENoCategory = 0
- };
- enum
- {
- EMaxExplicitLevel = 61,
- EMaxLevel = 63,
- EMaxStackLevels = 62
- };
- enum TOverrideState
- {
- ENoOverrideState = 0,
- ELeftToRightOverrideState = ELeftToRightOverride,
- ERightToLeftOverrideState = ERightToLeftOverride
- };
- class TStackItem
- {
- public:
- TUint8 iEmbeddingLevel;
- TOverrideState iOverrideState;
- TCategory iStartCategory;
- };
- public:
- class TReorderContext
- {
- public:
- void SetNextCategory(TChar::TBdCategory aCat);
- void SetNextStrongCategory(TChar::TBdCategory aCat);
- public:
- TCategory iNextCategory;
- TCategory iNextStrongCategory;
- TRunInfo* iRunInfo;
- TInt iRuns;
- TUint32 iCategories;
- TCategory iLastStrongCategory;
- };
- public:
- static TInt GenerateBdRunArray(const TText* aText, TInt aLength,
- TBidirectionalState::TRunInfo* aRun, TInt aMaxRuns);
- private:
- const TStackItem& State() const { return iStack[iStackLevel]; }
- TCategory Push(TCategory aStartCategory);
- TCategory Pop();
- public:
- TBidirectionalState(TChar::TBdCategory aPrevCat,
- TChar::TBdCategory aPrevStrongCat, TBool aParRightToLeft);
- void HandleBdControls(TReorderContext& aContext);
- void ResolveWeakTypesW1W2W3(TReorderContext& aContext);
- void ResolveWeakTypesW4W5W6(TReorderContext& aContext);
- void ResolveWeakTypesW7(TReorderContext& aContext);
- void ResolveNeutralTypes(TReorderContext& aContext);
- void ResolveImplicitLevels(TReorderContext& aContext);
- void PrepareForNextLine(const TReorderContext& aContext);
- void ReorderRuns(TReorderContext& aContext);
- static TInt CatToNumber(TInt aCat);
- static TCategory CharToBdCat(TChar::TBdCategory aCat);
- static TCategory UintToBdCat(TUint aCat);
- static void DeneutralizeRuns(TRunInfo* aStart, TRunInfo* aEnd,
- TCategory aStartCategory, TCategory aEndCategory);
- private:
- TCategory iPreviousCategory;
- TCategory iPreviousStrongCategory;
- TInt16 iStackLevel;
- TInt8 iPushesBeyond60;
- TInt8 iPushesBeyond61;
- TStackItem iStack[EMaxStackLevels];
- };
- #line 11 "C:\Symbian\9.1\S60_3rd\epoc32\include\biditext.h" /* stack depth 6 */
- enum CGraphicsContext::TTextAlign;
- class MLineBreaker;
- class RRunInfoArray;
- class CBidiTextTls;
- #line 27
- class TBidiText
- {
- public:
- enum TDirectionality
- {
- ELeftToRight = 0,
- ERightToLeft = 1
- };
- enum TPanicCodes
- {
- EPanicRunArrayNull,
- };
- __declspec(dllexport) static TDirectionality ScriptDirectionality(TLanguage aLanguage);
- __declspec(dllexport) static TDirectionality TextDirectionality(
- const TDesC& aText, TBool* aFound = 0);
- protected:
- TBidiText();
- public:
- __declspec(dllexport) static TBidiText* NewL(TInt aReservedMaxLength, TInt aMaxLines);
- __declspec(dllexport) static TBidiText* NewL(const TDesC& aText, TInt aMaxLines);
- __declspec(dllexport) static TBidiText* NewL(const TDesC& aText, TInt aMaxLines,
- TDirectionality aDirectionality);
- __declspec(dllexport) TInt SetText(const TDesC& aText, RRunInfoArray& aRunInfoArray);
- __declspec(dllexport) TInt SetText(const TDesC& aText, TDirectionality aDirectionality, RRunInfoArray& aRunInfoArray);
- __declspec(dllexport) void SetTruncationChar(TChar aTruncateWith);
- __declspec(dllexport) void WrapText(TInt aWrappingWidth, const CFont& aFont,
- const MLineBreaker* aBreaker, TInt aMaxLines);
- __declspec(dllexport) void WrapText(TInt aWrappingWidth, const CFont& aFont,
- const MLineBreaker* aBreaker = 0 );
- __declspec(dllexport) TSize MinimumSize(TInt aWrappingWidth, const CFont& aFont, TInt aLineGap, TInt aMaxLines = -1,
- const MLineBreaker* aBreaker = 0 ) const;
- __declspec(dllexport) TPtrC Text() const;
- __declspec(dllexport) TPtrC DisplayText() const;
- __declspec(dllexport) TInt WrappingWidth() const;
- __declspec(dllexport) TDirectionality Directionality() const;
- __declspec(dllexport) TChar TruncationChar() const;
- __declspec(dllexport) TInt NumberOfLinesInDisplayText() const;
- __declspec(dllexport) TPtrC LineOfDisplayText(TInt aLine, TInt& aWidthInPixels) const;
- __declspec(dllexport) void DrawText(CGraphicsContext& aGc, const TPoint& aLeft) const;
- __declspec(dllexport) void DrawText(CGraphicsContext& aGc,
- const TPoint& aLeft, TInt aBaseLineSpacing,
- CGraphicsContext::TTextAlign aAlignment) const;
- __declspec(dllexport) void DrawText(CGraphicsContext& aGc,
- const TPoint& aLeft, TInt aBaseLineSpacing) const;
- private:
- TInt DoWrapText(TInt aWrappingWidth, const CFont& aFont, const MLineBreaker* aBreaker,
- TInt aMaxLines, TText*& aOutputText, TInt& aNumLines, TInt16* aLineWidthArray) const;
- };
- #line 93
- class RRunInfoArray
- {
- friend class TBidiText;
- public:
- __declspec(dllexport) RRunInfoArray();
- __declspec(dllexport) void OpenL();
- __declspec(dllexport) void Close();
- private:
- TBidirectionalState::TRunInfo* RunArray() const;
- private:
- CBidiTextTls* iTls;
- };
- #line 18 "C:\Symbian\9.1\S60_3rd\epoc32\include\coetextdrawer.h" /* stack depth 5 */
- #line 30
- class CCoeTextDrawerBase;
- class TCoeTextTypeAdaptor;
- #line 51
- class XCoeTextDrawer
- {
- public:
- __declspec(dllexport) XCoeTextDrawer(CCoeTextDrawerBase& aTextDrawer);
- __declspec(dllexport) ~XCoeTextDrawer();
- __declspec(dllexport) void operator=(CCoeTextDrawerBase& aTextDrawer);
- __declspec(dllexport) CCoeTextDrawerBase *operator ->();
- __declspec(dllexport) void DrawText(CGraphicsContext& aGc, const TBidiText& aText, const TRect& aTextRect, const CFont& aFont) const;
- __declspec(dllexport) void DrawDisplayOrderedText(CGraphicsContext& aGc, const TDesC& aText, const TRect& aTextRect, const CFont& aFont) const;
- __declspec(dllexport) TRect ClipRect() const;
- __declspec(dllexport) void SetClipRect(const TRect& aClipRect);
- private:
- XCoeTextDrawer(XCoeTextDrawer& aTextDrawer);
- private:
- CCoeTextDrawerBase* iTextDrawer;
- TRect iClipRect;
- };
- class CCoeTextDrawerBaseExt;
- #line 96
- class CCoeTextDrawerBase : public CBase, public MObjectProvider
- {
- friend class XCoeTextDrawer;
- public:
- __declspec(dllexport) ~CCoeTextDrawerBase();
- __declspec(dllexport) virtual void Reset();
- virtual TRgb TextColor() const = 0;
- virtual void SetTextColor(TRgb aColor) = 0;
- __declspec(dllexport) TGulAlignment Alignment() const;
- __declspec(dllexport) void SetAlignment(const TGulAlignment& aAlignment);
- __declspec(dllexport) TMargins8 Margins() const;
- __declspec(dllexport) void SetMargins(const TMargins8& aMargins);
- __declspec(dllexport) TInt LineGapInPixels() const;
- __declspec(dllexport) void SetLineGapInPixels(TInt aLineGapInPixels);
- __declspec(dllexport) TBool IsReusable() const;
- __declspec(dllexport) void SetReusable(TBool aIsReusable);
- protected:
- __declspec(dllexport) CCoeTextDrawerBase();
- __declspec(dllexport) TInt Construct();
- private:
- virtual void DrawText(CGraphicsContext& aGc, const TCoeTextTypeAdaptor& aText, const CFont& aFont,
- const TRect& aTextRect, const TRect& aClipRect) const = 0;
- __declspec(dllexport) virtual void CCoeTextDrawerBase_Reserved1();
- __declspec(dllexport) virtual void CCoeTextDrawerBase_Reserved2();
- __declspec(dllexport) virtual void CCoeTextDrawerBase_Reserved3();
- __declspec(dllexport) virtual void CCoeTextDrawerBase_Reserved4();
- __declspec(dllexport) virtual void CCoeTextDrawerBase_Reserved5();
- __declspec(dllexport) virtual void CCoeTextDrawerBase_Reserved6();
- __declspec(dllexport) virtual void CCoeTextDrawerBase_Reserved7();
- __declspec(dllexport) virtual void CCoeTextDrawerBase_Reserved8();
- __declspec(dllexport) virtual void CCoeTextDrawerBase_Reserved9();
- __declspec(dllexport) virtual void CCoeTextDrawerBase_Reserved10();
- private:
- TBool iIsReusable;
- TGulAlignment iAlignment;
- TMargins8 iMargins;
- TInt iLineGap;
- CCoeTextDrawerBaseExt* iExtension;
- };
- #line 169
- class TCoeTextTypeAdaptor
- {
- public:
- __declspec(dllexport) TCoeTextTypeAdaptor(const TDesC& aText);
- __declspec(dllexport) TCoeTextTypeAdaptor(const TBidiText& aText);
- __declspec(dllexport) TInt NumberOfLines() const;
- __declspec(dllexport) TPtrC LineOfText(TInt aLineNumber, TInt& aWidthInPixels, const CFont& aFont) const;
- __declspec(dllexport) TBool HasRightToLeftDirectionality() const;
- private:
- enum TTextType
- {
- ENewlineSeparated,
- EBidiText
- };
- const TAny* iText;
- TTextType iTextType;
- };
- #line 196
- class CCoePlainTextDrawer : public CCoeTextDrawerBase
- {
- public:
- enum { ETypeId = 0x1020831A };
- public:
- __declspec(dllexport) static CCoePlainTextDrawer* New(TRgb aTextColor);
- __declspec(dllexport) TRgb TextColor() const;
- __declspec(dllexport) void SetTextColor(TRgb aTextColor);
- protected:
- __declspec(dllexport) virtual TTypeUid::Ptr MopSupplyObject(TTypeUid aId);
- private:
- void DrawText(CGraphicsContext& aGc, const TCoeTextTypeAdaptor& aText, const CFont& aFont,
- const TRect& aTextRect, const TRect& aClipRect) const;
- void Reset();
- CCoePlainTextDrawer(TRgb aTextColor);
- __declspec(dllexport) TInt Construct();
- private:
- TRgb iTextColor;
- };
- #line 34 "C:\Symbian\9.1\S60_3rd\epoc32\include\coemain.h" /* stack depth 4 */
- #line 42
- class CVwsSessionWrapper;
- class MVwsSessionWrapperObserver;
- class CCoeAppUi;
- class CCoeEnv;
- class TResourceReader;
- class RGenericPointerArray;
- enum TActivePriority
- {
- EActivePriorityClockTimer=300,
- EActivePriorityIpcEventsHigh=200,
- EActivePriorityFepLoader=150,
- EActivePriorityWsEvents=100,
- EActivePriorityRedrawEvents=50,
- EActivePriorityDefault=0,
- EActivePriorityLogonA=-10
- };
- class CCoeEnvExtra;
- class CCoeStatic;
- class MCoeObserverOfLoadedFep
- #line 90
- {
- public:
- virtual void HandleChangeInLoadedFep()=0;
- protected:
- __declspec(dllexport) MCoeObserverOfLoadedFep();
- private:
- __declspec(dllexport) virtual void MCoeObserverOfLoadedFep_Reserved_1();
- __declspec(dllexport) virtual void MCoeObserverOfLoadedFep_Reserved_2();
- private:
- TInt iMCoeObserverOfLoadedFep_Reserved1;
- };
- class TCoeInputCapabilities;
- class MCoeFocusObserver
- #line 125
- {
- public:
- virtual void HandleChangeInFocus()=0;
- virtual void HandleDestructionOfFocusedItem()=0;
- protected:
- __declspec(dllexport) MCoeFocusObserver();
- private:
- __declspec(dllexport) virtual void MCoeFocusObserver_Reserved_1();
- __declspec(dllexport) virtual void MCoeFocusObserver_Reserved_2();
- private:
- TInt iMCoeFocusObserver_Reserved1;
- };
- class MCoeResourceChangeObserver
- {
- public:
- virtual void HandleResourceChange()=0;
- protected:
- __declspec(dllexport) MCoeResourceChangeObserver();
- private:
- __declspec(dllexport) virtual void MCoeResourceChangeObserver_Reserved_1();
- __declspec(dllexport) virtual void MCoeResourceChangeObserver_Reserved_2();
- private:
- TInt iMCoeResourceChangeObserver_Reserved1;
- };
- class MCoeForegroundObserver
- #line 182
- {
- public:
- virtual void HandleGainingForeground()=0;
- virtual void HandleLosingForeground()=0;
- protected:
- __declspec(dllexport) MCoeForegroundObserver();
- private:
- __declspec(dllexport) virtual void MCoeForegroundObserver_Reserved_1();
- __declspec(dllexport) virtual void MCoeForegroundObserver_Reserved_2();
- private:
- TInt iMCoeForegroundObserver_Reserved1;
- };
- class MCoeMessageObserver
- #line 214
- {
- public:
- enum TMessageResponse
- {
- EMessageNotHandled,
- EMessageHandled
- };
- public:
- #line 236
- virtual TMessageResponse HandleMessageL(TUint32 aClientHandleOfTargetWindowGroup, TUid aMessageUid, const TDesC8& aMessageParameters)=0;
- protected:
- __declspec(dllexport) MCoeMessageObserver();
- private:
- __declspec(dllexport) virtual void MCoeMessageObserver_Reserved_1();
- __declspec(dllexport) virtual void MCoeMessageObserver_Reserved_2();
- private:
- TInt iMCoeMessageObserver_Reserved1();
- };
- class MCoeMessageMonitorObserver
- {
- public:
- virtual void MonitorWsMessage(const TWsEvent& aEvent)=0;
- private:
- __declspec(dllexport) virtual void MCoeMessageMonitorObserver_Reserved_1();
- __declspec(dllexport) virtual void MCoeMessageMonitorObserver_Reserved_2();
- };
- class MCoeFepObserver;
- typedef void (*TCoeFepObserverFunction)(MCoeFepObserver& aFepObserver);
- class CCoeFepParameters : public CBase
- {
- public:
- static CCoeFepParameters* NewLC();
- private:
- inline CCoeFepParameters() {}
- };
- class CCoeFep;
- class CCoeScheduler : public CBaActiveScheduler
- {
- public:
- __declspec(dllexport) CCoeScheduler(CCoeEnv* aCoeEnv);
- __declspec(dllexport) virtual void WaitForAnyRequest();
- __declspec(dllexport) virtual void DisplayError(TInt aError) const;
- inline CCoeEnv* CoeEnv() {return iCoeEnv;}
- TBool Flush() const;
- void SetFlush(TBool aFlush);
- private:
- __declspec(dllexport) virtual void Reserved_1();
- __declspec(dllexport) virtual void Reserved_2();
- private:
- CCoeEnv* iCoeEnv;
- TBool iFlush;
- };
- class CCoeFontProvider;
- class CCoeEnv : public CActive
- , public MObjectProvider
- #line 331
- {
- public:
- __declspec(dllexport) ~CCoeEnv();
- __declspec(dllexport) CCoeEnv();
- __declspec(dllexport) virtual void DestroyEnvironment();
- __declspec(dllexport) CCoeAppUi* SetAppUi(CCoeAppUi* aAppUi);
- __declspec(dllexport) void ExecuteD();
- __declspec(dllexport) void RunL();
- __declspec(dllexport) void DoCancel();
- __declspec(dllexport) virtual void HandleError(TInt aError);
- __declspec(dllexport) void ConstructL();
- __declspec(dllexport) void ConstructL(TBool aInitialFocusState);
- __declspec(dllexport) void ConstructL( TBool aInitialFocusState, TInt aDefaultScreenNumber ) ;
- __declspec(dllexport) void ConstructL(TBool aInitialFocusState, TInt aDefaultScreenNumber, TInt aWindowGroupID );
- inline const TWsEvent& LastEvent() const;
- inline CCoeAppUi* AppUi() const;
- inline RFs& FsSession() const;
- inline RWsSession& WsSession() const;
- inline RWindowGroup& RootWin() const;
- inline CWindowGc& SystemGc() const;
- inline const CFont* NormalFont() const;
- inline CWsScreenDevice* ScreenDevice() const;
- inline TBool IsSchedulerRunning() const;
- __declspec(dllexport) CWindowGc* CreateGcL();
- __declspec(dllexport) void Flush(TTimeIntervalMicroSeconds32 aDelay=0);
- __declspec(dllexport) CFbsFont* CreateDeviceFontL(CGraphicsDevice* aDevice,const TFontSpec& aFontSpec);
- __declspec(dllexport) CFbsFont* CreateScreenFontL(const TFontSpec& aFontSpec);
- __declspec(dllexport) void ReleaseScreenFont(CFont* aFont) const;
- __declspec(dllexport) void CreateResourceReaderLC(TResourceReader& aReader,TInt aResourceId) const;
- inline void ReadResource(TDes& aDes,TInt aResourceId) const;
- inline void ReadResourceL(TDes& aDes,TInt aResourceId) const;
- inline HBufC* AllocReadResourceL(TInt aResourceId) const;
- inline HBufC* AllocReadResourceLC(TInt aResourceId) const;
- __declspec(dllexport) TInt AddResourceFileL(const TDesC& aFileName);
- __declspec(dllexport) void DeleteResourceFile(TInt aOffset);
- inline CDesCArrayFlat* ReadDesCArrayResourceL(TInt aResourceId);
- __declspec(dllexport) void LeaveWithErrorText(const TDesC& aMsg,const TDesC* aContextText=0 );
- __declspec(dllexport) void Format128(TDes& aDes,TInt aResourceId,...);
- __declspec(dllexport) void Format256(TDes& aDes,TInt aResourceId,...);
- __declspec(dllexport) static TVersion Version();
- __declspec(dllexport) static CCoeEnv* Static();
- __declspec(dllexport) void SimulateKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
- __declspec(dllexport) TBool IsWservEventPending() const;
- __declspec(dllexport) TBool IsRedrawEventPending() const;
- __declspec(dllexport) void PrepareToExit();
- __declspec(dllexport) void BringOwnerToFront();
- __declspec(dllexport) void ReadResourceAsDes8(TDes8& aDes,TInt aResourceId) const;
- __declspec(dllexport) void ReadResourceAsDes8L(TDes8& aDes,TInt aResourceId) const;
- __declspec(dllexport) HBufC8* AllocReadResourceAsDes8L(TInt aResourceId) const;
- __declspec(dllexport) HBufC8* AllocReadResourceAsDes8LC(TInt aResourceId) const;
- __declspec(dllexport) CDesC8ArrayFlat* ReadDesC8ArrayResourceL(TInt aResourceId);
- __declspec(dllexport) void SuppressNextFlush();
- __declspec(dllexport) void ReadResourceAsDes16(TDes16& aDes,TInt aResourceId) const;
- __declspec(dllexport) void ReadResourceAsDes16L(TDes16& aDes,TInt aResourceId) const;
- __declspec(dllexport) HBufC16* AllocReadResourceAsDes16L(TInt aResourceId) const;
- __declspec(dllexport) HBufC16* AllocReadResourceAsDes16LC(TInt aResourceId) const;
- __declspec(dllexport) CDesC16ArrayFlat* ReadDesC16ArrayResourceL(TInt aResourceId);
- __declspec(dllexport) void AddObserverOfLoadedFepL(MCoeObserverOfLoadedFep& aObserverOfLoadedFep);
- __declspec(dllexport) void RemoveObserverOfLoadedFep(MCoeObserverOfLoadedFep& aObserverOfLoadedFep);
- __declspec(dllexport) void AddFocusObserverL(MCoeFocusObserver& aFocusObserver);
- __declspec(dllexport) void RemoveFocusObserver(MCoeFocusObserver& aFocusObserver);
- __declspec(dllexport) void SyncNotifyFocusObserversOfChangeInFocus();
- void NotifyFocusObserversOfDestructionOfFocusedItem();
- __declspec(dllexport) void AddForegroundObserverL(MCoeForegroundObserver& aForegroundObserver);
- __declspec(dllexport) void RemoveForegroundObserver(MCoeForegroundObserver& aForegroundObserver);
- void NotifyForegroundObserversOfGainingForeground();
- void NotifyForegroundObserversOfLosingForeground();
- __declspec(dllexport) void AddResourceChangeObserverL(MCoeResourceChangeObserver& aResourceChangeObserver);
- __declspec(dllexport) void RemoveResourceChangeObserver(MCoeResourceChangeObserver& aResourceChangeObserver);
- void NotifyResourceObserversOfChangeInResource();
- __declspec(dllexport) void AddMessageObserverL(MCoeMessageObserver& aMessageObserver);
- __declspec(dllexport) void RemoveMessageObserver(MCoeMessageObserver& aMessageObserver);
- __declspec(dllexport) void AddMessageMonitorObserverL(MCoeMessageMonitorObserver& aMessageMonitorObserver);
- __declspec(dllexport) void RemoveMessageMonitorObserver(MCoeMessageMonitorObserver& aMessageMonitorObserver);
- void NotifyMessageMonitorObserversOfEvent(const TWsEvent& aEvent);
- __declspec(dllexport) void AddFepObserverL(MCoeFepObserver& aFepObserver);
- __declspec(dllexport) void RemoveFepObserver(MCoeFepObserver& aFepObserver);
- __declspec(dllexport) void ForEachFepObserverCall(TCoeFepObserverFunction aFepObserverFunction);
- void EnsureCorrectFepIsLoadedL();
- #line 419
- void EnsureSpecifiedFepIsLoadedL(TUid aFepUid);
- __declspec(dllexport) void InstallFepL(TUid aFepUid);
- __declspec(dllexport) void InstallFepL(TUid aFepUid, const TBool aLeave);
- __declspec(dllexport) void AvailableFepsL(RArray<TUid>& aUids, CDesCArray* aDisplayNames);
- __declspec(dllexport) void ExecuteFepSettingsDialogL(TUid aFepUid);
- __declspec(dllexport) CCoeFep* Fep() const;
- __declspec(dllexport) TUid FepUid() const;
- __declspec(dllexport) CWindowGc* SwapSystemGc(CWindowGc* aGc);
- __declspec(dllexport) static CCoeStatic* Static(TUid aUid);
- __declspec(dllexport) CCoeStatic* FindStatic(TUid aUid);
- __declspec(dllexport) void DisableExitChecks(TBool aDisable);
- __declspec(dllexport) void InputCapabilitiesChanged();
- __declspec(dllexport) TBool IsResourceAvailableL(TInt aResourceId) const;
- __declspec(dllexport) CCoeTextDrawerBase& DefaultTextDrawer() const;
- __declspec(dllexport) const CCoeFontProvider& DefaultFontProvider() const;
- public:
- TInt AppStartupInstrumentationEventIdBase();
- public:
- __declspec(dllexport) void GetMessageNotifyingObserversLC(TUint32 aClientHandleOfTargetWindowGroup, TUid& aMessageUid, TPtr8& aMessageParameters, const TWsEvent& aMessageEvent);
- protected:
- __declspec(dllexport) void SetAppStartupInstrumentationEventIdBaseL(TInt aAppStartupInstrumentationEventIdBase);
- __declspec(dllexport) void DestroyEnvironmentStatic();
- __declspec(dllexport) void DestroyEnvironmentEnd();
- private:
- __declspec(dllexport) virtual void Reserved_1();
- __declspec(dllexport) virtual void Reserved_2();
- private:
- __declspec(dllexport) TInt RunError(TInt aError);
- public:
- void ReadEvent();
- CVwsSessionWrapper* InitViewServerSessionL(MVwsSessionWrapperObserver& aObserver);
- void AddStatic(CCoeStatic* aStatic);
- void QueueNotificationToFocusObserversOfChangeInFocus();
- TInt FocusObserverNotificationIdentifier() const;
- TBool FocusObserverNotificationIsStillPending(TInt aFocusObserverNotificationIdentifier) const;
- void RefetchPixelMapping();
- protected:
- __declspec(dllexport) virtual TTypeUid::Ptr MopSupplyObject(TTypeUid aId);
- public:
- __declspec(dllexport) void SetZoomFactor(const TZoomFactor& aZoomFactor);
- __declspec(dllexport) TZoomFactor ZoomFactor() const;
- protected:
- __declspec(dllexport) virtual void DestroyScreen();
- inline TDes& ErrorText();
- inline TDes& ErrorContextText();
- private:
- __declspec(dllexport) virtual void InitSystemFontsL();
- __declspec(dllexport) virtual TInt ResourceFileVersionNumber() const;
- void CreateActiveSchedulerL();
- void ConnectToFileServerL();
- void ConnectToWindowServerL();
- void InitScreenL( TInt aDefaultScreenNumber );
- void InitRootWindowL(TBool aInitialFocusState, TInt aWindowGroupID=0);
- void InitSystemGcL();
- RResourceFile& ResourceFileForId(TInt aResourceId) const;
- void DestroyAllResourceFiles();
- void AddObserverL(TAny* aObserver, RGenericPointerArray& aArray);
- void RemoveObserver(TAny* aObserver, RGenericPointerArray& aArray);
- inline TBool DisableShutdownChecks() const;
- void UpdateStatic(CCoeAppUi* aNewAppUi);
- void SetInitialHandleCount();
- inline TUint InitialHandleCount() const;
- protected:
- CCoeAppUi* iAppUi;
- RFs iFsSession;
- RWsSession iWsSession;
- RWindowGroup iRootWin;
- CWindowGc* iSystemGc;
- const CFont* iNormalFont;
- CWsScreenDevice* iScreen;
- TWsEvent iLastEvent;
- CArrayFix<RResourceFile> * iResourceFileArray;
- private:
- enum TFlags
- {
- ENoShutdownChecks =0x0001,
- EExtraPointerIsErrorCode =0x0002,
- ESchedulerIsRunning =0x0004
- };
- private:
- TDes* iErrorText;
- TDes* iErrorContextText;
- CCoeEnvExtra* iExtra;
- CTrapCleanup* iCleanup;
- TUint iEnvFlags;
- };
- class CCoeStatic : public CBase
- #line 524
- {
- public:
- enum TScope
- {
- EThread,
- EApp,
- };
- enum {EDefaultDestructionPriority=100};
- public:
- __declspec(dllexport) ~CCoeStatic();
- protected:
- __declspec(dllexport) CCoeStatic();
- __declspec(dllexport) CCoeStatic(TUid aUid,TScope=EThread);
- __declspec(dllexport) CCoeStatic(TUid aUid,TInt aDestructionPriority,TScope aScope=EThread);
- private:
- __declspec(dllexport) virtual void CCoeStatic_Reserved1();
- __declspec(dllexport) virtual void CCoeStatic_Reserved2();
- private:
- void DoConstruction(TUid aUid,TInt aDestructionPriority,TScope aScope);
- void SetCsAppUi(CCoeAppUi* aAppUi);
- CCoeAppUi* CsAppUi() const;
- TScope CsScope() const;
- inline TInt DestructionPriority() const {return iCsLink.iPriority;}
- private:
- TPriQueLink iCsLink;
- TUid iCsUid;
- TUint iCsAppUiAndScope;
- TInt iCCoeStatic_Reserved1;
- private:
- friend class CCoeEnv;
- friend class CCoeEnvExtra;
- };
- inline const TWsEvent& CCoeEnv::LastEvent() const
- { return(iLastEvent); }
- inline CCoeAppUi* CCoeEnv::AppUi() const
- { return(iAppUi); }
- inline RFs& CCoeEnv::FsSession() const
- { return((RFs&)iFsSession); }
- inline RWsSession& CCoeEnv::WsSession() const
- { return((RWsSession&)iWsSession); }
- inline RWindowGroup& CCoeEnv::RootWin() const
- { return((RWindowGroup&)iRootWin); }
- inline CWindowGc& CCoeEnv::SystemGc() const
- { return((CWindowGc&)*iSystemGc); }
- inline const CFont* CCoeEnv::NormalFont() const
- { return(iNormalFont); }
- inline CWsScreenDevice* CCoeEnv::ScreenDevice() const
- { return(iScreen); }
- inline TDes& CCoeEnv::ErrorText()
- { return *iErrorText; }
- inline TDes& CCoeEnv::ErrorContextText()
- { return *iErrorContextText; }
- inline void CCoeEnv::ReadResource(TDes& aDes,TInt aResourceId) const
- #line 657
- { ReadResourceAsDes16(aDes,aResourceId); }
- inline void CCoeEnv::ReadResourceL(TDes& aDes,TInt aResourceId) const
- #line 668
- { ReadResourceAsDes16L(aDes,aResourceId); }
- inline HBufC* CCoeEnv::AllocReadResourceL(TInt aResourceId) const
- #line 679
- { return AllocReadResourceAsDes16L(aResourceId); }
- inline HBufC* CCoeEnv::AllocReadResourceLC(TInt aResourceId) const
- #line 691
- { return AllocReadResourceAsDes16LC(aResourceId); }
- inline CDesCArrayFlat* CCoeEnv::ReadDesCArrayResourceL(TInt aResourceId)
- { return ReadDesC16ArrayResourceL(aResourceId); }
- #line 727
- inline TBool CCoeEnv::IsSchedulerRunning() const
- {return iEnvFlags&ESchedulerIsRunning;}
- #line 46 "C:\Symbian\9.1\S60_3rd\epoc32\include\coecntrl.h" /* stack depth 3 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\coecontrolarray.h" /* stack depth 4 */
- #line 12
- class CCoeControl;
- const TInt KCoeNoControlId = KErrNotFound;
- class TCoeControlWithId
- {
- public:
- TCoeControlWithId(TInt aControlId, CCoeControl* aControl = 0 );
- public:
- CCoeControl* iControl;
- TInt iId;
- };
- #line 46
- class CCoeControlArray : public CBase
- {
- public:
- class TCursor
- {
- public:
- template<typename T> T* Control();
- template<typename T> const T* Control() const;
- __declspec(dllexport) TBool Prev();
- __declspec(dllexport) TBool Next();
- __declspec(dllexport) TBool IsValid() const;
- __declspec(dllexport) TBool operator==(const TCursor& aCursor) const;
- __declspec(dllexport) TBool operator!=(const TCursor& aCursor) const;
- public:
- TCursor(const CCoeControlArray& aArray, TInt aIndex);
- TInt Index() const;
- private:
- __declspec(dllexport) CCoeControl* Ctrl() const;
- void UpdateMemento() const;
- void UpdateIndex() const;
- private:
- const CCoeControlArray* iArray;
- mutable TInt iIndex;
- mutable TCoeControlWithId iMemento;
- };
- public:
- __declspec(dllexport) static CCoeControlArray* NewL(CCoeControl& aOwner);
- __declspec(dllexport) ~CCoeControlArray();
- __declspec(dllexport) TInt Count() const;
- __declspec(dllexport) void Reset();
- __declspec(dllexport) void ResetAndDestroy();
- __declspec(dllexport) void SortById();
- __declspec(dllexport) TBool ControlsOwnedExternally() const;
- __declspec(dllexport) void SetControlsOwnedExternally(TBool aOwnedExternally);
- __declspec(dllexport) TBool IsArrayLocked() const;
- __declspec(dllexport) void SetArrayLocked();
- template<typename T> T* ControlById(TInt aControlId);
- template<typename T> const T* ControlById(TInt aControlId) const;
- __declspec(dllexport) TCursor Begin() const;
- __declspec(dllexport) TCursor End() const;
- __declspec(dllexport) TCursor Find(const CCoeControl* aControl) const;
- __declspec(dllexport) TCursor Find(TInt aControlId) const;
- __declspec(dllexport) TCursor AppendLC(CCoeControl* aControl, TInt aControlId = KCoeNoControlId);
- __declspec(dllexport) TCursor InsertAfterLC(TInt aInsertAfterId, CCoeControl* aControl, TInt aControlId = KCoeNoControlId);
- __declspec(dllexport) TCursor InsertLC(TCursor& aInsertAt, CCoeControl* aControl, TInt aControlId = KCoeNoControlId);
- __declspec(dllexport) TInt Remove(const CCoeControl* aControl);
- __declspec(dllexport) CCoeControl* Remove(TCursor aRemoveAt);
- __declspec(dllexport) CCoeControl* RemoveById(TInt aControlId);
- public:
- __declspec(dllexport) TInt Replace(CCoeControl* aOriginalControl, CCoeControl* aNewControl);
- public:
- __declspec(dllexport) TCoeControlWithId At(TInt aIndex);
- __declspec(dllexport) const TCoeControlWithId At(TInt aIndex) const;
- __declspec(dllexport) TInt Id(const CCoeControl& aControl) const;
- __declspec(dllexport) void Sort(TLinearOrder< TCoeControlWithId > aOrder);
- public:
- enum TEvent
- {
- EControlAdded,
- EControlRemoved
- };
- private:
- __declspec(dllexport) CCoeControlArray(CCoeControl& aOwner);
- TInt IndexById(TInt aControlId) const;
- __declspec(dllexport) CCoeControl* CtrlById(TInt aControlId) const;
- private:
- CCoeControl& iOwner;
- TInt iFlags;
- RArray<TCoeControlWithId> iControls;
- };
- template<typename T>
- T* CCoeControlArray::TCursor::Control()
- {
- return static_cast<T*>(Ctrl());
- }
- template<typename T>
- const T* CCoeControlArray::TCursor::Control() const
- {
- return static_cast<T*>(Ctrl());
- }
- template<typename T>
- T* CCoeControlArray::ControlById(TInt aControlId)
- {
- return static_cast<T*>(CtrlById(aControlId));
- }
- template<typename T>
- const T* CCoeControlArray::ControlById(TInt aControlId) const
- {
- return static_cast<T*>(CtrlById(aControlId));
- }
- #line 55 "C:\Symbian\9.1\S60_3rd\epoc32\include\coecntrl.h" /* stack depth 3 */
- class TResourceReader;
- class CCoeEnv;
- class MCoeControlContext;
- class CCoeControlExtension;
- class MCoeLayoutManager;
- class TCoeZoomWithType;
- class CCoeFontProvider;
- class TCoeFont;
- #line 79
- class TCoeColorUse
- {
- public:
- enum TGround
- {
- EFore=0x01,
- EBack=0x02
- };
- enum TAreas
- {
- EContents=0x10,
- EHighlights=0x20,
- ESurrounds=0x40,
- EBorders=0x80
- };
- enum TFocus
- {
- EActive=0x100,
- EDimmed=0x200,
- EShadowed=0x400,
- EPressed=0x800
- };
- enum TState
- {
- ENormal=0x1000,
- ESet=0x2000,
- EChecked=0x4000
- };
- enum TTones
- {
- ENeutral=0x10000,
- ELight=0x20000,
- EMidLight=0x40000,
- EMid=0x80000,
- EDark=0x100000
- };
- public:
- __declspec(dllexport) TCoeColorUse();
- __declspec(dllexport) void SetUse(TInt aUse);
- __declspec(dllexport) void SetLogicalColor(TInt aLogicalColor);
- __declspec(dllexport) TInt LogicalColor() const;
- __declspec(dllexport) TInt Use() const;
- __declspec(dllexport) TBool IsForeground() const;
- __declspec(dllexport) TBool IsBackground() const;
- __declspec(dllexport) TBool IsContents() const;
- __declspec(dllexport) TBool IsHighlights() const;
- __declspec(dllexport) TBool IsSurrounds() const;
- __declspec(dllexport) TBool IsBorders() const;
- __declspec(dllexport) TBool IsActive() const;
- __declspec(dllexport) TBool IsDimmed() const;
- __declspec(dllexport) TBool IsPressed() const;
- __declspec(dllexport) TBool IsNormal() const;
- __declspec(dllexport) TBool IsSet() const;
- private:
- TInt iLogicalColor;
- TInt iUse;
- TInt iTCoeColorUse_Reserved1;
- };
- class CCoeControl;
- class CCoeTextDrawerBase;
- #line 184
- class MCoeControlBackground
- {
- public:
- #line 198
- virtual void Draw(CWindowGc& aGc, const CCoeControl& aControl, const TRect& aRect) const = 0;
- __declspec(dllexport) virtual void GetTextDrawer(CCoeTextDrawerBase*& aTextDrawer, const CCoeControl* aDrawingControl) const;
- protected:
- __declspec(dllexport) MCoeControlBackground();
- private:
- __declspec(dllexport) virtual void MCoeControlBackground_Reserved1();
- __declspec(dllexport) virtual void MCoeControlBackground_Reserved2();
- __declspec(dllexport) virtual void MCoeControlBackground_Reserved3();
- __declspec(dllexport) virtual void MCoeControlBackground_Reserved4();
- __declspec(dllexport) virtual void MCoeControlBackground_Reserved5();
- private:
- TInt iMCoeControlBackground_Reserved1();
- };
- #line 232
- class MCoeControlHitTest
- {
- public:
- #line 244
- virtual TBool HitRegionContains(const TPoint& aPoint, const CCoeControl& aControl) const = 0;
- protected:
- __declspec(dllexport) MCoeControlHitTest();
- private:
- __declspec(dllexport) virtual void MCoeControlHitTest_Reserved1();
- __declspec(dllexport) virtual void MCoeControlHitTest_Reserved2();
- private:
- TInt iMCoeControlHitTest_Reserved1;
- };
- class RCoeExtensionStorage
- {
- public:
- RCoeExtensionStorage();
- void Close();
- TInt& Flags();
- TInt Flags() const;
- const MCoeControlBackground* Background() const;
- void SetBackground(const MCoeControlBackground* aBackground);
- CCoeControl* Parent();
- TInt SetParent(CCoeControl* aParent);
- const MCoeControlHitTest* HitTestControl() const;
- TInt SetHitTestControl(const MCoeControlHitTest* aHitTest);
- TCoeZoomWithType* ZoomWithType() const;
- TInt SetZoomWithType(TCoeZoomWithType* aZoomWithType);
- const CCoeFontProvider* FontProvider() const;
- TInt SetFontProvider(const CCoeFontProvider* aFontProvider);
- void SetExtension(CCoeControlExtension* aExtension);
- CCoeControlExtension* Extension() const;
- private:
- inline TBool IsFlags() const;
- private:
- union
- {
- TInt iFlags;
- CCoeControlExtension* iExtension;
- };
- };
- class CCoeControl : public CBase
- , public MObjectProvider
- {
- public:
- enum TZoomType
- {
- EAbsoluteZoom,
- ERelativeZoom
- };
- __declspec(dllexport) CCoeControl();
- __declspec(dllexport) CCoeControl(CCoeEnv* aCoeEnv);
- __declspec(dllexport) ~CCoeControl();
- __declspec(dllexport) virtual TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
- __declspec(dllexport) virtual void MakeVisible(TBool aVisible);
- __declspec(dllexport) virtual void SetDimmed(TBool aDimmed);
- __declspec(dllexport) virtual void SetContainerWindowL(const CCoeControl& aContainer);
- __declspec(dllexport) void SetContainerWindowL(RWindow& aWindow);
- __declspec(dllexport) void SetContainerWindowL(RBackedUpWindow& aWindow);
- __declspec(dllexport) virtual void ConstructFromResourceL(TResourceReader& aReader);
- __declspec(dllexport) virtual void ActivateL();
- __declspec(dllexport) virtual void PrepareForFocusLossL();
- __declspec(dllexport) virtual void PrepareForFocusGainL();
- __declspec(dllexport) virtual void SetAdjacent(TInt aAdjacent);
- __declspec(dllexport) virtual void SetNeighbor(CCoeControl* aNeighbor);
- __declspec(dllexport) virtual TBool HasBorder() const;
- __declspec(dllexport) virtual TSize MinimumSize();
- __declspec(dllexport) virtual void HandleResourceChange(TInt aType);
- __declspec(dllexport) virtual void GetColorUseListL(CArrayFix<TCoeColorUse>& aColorUseList) const;
- __declspec(dllexport) virtual void GetHelpContext(TCoeHelpContext& aContext) const;
- __declspec(dllexport) virtual TCoeInputCapabilities InputCapabilities() const;
- __declspec(dllexport) TCoeInputCapabilities RecursivelyMergedInputCapabilities() const;
- __declspec(dllexport) void DrawNow() const;
- __declspec(dllexport) void DrawNow(const TRect &aRect) const;
- __declspec(dllexport) void DrawDeferred() const;
- __declspec(dllexport) void SetFocus(TBool aFocus,TDrawNow aDrawNow=ENoDrawNow);
- __declspec(dllexport) void SetExtent(const TPoint& aPosition,const TSize& aSize);
- __declspec(dllexport) void SetSize(const TSize& aSize);
- __declspec(dllexport) TInt SetMaximumWidth(TInt aMaxWidth);
- __declspec(dllexport) void SetPosition(const TPoint& aPosition);
- __declspec(dllexport) void SetRect(const TRect& aRect);
- __declspec(dllexport) void SetExtentToWholeScreen();
- __declspec(dllexport) TBool IsFocused() const;
- __declspec(dllexport) TBool IsVisible() const;
- __declspec(dllexport) TBool IsDimmed() const;
- __declspec(dllexport) RDrawableWindow* DrawableWindow() const;
- __declspec(dllexport) TSize Size() const;
- __declspec(dllexport) TInt MaximumWidth() const;
- __declspec(dllexport) TPoint Position() const;
- __declspec(dllexport) TRect Rect() const;
- __declspec(dllexport) TPoint PositionRelativeToScreen() const;
- __declspec(dllexport) void SetObserver(MCoeControlObserver* aObserver);
- __declspec(dllexport) MCoeControlObserver* Observer() const;
- inline CCoeEnv* ControlEnv() const;
- __declspec(dllexport) TInt Index(const CCoeControl* aControl) const;
- __declspec(dllexport) void SetNonFocusing();
- __declspec(dllexport) void SetFocusing(TBool aFocusing);
- __declspec(dllexport) TBool IsNonFocusing() const;
- __declspec(dllexport) void SetControlContext(MCoeControlContext* aContext);
- __declspec(dllexport) void CopyControlContextFrom(const CCoeControl* aControl);
- __declspec(dllexport) MCoeControlContext* ControlContext() const;
- __declspec(dllexport) TBool OwnsWindow() const;
- __declspec(dllexport) TBool IsBackedUp() const;
- __declspec(dllexport) void SetPointerCapture(TBool aCapture=ETrue);
- __declspec(dllexport) void ClaimPointerGrab(TBool aSendUpEvent=ETrue);
- __declspec(dllexport) void IgnoreEventsUntilNextPointerUp();
- __declspec(dllexport) void SetComponentsToInheritVisibility(TBool aInherit=ETrue);
- __declspec(dllexport) void SetGloballyCapturing(TBool aGlobal);
- __declspec(dllexport) void OverrideColorL(TInt aLogicalColor,TRgb aColor);
- __declspec(dllexport) TBool GetColor(TInt aLogicalColor,TRgb& aColor) const;
- __declspec(dllexport) void SetMopParent(MObjectProvider* aParent);
- __declspec(dllexport) const MCoeControlBackground* Background() const;
- __declspec(dllexport) const MCoeControlBackground* FindBackground() const;
- __declspec(dllexport) virtual TInt SetParent(CCoeControl* aParent);
- __declspec(dllexport) virtual void SetLayoutManagerL(MCoeLayoutManager* aLayout);
- __declspec(dllexport) MCoeLayoutManager* LayoutManager() const;
- __declspec(dllexport) virtual TBool RequestRelayout(const CCoeControl* aChildControl);
- __declspec(dllexport) void SetZoomFactorL(TInt aZoomFactor, TZoomType aZoomType = ERelativeZoom);
- __declspec(dllexport) void SetFontProviderL(const CCoeFontProvider& aFontProvider);
- __declspec(dllexport) TZoomFactor AccumulatedZoom() const;
- __declspec(dllexport) const TCoeZoomWithType* ZoomWithType() const;
- __declspec(dllexport) const CCoeFontProvider& FindFontProvider() const;
- __declspec(dllexport) virtual TInt TextBaselineOffset(const TSize& aSize) const;
- __declspec(dllexport) virtual void SetTextBaselineSpacing(TInt aSpacing);
- public:
- void ProcessPointerEventL(const TPointerEvent& aPointerEvent);
- void ProcessPointerBufferReadyL();
- void RecursivelyMergeInputCapabilities(TCoeInputCapabilities& aInputCapabilities) const;
- void WriteInternalStateNowL(RWriteStream& aWriteStream) const;
- void NotifyFontChange(const CCoeFontProvider* aFontProvider);
- void RemoveFromParent();
- void RefetchPixelMapping();
- public:
- __declspec(dllexport) virtual void HandlePointerEventL(const TPointerEvent& aPointerEvent);
- protected:
- __declspec(dllexport) virtual void HandlePointerBufferReadyL();
- __declspec(dllexport) virtual void FocusChanged(TDrawNow aDrawNow);
- __declspec(dllexport) virtual void SizeChanged();
- __declspec(dllexport) virtual void PositionChanged();
- public:
- __declspec(dllexport) virtual TInt CountComponentControls() const;
- __declspec(dllexport) virtual CCoeControl* ComponentControl(TInt aIndex) const;
- __declspec(dllexport) CWindowGc& SystemGc() const;
- protected:
- __declspec(dllexport) void EnableDragEvents();
- __declspec(dllexport) void HandleRedrawEvent(const TRect& aRect) const;
- __declspec(dllexport) RWindow& Window() const;
- __declspec(dllexport) RBackedUpWindow& BackedUpWindow() const;
- __declspec(dllexport) void CloseWindow();
- __declspec(dllexport) void CreateWindowL();
- __declspec(dllexport) void CreateWindowL(const CCoeControl* aParent);
- __declspec(dllexport) void CreateWindowL(RWindowTreeNode& aParent);
- __declspec(dllexport) void CreateWindowL(RWindowGroup* aParent);
- __declspec(dllexport) void CreateBackedUpWindowL(RWindowTreeNode& aParent);
- __declspec(dllexport) void CreateBackedUpWindowL(RWindowTreeNode& aParent,TDisplayMode aDisplayMode);
- __declspec(dllexport) void SetAllowStrayPointers();
- __declspec(dllexport) void SetCanDrawOutsideRect();
- __declspec(dllexport) void SetBlank();
- __declspec(dllexport) void ReportEventL(MCoeControlObserver::TCoeEvent aEvent);
- __declspec(dllexport) void SetCornerAndSize(TGulAlignment aCorner,const TSize& aSize);
- __declspec(dllexport) void SetSizeWithoutNotification(const TSize& aSize);
- __declspec(dllexport) void ActivateGc() const;
- __declspec(dllexport) void ResetGc() const;
- __declspec(dllexport) void DeactivateGc() const;
- __declspec(dllexport) TBool IsReadyToDraw() const;
- __declspec(dllexport) TBool IsActivated() const;
- __declspec(dllexport) TBool IsBlank() const;
- __declspec(dllexport) TBool IsBeingDestroyed() const;
- __declspec(dllexport) CCoeControl* GrabbingComponent() const;
- __declspec(dllexport) TBool CapturesPointer() const;
- __declspec(dllexport) void HandleComponentControlsResourceChange(TInt aType);
- friend class CCoeControlArray;
- __declspec(dllexport) virtual void HandleControlArrayEventL(CCoeControlArray::TEvent aEvent, const CCoeControlArray* aArray, CCoeControl* aControl, TInt aControlId);
- __declspec(dllexport) virtual void Reserved_CCoeControl_10();
- __declspec(dllexport) virtual void Reserved_CCoeControl_11();
- __declspec(dllexport) virtual void Reserved_CCoeControl_12();
- __declspec(dllexport) virtual void Reserved_CCoeControl_13();
- __declspec(dllexport) const CFont& ScreenFont(const TCoeFont& aFont) const;
- __declspec(dllexport) CCoeTextDrawerBase& TextDrawer(TInt aKey = KErrNotFound) const;
- __declspec(dllexport) void InitComponentArrayL();
- __declspec(dllexport) CCoeControlArray& Components();
- __declspec(dllexport) const CCoeControlArray& Components() const;
- private:
- __declspec(dllexport) virtual void GetTextDrawer(CCoeTextDrawerBase*& aTextDrawer, const CCoeControl* aDrawingControl, TInt aKey) const;
- __declspec(dllexport) virtual void Reserved_CCoeControl_8();
- __declspec(dllexport) virtual void Reserved_CCoeControl_9();
- protected:
- __declspec(dllexport) virtual TTypeUid::Ptr MopSupplyObject(TTypeUid aId);
- private:
- __declspec(dllexport) virtual MObjectProvider* MopNext();
- private:
- friend class CCoeRedrawer;
- __declspec(dllexport) virtual void Draw(const TRect& aRect) const;
- void DrawComponents(const TRect& aRect) const;
- void DrawWindowOwningComponentsNow() const;
- void DrawWindowOwningComponentsNow(const TRect &aRect) const;
- void SetGrabbed(TBool aGrabbed);
- TBool IsGrabbed() const;
- void DoMakeVisible(TBool aVisible);
- void CheckPointerEventPurge() const;
- inline TInt Flags() const;
- inline TInt& Flags();
- void RecursivelyMergeTextDrawers(CCoeTextDrawerBase*& aTextDrawer,
- const CCoeControl* aDrawingControl, TInt aKey) const;
- const CCoeControl* WindowOwningParent() const;
- const CCoeControl* SearchParent(const CCoeControl* aParentToFind) const;
- void DoSetLayoutL(MCoeLayoutManager* aLayoutManager);
- TInt SetZoomWithType(TCoeZoomWithType* aZoomWithType);
- TCoeZoomWithType* GetZoomWithType() const;
- TInt SetFontProvider(const CCoeFontProvider* aFontProvider);
- const CCoeFontProvider* GetFontProvider() const;
- protected:
- __declspec(dllexport) virtual void WriteInternalStateL(RWriteStream& aWriteStream) const;
- public:
- __declspec(dllexport) void SetBackground(const MCoeControlBackground* aBackground);
- __declspec(dllexport) CCoeControl* Parent();
- __declspec(dllexport) const CCoeControl* Parent() const;
- __declspec(dllexport) TInt SetGc(CWindowGc* aGraphicsContext) const;
- __declspec(dllexport) CWindowGc* CCoeControl::GetGc() const;
- __declspec(dllexport) void DrawBackground(const TRect& aRect) const;
- __declspec(dllexport) void DrawForeground(const TRect& aRect) const;
- __declspec(dllexport) TInt SetHitTest(const MCoeControlHitTest* aHitTestControl);
- __declspec(dllexport) const MCoeControlHitTest* HitTest() const;
- private:
- __declspec(dllexport) virtual void Reserved_2();
- public:
- __declspec(dllexport) TInt UniqueHandle() const ;
- __declspec(dllexport) TInt SetUniqueHandle( TInt aUniqueHandle ) ;
- protected:
- CCoeEnv* iCoeEnv;
- MCoeControlContext* iContext;
- TPoint iPosition;
- TSize iSize;
- private:
- RDrawableWindow* iWin;
- MCoeControlObserver* iObserver;
- RCoeExtensionStorage iExt;
- MObjectProvider* iMopParent;
- };
- inline CCoeEnv* CCoeControl::ControlEnv() const
- {return(iCoeEnv);}
- #line 30 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknview.h" /* stack depth 2 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikmobs.h" /* stack depth 3 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikcmobs.h" /* stack depth 4 */
- #line 11
- class CCoeControl;
- class MEikCommandObserver
- #line 24
- {
- public:
- virtual void ProcessCommandL(TInt aCommandId)=0;
- #line 44
- __declspec(dllexport) virtual CCoeControl* CreateCustomCommandControlL(TInt aControlType);
- protected:
- __declspec(dllexport) MEikCommandObserver();
- private:
- __declspec(dllexport) virtual void MEikCommandObserver_Reserved1();
- __declspec(dllexport) virtual void MEikCommandObserver_Reserved2();
- private:
- TInt iMEikCommandObserver_Reserved1;
- };
- #line 9 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikmobs.h" /* stack depth 3 */
- class CCoeControl;
- class CEikMenuPane;
- class CEikMenuBar;
- class CEikHotKeyTable;
- class TPoint;
- class MEikMenuObserver : public MEikCommandObserver
- #line 29
- {
- public:
- enum TMenuType
- {
- EMenuPane,
- EMenuBar
- };
- public:
- __declspec(dllexport) virtual void HandleAttemptDimmedSelectionL(TInt aCommandId);
- __declspec(dllexport) virtual TBool CheckHotKeyNotDimmedL(TInt aCommandId);
- __declspec(dllexport) virtual void RestoreMenuL(CCoeControl* aMenuControl,TInt aResourceId,TMenuType aType);
- __declspec(dllexport) virtual void DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane);
- __declspec(dllexport) virtual void DynInitMenuBarL(TInt aResourceId,CEikMenuBar* aMenuBar);
- __declspec(dllexport) virtual void HandleSideBarMenuL(TInt aResourceId,const TPoint& aPos,TInt aModifiers,const CEikHotKeyTable* aTable);
- __declspec(dllexport) virtual void OfferKeyToAppL(const TKeyEvent& aKeyEvent,TEventCode aType);
- #line 56
- virtual void SetEmphasis(CCoeControl* aMenuControl,TBool aEmphasis)=0;
- public:
- __declspec(dllexport) virtual CCoeControl* CreateCustomCommandControlL(TInt aControlType);
- protected:
- __declspec(dllexport) MEikMenuObserver();
- private:
- __declspec(dllexport) virtual void Reserved_1_MenuObserver();
- __declspec(dllexport) virtual void Reserved_2_MenuObserver();
- __declspec(dllexport) virtual void MEikCommandObserver_Reserved1();
- __declspec(dllexport) virtual void MEikCommandObserver_Reserved2();
- private:
- TInt iMEikMenuObserver_Reserved1;
- };
- class MEikAutoMenuObserver : public MEikMenuObserver
- #line 80
- {
- public:
- virtual TKeyResponse OfferHotKeyL(const TKeyEvent& aKeyEvent,TEventCode aType)=0;
- public:
- __declspec(dllexport) void SetEmphasis(CCoeControl* aMenuControl,TBool aEmphasis);
- public:
- __declspec(dllexport) virtual void HandleAttemptDimmedSelectionL(TInt aCommandId);
- __declspec(dllexport) virtual TBool CheckHotKeyNotDimmedL(TInt aCommandId);
- __declspec(dllexport) virtual void RestoreMenuL(CCoeControl* aMenuControl,TInt aResourceId,TMenuType aType);
- __declspec(dllexport) virtual void DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane);
- __declspec(dllexport) virtual void DynInitMenuBarL(TInt aResourceId,CEikMenuBar* aMenuBar);
- __declspec(dllexport) virtual void HandleSideBarMenuL(TInt aResourceId,const TPoint& aPos,TInt aModifiers,const CEikHotKeyTable* aTable);
- __declspec(dllexport) virtual void OfferKeyToAppL(const TKeyEvent& aKeyEvent,TEventCode aType);
- __declspec(dllexport) virtual CCoeControl* CreateCustomCommandControlL(TInt aControlType);
- protected:
- __declspec(dllexport) MEikAutoMenuObserver();
- private:
- __declspec(dllexport) virtual void Reserved_1_MenuObserver();
- __declspec(dllexport) virtual void Reserved_2_MenuObserver();
- __declspec(dllexport) virtual void MEikCommandObserver_Reserved1();
- __declspec(dllexport) virtual void MEikCommandObserver_Reserved2();
- private:
- TInt iMEikAutoMenuObserver_Reserved1;
- };
- #line 31 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknview.h" /* stack depth 2 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\coeaui.h" /* stack depth 3 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\vwsdef.h" /* stack depth 4 */
- #line 12
- class TVwsViewId
- #line 21
- {
- public:
- inline TVwsViewId();
- inline TVwsViewId(const TVwsViewId& aUid);
- inline TVwsViewId(TUid aAppUid,TUid aViewUid);
- inline TBool operator==(const TVwsViewId& aUid) const;
- inline TBool operator!=(const TVwsViewId& aUid) const;
- public:
- TUid iAppUid;
- TUid iViewUid;
- };
- const TInt KErrViewWrongMode=1;
- class TVwsViewIdAndMessage
- {
- public:
- inline TVwsViewIdAndMessage();
- inline TVwsViewIdAndMessage(const TVwsViewId& aId);
- inline TVwsViewIdAndMessage(const TVwsViewId& aId,TUid aCustomMessageId,const TDesC8& aCustomMessage);
- inline TVwsViewIdAndMessage& operator=(const TVwsViewIdAndMessage& aVwsViewIdAndMessage);
- public:
- TVwsViewId iViewId;
- TUid iCustomMessageId;
- TInt iCustomMessageLength;
- TPtrC8 iCustomMessage;
- };
- class TVwsViewEvent
- #line 79
- {
- public:
- enum TVwsViewEventType
- {
- EVwsActivateView,
- EVwsDeactivateView,
- EVwsScreenDeviceChanged,
- EVwsDeactivationNotification,
- EVwsActivationNotification
- };
- public:
- inline TVwsViewEvent();
- inline TVwsViewEvent(TVwsViewEventType aEventType);
- inline TVwsViewEvent(TVwsViewEventType aEventType,const TVwsViewId& aViewOneId);
- inline TVwsViewEvent(TVwsViewEventType aEventType,const TVwsViewId& aViewOneId,const TVwsViewId& aViewTwoId);
- inline TVwsViewEvent(TVwsViewEventType aEventType,const TVwsViewId& aViewOneId,const TVwsViewId& aViewTwoId,TUid aCustomMessageId,TInt aCustomMessageLength);
- public:
- TVwsViewEventType iEventType;
- TVwsViewId iViewOneId;
- TVwsViewId iViewTwoId;
- TUid iCustomMessageId;
- TInt iCustomMessageLength;
- };
- typedef TPckgBuf<TVwsViewIdAndMessage> TVwsViewIdAndMessageBuf;
- typedef TPckgBuf<TVwsViewEvent> TVwsViewEventBuf;
- inline TVwsViewId::TVwsViewId()
- : iAppUid(TUid::Null() ), iViewUid(TUid::Null() ) {}
- inline TVwsViewId::TVwsViewId(const TVwsViewId& aUid)
- : iAppUid(aUid.iAppUid), iViewUid(aUid.iViewUid) {}
- inline TVwsViewId::TVwsViewId(TUid aAppUid,TUid aViewUid)
- : iAppUid(aAppUid), iViewUid(aViewUid) {}
- inline TBool TVwsViewId::operator==(const TVwsViewId& aUid) const
- #line 147
- {
- return (aUid.iAppUid==iAppUid && aUid.iViewUid==iViewUid);
- }
- inline TBool TVwsViewId::operator!=(const TVwsViewId& aUid) const
- #line 160
- {
- return (aUid.iAppUid!=iAppUid || aUid.iViewUid!=iViewUid);
- }
- inline TVwsViewIdAndMessage::TVwsViewIdAndMessage()
- : iViewId(TVwsViewId()), iCustomMessageLength(0)
- {
- iCustomMessageId.iUid=0;
- iCustomMessage.Set(KNullDesC8);
- }
- inline TVwsViewIdAndMessage::TVwsViewIdAndMessage(const TVwsViewId& aId)
- : iViewId(aId), iCustomMessageLength(0)
- {
- iCustomMessageId.iUid=0;
- iCustomMessage.Set(KNullDesC8);
- }
- inline TVwsViewIdAndMessage::TVwsViewIdAndMessage(const TVwsViewId& aId,TUid aCustomMessageId,const TDesC8& aCustomMessage)
- : iViewId(aId), iCustomMessageId(aCustomMessageId)
- {
- iCustomMessageLength=aCustomMessage.Length();
- iCustomMessage.Set(aCustomMessage);
- }
- inline TVwsViewIdAndMessage& TVwsViewIdAndMessage::operator=(const TVwsViewIdAndMessage& aVwsViewIdAndMessage)
- {
- iViewId=aVwsViewIdAndMessage.iViewId;
- iCustomMessageId=aVwsViewIdAndMessage.iCustomMessageId;
- iCustomMessageLength=aVwsViewIdAndMessage.iCustomMessage.Length();
- iCustomMessage.Set(aVwsViewIdAndMessage.iCustomMessage);
- return(*this);
- }
- inline TVwsViewEvent::TVwsViewEvent() {}
- inline TVwsViewEvent::TVwsViewEvent(TVwsViewEventType aEventType)
- : iEventType(aEventType),iViewOneId(),iViewTwoId(),iCustomMessageId(TUid::Null() ),iCustomMessageLength(0) {}
- inline TVwsViewEvent::TVwsViewEvent(TVwsViewEventType aEventType,const TVwsViewId& aViewOneId)
- : iEventType(aEventType),iViewOneId(aViewOneId),iViewTwoId(),iCustomMessageId(TUid::Null() ),iCustomMessageLength(0) {}
- inline TVwsViewEvent::TVwsViewEvent(TVwsViewEventType aEventType,const TVwsViewId& aViewOneId,const TVwsViewId& aViewTwoId)
- : iEventType(aEventType),iViewOneId(aViewOneId),iViewTwoId(aViewTwoId),iCustomMessageId(TUid::Null() ),iCustomMessageLength(0) {}
- inline TVwsViewEvent::TVwsViewEvent(TVwsViewEventType aEventType,const TVwsViewId& aViewOneId,const TVwsViewId& aViewTwoId,TUid aCustomMessageId,TInt aCustomMessageLength)
- : iEventType(aEventType),iViewOneId(aViewOneId),iViewTwoId(aViewTwoId),iCustomMessageId(aCustomMessageId),iCustomMessageLength(aCustomMessageLength) {}
- #line 22 "C:\Symbian\9.1\S60_3rd\epoc32\include\coeaui.h" /* stack depth 3 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\coeview.h" /* stack depth 4 */
- #line 12
- class CCoeAppUi;
- class MCoeView
- {
- public:
- virtual TVwsViewId ViewId() const=0;
- private:
- #line 41
- virtual void ViewActivatedL(const TVwsViewId& aPrevViewId,TUid aCustomMessageId,const TDesC8& aCustomMessage)=0;
- virtual void ViewDeactivated()=0;
- protected:
- __declspec(dllexport) MCoeView();
- __declspec(dllexport) virtual TVwsViewIdAndMessage ViewScreenDeviceChangedL();
- private:
- __declspec(dllexport) virtual void ViewConstructL();
- protected:
- __declspec(dllexport) virtual TBool ViewScreenModeCompatible(TInt aScreenMode);
- private:
- friend class CCoeViewManager;
- __declspec(dllexport) virtual void PrepareForViewActivation();
- __declspec(dllexport) virtual void MCoeView_Reserved_2();
- __declspec(dllexport) virtual void MCoeView_Reserved_3();
- private:
- TInt iMCoeView_Reserved1;
- };
- class CCoeScreenDeviceChangeDefaultHandler : public CCoeStatic
- #line 79
- {
- public:
- __declspec(dllexport) ~CCoeScreenDeviceChangeDefaultHandler();
- __declspec(dllexport) static CCoeScreenDeviceChangeDefaultHandler* Self();
- protected:
- __declspec(dllexport) CCoeScreenDeviceChangeDefaultHandler();
- __declspec(dllexport) CCoeScreenDeviceChangeDefaultHandler(TInt aDestructionPriority);
- private:
- __declspec(dllexport) virtual void CCoeStatic_Reserved1();
- __declspec(dllexport) virtual void CCoeStatic_Reserved2();
- __declspec(dllexport) virtual void CCoeScreenDeviceChangeDefaultHandler_Reserved1();
- __declspec(dllexport) virtual void CCoeScreenDeviceChangeDefaultHandler_Reserved2();
- public:
- virtual void HandleScreenDeviceChangedL()=0;
- virtual TVwsViewIdAndMessage DefaultViewOnScreenDeviceChanged()=0;
- private:
- TInt iCCoeScreenDeviceChangeDefaultHandler;
- };
- #line 34 "C:\Symbian\9.1\S60_3rd\epoc32\include\coeaui.h" /* stack depth 3 */
- class CCoeEnv;
- class CCoeControl;
- typedef CCoeFep* (*TCoeFepFactoryFunctionL)(CCoeEnv& aConeEnvironment, const TDesC& aFullFileNameOfDll, const CCoeFepParameters& aFepParameters);
- typedef void (*TCoeSynchronouslyExecuteFepSettingsDialogFunctionL)(CCoeEnv& aConeEnvironment, const TDesC& aFullFileNameOfDll);
- #line 67
- enum
- {
- ECoeStackPriorityDefault=0,
- ECoeStackPriorityMenu=10,
- ECoeStackPriorityDialog=50,
- ECoeStackPriorityCba=60,
- ECoeStackPriorityAlert=200,
- ECoeStackPriorityFep=250,
- ECoeStackPriorityEnvironmentFilter=300
- };
- #line 93
- enum
- {
- ECoeStackFlagStandard = 0,
- ECoeStackFlagRefusesAllKeys = 0x01,
- ECoeStackFlagRefusesFocus = 0x02,
- ECoeStackFlagOwnershipTransfered= 0x04,
- ECoeStackFlagSharable = 0x08
- };
- class CCoeControlStack;
- class CCoeViewManager;
- class MCoeViewDeactivationObserver;
- class MCoeViewActivationObserver;
- class MCoeViewObserver;
- #line 128
- class CCoeAppUi : public CBase
- {
- public:
- __declspec(dllexport) CCoeAppUi();
- __declspec(dllexport) ~CCoeAppUi();
- __declspec(dllexport) void ConstructL(CCoeAppUi* aPrevious=0 );
- public:
- __declspec(dllexport) void AddToStackL(CCoeControl* aControl,TInt aPriority=ECoeStackPriorityDefault,TInt aStackingFlags=ECoeStackFlagStandard);
- __declspec(dllexport) void RemoveFromStack(CCoeControl* aControl);
- __declspec(dllexport) void UpdateStackedControlFlags(CCoeControl* aControl,TInt aFlags,TInt aMask);
- __declspec(dllexport) void HandleStackChanged();
- __declspec(dllexport) TBool IsDisplayingMenuOrDialog() const;
- __declspec(dllexport) TBool IsDisplayingDialog() const;
- __declspec(dllexport) TBool IsDisplayingControlBetweenPriorities(TInt aLowerPriority, TInt aHigherPriority) const;
- __declspec(dllexport) CArrayFix<TCoeHelpContext> * AppHelpContextL() const;
- __declspec(dllexport) virtual TCoeInputCapabilities InputCapabilities() const;
- __declspec(dllexport) void HandleStackedControlsResourceChange(TInt aType);
- __declspec(dllexport) void ActivateViewL(const TVwsViewId& aViewId);
- __declspec(dllexport) void ActivateViewL(const TVwsViewId& aViewId,TUid aCustomMessageId,const TDesC8& aCustomMessage);
- __declspec(dllexport) TBool CheckSourceOfViewSwitchL(const TSecurityPolicy& aSecurityPolicy,const char* aDiagnostic=0 ) const;
- __declspec(dllexport) void RegisterViewL(MCoeView& aView);
- __declspec(dllexport) void DeregisterView(const MCoeView& aView);
- __declspec(dllexport) void SetDefaultViewL(const MCoeView& aView);
- __declspec(dllexport) TInt GetDefaultViewId(TVwsViewId& aViewId) const;
- __declspec(dllexport) TInt GetActiveViewId(TVwsViewId& aViewId) const;
- __declspec(dllexport) void AddToStackL(const MCoeView& aView,CCoeControl* aControl,TInt aPriority=ECoeStackPriorityDefault,TInt aStackingFlags=ECoeStackFlagStandard);
- __declspec(dllexport) CCoeControl* TopFocusedControl() const;
- public:
- TBool IsControlOnStack(CCoeControl* aControl) const;
- void SetCurrentControlStackGroupId(TInt aGroupId);
- void NotifyFontChange(const CCoeFontProvider& aFontProvider);
- void RefetchPixelMapping();
- public:
- __declspec(dllexport) void CreateActivateViewEventL(const TVwsViewId& aViewId,TUid aCustomMessageId,const TDesC8& aCustomMessage);
- __declspec(dllexport) void ActivateTopViewL();
- __declspec(dllexport) void DeactivateActiveViewL();
- __declspec(dllexport) void RegisterApplicationViewL(TUid aAppUid);
- __declspec(dllexport) void DeregisterApplicationView();
- __declspec(dllexport) void CheckInitializeViewsL(TUid aAppUid);
- __declspec(dllexport) void SetApplicationViewAsDefaultL();
- __declspec(dllexport) void AddViewDeactivationObserverL(MCoeViewDeactivationObserver* aViewDeactivationObserver);
- __declspec(dllexport) void RemoveViewDeactivationObserver(MCoeViewDeactivationObserver* aViewDeactivationObserver);
- __declspec(dllexport) void NotifyNextDeactivation(const TVwsViewId& aViewId, MCoeViewDeactivationObserver& aViewDeactivationObserver);
- __declspec(dllexport) void NotifyNextDeactivation(MCoeViewDeactivationObserver& aViewDeactivationObserver);
- __declspec(dllexport) void AddViewActivationObserverL(MCoeViewActivationObserver* aViewActivationObserver);
- __declspec(dllexport) void RemoveViewActivationObserver(MCoeViewActivationObserver* aViewActivationObserver);
- __declspec(dllexport) void NotifyNextActivation(const TVwsViewId& aViewId, MCoeViewActivationObserver& aViewActivationObserver);
- __declspec(dllexport) void NotifyNextActivation(MCoeViewActivationObserver& aViewActivationObserver);
- __declspec(dllexport) void AddViewObserverL(MCoeViewObserver* aViewObserver);
- __declspec(dllexport) void RemoveViewObserver(MCoeViewObserver* aViewObserver);
- __declspec(dllexport) void WriteInternalStateOfStackedControlsL(RWriteStream& aWriteStream) const;
- __declspec(dllexport) void SetSystemDefaultViewL(const TVwsViewId& aViewId,TInt aMode);
- __declspec(dllexport) void SetSystemDefaultViewL(const TVwsViewId& aViewId);
- __declspec(dllexport) void GetSystemDefaultViewL(TVwsViewId& aViewId);
- public:
- __declspec(dllexport) void RegisterViewAndAddStackL(MCoeView& aView);
- __declspec(dllexport) void DeregisterViewAndRemoveStack(const MCoeView& aView);
- __declspec(dllexport) void RemoveFromViewStack(const MCoeView& aView,CCoeControl* aControl);
- __declspec(dllexport) void UpdateViewStackedControlFlags(const MCoeView& aView,CCoeControl* aControl,TInt aFlags,TInt aMask);
- __declspec(dllexport) void AddToViewStackL(const MCoeView& aView,CCoeControl* aControl,TInt aPriority=ECoeStackPriorityDefault,TInt aStackingFlags=ECoeStackFlagStandard);
- public:
- __declspec(dllexport) virtual void HandleWsEventL(const TWsEvent& aEvent,CCoeControl* aDestination);
- __declspec(dllexport) virtual void PrepareToExit();
- protected:
- __declspec(dllexport) virtual void HandleScreenDeviceChangedL();
- private:
- __declspec(dllexport) virtual TKeyResponse HandleKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
- __declspec(dllexport) virtual void HandleForegroundEventL(TBool aForeground);
- __declspec(dllexport) virtual void HandleSwitchOnEventL(CCoeControl* aDestination);
- __declspec(dllexport) virtual void HandleSystemEventL(const TWsEvent& aEvent);
- __declspec(dllexport) virtual void HandleApplicationSpecificEventL(TInt aType,const TWsEvent& aEvent);
- __declspec(dllexport) virtual void SetAndDrawFocus(TBool aFocus);
- __declspec(dllexport) virtual CArrayFix<TCoeHelpContext> * HelpContextL() const;
- public:
- __declspec(dllexport) TBool IsViewConstructed(const TVwsViewId& aViewId) const;
- __declspec(dllexport) virtual void CCoeAppUi_Reserved1();
- __declspec(dllexport) virtual void CCoeAppUi_Reserved2();
- private:
- enum TRemoveCondition
- {
- ERemoveUnconditionally,
- ERemoveOnlyIfSharable
- };
- private:
- CCoeControl* TopFocusableControl() const;
- TInt FindPos(CCoeControlStack* aStack,CCoeControl* aControl) const;
- void SetFocusToControl(CCoeControl* aControl,TBool aFocus);
- void DoAddToStackL(CCoeControlStack* aStack,CCoeControl* aControl,TInt aPriority,TInt aStackingFlags);
- void DoAddToStackL(CCoeControlStack* aStack,CCoeControl* aControl,TInt aPriority,TInt aStackingFlags, TInt aGroupId);
- void DoRemoveFromStack(CCoeControlStack* aStack,CCoeControl* aControl,TRemoveCondition aRemoveCondition=ERemoveUnconditionally);
- void DoUpdateStackedControlFlags(CCoeControlStack* aStack,CCoeControl* aControl,TInt aFlags,TInt aMask);
- public:
- void MonitorWsEvent(const TWsEvent& aEvent);
- private:
- class CExtra;
- friend class CExtra;
- friend class CTestDriver;
- protected:
- CCoeEnv* iCoeEnv;
- private:
- CCoeViewManager* iViewManager;
- CCoeControlStack* iStack;
- CExtra* iExtra;
- TInt iCCoeAppUi_Reserved1;
- };
- class MCoeViewDeactivationObserver
- #line 248
- {
- public:
- virtual void HandleViewDeactivation(const TVwsViewId& aViewIdToBeDeactivated,const TVwsViewId& aNewlyActivatedViewId)=0;
- protected:
- __declspec(dllexport) MCoeViewDeactivationObserver();
- private:
- __declspec(dllexport) virtual void MCoeViewDeactivationObserver_Reserved_1();
- __declspec(dllexport) virtual void MCoeViewDeactivationObserver_Reserved_2();
- private:
- TInt iMCoeViewDeactivationObserver_Reserved1;
- };
- class MCoeViewActivationObserver
- {
- public:
- virtual void HandleViewActivation(const TVwsViewId& aNewlyActivatedViewId,const TVwsViewId& aViewIdToBeDeactivated)=0;
- protected:
- __declspec(dllexport) MCoeViewActivationObserver();
- private:
- __declspec(dllexport) virtual void MCoeViewActivationObserver_Reserved_1();
- __declspec(dllexport) virtual void MCoeViewActivationObserver_Reserved_2();
- private:
- TInt iMCoeViewActivationObserver_Reserved1;
- };
- class MCoeViewObserver
- {
- public:
- virtual void HandleViewEventL(const TVwsViewEvent& aEvent)=0;
- protected:
- __declspec(dllexport) MCoeViewObserver();
- private:
- __declspec(dllexport) virtual void MCoeViewObserver_Reserved1();
- __declspec(dllexport) virtual void MCoeViewObserver_Reserved2();
- private:
- TInt iMCoeViewObserver_Reserved1;
- };
- #line 32 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknview.h" /* stack depth 2 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikdef.h" /* stack depth 3 */
- #line 20
- enum TPopupTargetPosType
- {
- EPopupTargetTopLeft,
- EPopupTargetTopRight,
- EPopupTargetBottomLeft,
- EPopupTargetBottomRight
- };
- #line 110
- const static TLitC<sizeof(L"*")/2> KEikDefaultAppBitmapStore={sizeof(L"*")/2-1,L"*"} ;
- const TInt KUidValueEikColorSchemeChangeEvent =0x10006956;
- const TInt KEikCustomColorsArrayValue =0x100057C2;
- const TInt KEikMessageFadeAllWindows =0x100056C2;
- const TInt KEikMessageUnfadeWindows =0x100056C3;
- const TInt KEikMessageColorSchemeChange =KUidValueCoeColorSchemeChangeEvent;
- #line 157
- const TInt KEikMessageZoomChange =KUidValueCoeZoomChangeEvent;
- const TInt KEikMessageFontChange = KUidValueCoeFontChangeEvent;
- const TInt KEikMessageVirtualCursorStateChange =0x10005D0A;
- const TInt KEikMessageCapsLock =0x100048F9;
- const TInt KEikMessagePrepareForSave =0x100069FD;
- const TInt KEikMessageEmbedLevelChange =0x1000A4AA;
- #line 202
- const TInt KEikHasBecomeCurrentAppUiWhileEmbeddedAppUiDeletes = 0x10207F75;
- const TInt KEikNotifyPreCreateEmbeddedL = 0x10207F67;
- const TInt KEikNotifyPostCreateEmbeddedL = 0x10207F65;
- const TInt KEikPostCoeAppUiConstructL = 0x10207F66;
- const TInt KEikResIdQueryDialog =0;
- const TInt KEikResIdInfoDialog =1;
- #line 34 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknview.h" /* stack depth 2 */
- class CAknViewAppUi;
- class CEikStatusPane;
- class CEikButtonGroupContainer;
- class CAknControlStack;
- class CAknViewExtension;
- class CAknToolbar;
- #line 52
- class CAknView : public CBase, public MCoeView, public MEikMenuObserver,
- public MObjectProvider
- {
- public:
- __declspec(dllexport) CAknView();
- __declspec(dllexport) ~CAknView();
- #line 74
- __declspec(dllexport) void BaseConstructL(TInt aResId=0);
- __declspec(dllexport) void ConstructMenuAndCbaEarlyL();
- __declspec(dllexport) void ActivateViewL(const TVwsViewId& aViewId);
- #line 99
- __declspec(dllexport) void ActivateViewL(const TVwsViewId& aViewId,
- TUid aCustomMessageId,
- const TDesC8& aCustomMessage);
- __declspec(dllexport) virtual TUid Id() const =0;
- __declspec(dllexport) virtual void HandleStatusPaneSizeChange();
- __declspec(dllexport) TVwsViewId ViewId() const;
- #line 129
- __declspec(dllexport) virtual void ProcessCommandL(TInt aCommand);
- __declspec(dllexport) virtual void HandleCommandL(TInt aCommand);
- __declspec(dllexport) virtual CEikMenuBar* MenuBar() const;
- #line 152
- __declspec(dllexport) TRect ClientRect() const;
- __declspec(dllexport) void StopDisplayingMenuBar();
- __declspec(dllexport) TBool IsForeground() const;
- __declspec(dllexport) virtual void HandleViewRectChange();
- __declspec(dllexport) virtual void Redraw() const;
- __declspec(dllexport) virtual void AknViewActivatedL(const TVwsViewId& aPrevViewId,
- TUid aCustomMessageId,
- const TDesC8& aCustomMessage);
- void AknViewDeactivated();
- void ProcessForegroundEventL(TBool aForeground);
- private:
- __declspec(dllexport) virtual void Reserved_MtsmPosition();
- __declspec(dllexport) virtual void Reserved_MtsmObject();
- protected:
- __declspec(dllexport) CAknViewAppUi* AppUi() const;
- __declspec(dllexport) CEikStatusPane* StatusPane() const;
- __declspec(dllexport) CEikButtonGroupContainer* Cba() const;
- #line 237
- __declspec(dllexport) virtual void DoActivateL(const TVwsViewId& aPrevViewId,
- TUid aCustomMessageId,
- const TDesC8& aCustomMessage) = 0;
- virtual void DoDeactivate() = 0;
- protected:
- #line 257
- __declspec(dllexport) void ViewActivatedL(const TVwsViewId& aPrevViewId,
- TUid aCustomMessageId,
- const TDesC8& aCustomMessage);
- __declspec(dllexport) void ViewDeactivated();
- __declspec(dllexport) TVwsViewIdAndMessage ViewScreenDeviceChangedL();
- protected:
- #line 286
- __declspec(dllexport) TTypeUid::Ptr MopSupplyObject(TTypeUid aId);
- __declspec(dllexport) MObjectProvider* MopNext();
- protected:
- #line 305
- __declspec(dllexport) virtual void SetEmphasis(CCoeControl* aMenuControl,
- TBool aEmphasis);
- __declspec(dllexport) virtual void HandleForegroundEventL(TBool aForeground);
- private:
- void ConstructMenuAndCbaL(TBool aVisible);
- CAknViewExtension* Extension() const;
- public:
- __declspec(dllexport) CAknToolbar* Toolbar() const;
- __declspec(dllexport) void StopDisplayingToolbar();
- protected:
- CCoeEnv* iCoeEnv;
- private:
- CAknViewAppUi* iAppUi;
- struct SAknViewInfo
- {
- public:
- TUint8 iVersion;
- TInt iHotKeys;
- TInt iMenu;
- TInt iCba;
- TInt iToolbar;
- TInt iExtension;
- };
- SAknViewInfo iViewInfo;
- CEikMenuBar* iMenu;
- CEikButtonGroupContainer* iCba;
- TBitFlags iFlags;
- CAknViewExtension* iExtension;
- };
- #line 10 "C:\gbtukmanpf01\NOK124\Courses\S60\05300-S60_C++_Introduction\Working\LabCode\Lab_05304-s2.cb1\starter\inc\S60UIExamplePlayContainer.h" /* stack depth 1 */
- class CS60UIExampleModel;
- class CAknNavigationDecorator;
- class CAknNavigationControlContainer;
- #line 24
- class CS60UIExamplePlayContainer : public CCoeControl
- {
- public:
- #line 35
- static CS60UIExamplePlayContainer* NewL(const TRect& aRect,
- CS60UIExampleModel& aModel );
- #line 45
- static CS60UIExamplePlayContainer* NewLC(const TRect& aRect,
- CS60UIExampleModel& aModel );
- void ConstructL(const TRect& aRect);
- virtual ~CS60UIExamplePlayContainer();
- public:
- void SizeChanged();
- void HandleResourceChange(TInt aType);
- void Draw(const TRect& aRect) const;
- TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,
- TEventCode aType);
- private:
- CS60UIExamplePlayContainer(CS60UIExampleModel& aModel);
- public:
- void UpdateNaviPaneL();
- private:
- CS60UIExampleModel& iModel;
- CAknNavigationControlContainer* iNaviPane;
- CAknNavigationDecorator* iNaviDecorator;
- CFbsBitmap* iBkgBitmap;
- };
- #line 3 "C:\gbtukmanpf01\NOK124\Courses\S60\05300-S60_C++_Introduction\Working\LabCode\Lab_05304-s2.cb1\starter\src\S60UIExamplePlayContainer.cpp" /* stack depth 0 */
- #line 1 "C:\gbtukmanpf01\NOK124\Courses\S60\05300-S60_C++_Introduction\Working\LabCode\Lab_05304-s2.cb1\starter\inc\S60UIExampleModel.h" /* stack depth 1 */
- #line 18
- class THighScore
- {
- public:
- TInt iScore;
- TBufC<20> iName;
- };
- #line 32
- class CS60UIExampleModel : public CBase
- {
- public:
- static CS60UIExampleModel* CS60UIExampleModel::NewL();
- static CS60UIExampleModel* CS60UIExampleModel::NewLC();
- void ConstructL();
- virtual ~CS60UIExampleModel();
- public:
- TBool IsGameStarted() const { return iGameStarted; }
- TBool IsGamePaused() const { return iGamePaused; }
- void GameStart() { iGameStarted = ETrue; iLevel = 1; iScore = 0; }
- void GameStop() { iGameStarted = EFalse; }
- void GamePause() { iGamePaused = ETrue; }
- void GameContinue() { iGameStarted = ETrue; iGamePaused = EFalse; }
- TInt LevelNumber() { return iLevel; }
- void SetLevelNumber(TInt aLevel) { iLevel = aLevel; }
- TInt Score() { return iScore; }
- void SetScore(TInt aScore) { iScore = aScore; }
- RArray<THighScore> * HighScoreArray() { return &iHighScores; }
- void InsertInHighScoresL(TDesC& aName, TInt aScore);
- private:
- TBool iGameStarted;
- TBool iGamePaused;
- TInt iLevel;
- TInt iScore;
- RArray<THighScore> iHighScores;
- };
- #line 4 "C:\gbtukmanpf01\NOK124\Courses\S60\05300-S60_C++_Introduction\Working\LabCode\Lab_05304-s2.cb1\starter\src\S60UIExamplePlayContainer.cpp" /* stack depth 0 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknutils.h" /* stack depth 1 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eiktxlbm.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 11 "C:\Symbian\9.1\S60_3rd\epoc32\include\eiktxlbm.h" /* stack depth 2 */
- class CTextListBoxModel : public CBase, public MTextListBoxModel
- {
- public:
- __declspec(dllexport) CTextListBoxModel();
- __declspec(dllexport) virtual ~CTextListBoxModel();
- __declspec(dllexport) virtual TInt NumberOfItems() const;
- __declspec(dllexport) virtual const MDesC16Array * MatchableTextArray() const;
- __declspec(dllexport) virtual TPtrC ItemText(TInt aItemIndex) const;
- __declspec(dllexport) virtual void ConstructL(MDesC16Array * aItemTextArray = 0 , TListBoxModelItemArrayOwnership aOwnershipType = ELbmOwnsItemArray);
- __declspec(dllexport) void SetItemTextArray(MDesC16Array * aItemTextArray);
- __declspec(dllexport) void SetOwnershipType(TListBoxModelItemArrayOwnership aOwnershipType);
- __declspec(dllexport) MDesC16Array * ItemTextArray() const;
- protected:
- __declspec(dllexport) TListBoxModelItemArrayOwnership ItemArrayOwnershipType() const;
- private:
- __declspec(dllexport) virtual TAny* MListBoxModel_Reserved();
- protected:
- MDesC16Array * iItemTextArray;
- private:
- TListBoxModelItemArrayOwnership iItemArrayOwnershipType;
- };
- #line 28 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknutils.h" /* stack depth 1 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\avkon.hrh" /* stack depth 2 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\uikon.hrh" /* stack depth 3 */
- #line 20
- enum TEikAppResourceFileStandardOffset
- {
- ESignatureResourceOffset=1,
- EDefaultNameResourceOffset,
- EAppInfoResourceOffset
- };
- #line 25 "C:\Symbian\9.1\S60_3rd\epoc32\include\avkon.hrh" /* stack depth 2 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikon.hrh" /* stack depth 3 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\lafpublc.hrh" /* stack depth 4 */
- #line 23
- enum TLafReferenceButtonGroupControls
- {
- ELafBgCba=100
- };
- #line 6 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikon.hrh" /* stack depth 3 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikcolor.hrh" /* stack depth 4 */
- #line 8 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikon.hrh" /* stack depth 3 */
- #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 2 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknfontcategory.hrh" /* stack depth 3 */
- #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 2 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknfontidoffsets.hrh" /* stack depth 3 */
- #line 34
- enum {EScalableFontIdOffset = (0x1000) };
- #line 33 "C:\Symbian\9.1\S60_3rd\epoc32\include\avkon.hrh" /* stack depth 2 */
- #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 29 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknutils.h" /* stack depth 1 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\avkon.rsg" /* stack depth 2 */
- #line 30 "C:\Symbian\9.1\S60_3rd\epoc32\include\aknutils.h" /* stack depth 1 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\eikenv.h" /* stack depth 2 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\apaflrec.h" /* stack depth 3 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\apadef.h" /* stack depth 4 */
- #line 18
- const TUint KApaCommandLetterOpen='O';
- const TUint KApaCommandLetterCreate='C';
- const TUint KApaCommandLetterRun='R';
- const TUint KApaCommandLetterBackground='B';
- const TUint KApaCommandLetterViewActivate='V';
- const TUint KApaCommandLetterRunWithoutViews='W';
- enum TApaCommand
- {
- EApaCommandOpen,
- EApaCommandCreate,
- EApaCommandRun,
- EApaCommandBackground,
- EApaCommandViewActivate,
- EApaCommandRunWithoutViews
- };
- const TInt KApaMaxAppCaption=0x100;
- #line 82
- typedef TBuf<KApaMaxAppCaption> TApaAppCaption;
- const TInt KApaMaxCommandLine=0x100;
- typedef TBuf<KApaMaxCommandLine> TApaCommandLine;
- const TInt KApaMaxAppFileName=0x10;
- typedef TBuf<KApaMaxAppFileName> TApaAppFileName;
- const TInt KApaMaxAppGroupName=0x10;
- #line 118
- typedef TBuf<KApaMaxAppGroupName> TApaAppGroupName;
- const TInt KAppUidValue8 = 0x1000006c;
- const TUid KUidApp8={KAppUidValue8};
- #line 141
- const TInt KAppUidValue16 = 0x100039CE;
- const TUid KUidApp16={KAppUidValue16};
- const TUid KUidAppDllDoc8={268435565};
- const TUid KUidAppDllDoc16={0x10003A12};
- const TUid KUidPictureTypeDoor8={268435537};
- const TUid KUidPictureTypeDoor16={0x10003A33};
- const TUid KUidSecurityStream8={268435661};
- const TUid KUidSecurityStream16={0x10003A40};
- const TUid KUidAppIdentifierStream8={268435593};
- const TUid KUidAppIdentifierStream16={0x10003A34};
- #line 272
- const TUid KUidFileEmbeddedApplicationInterfaceUid={0x101f8c96};
- #line 10 "C:\Symbian\9.1\S60_3rd\epoc32\include\apaflrec.h" /* stack depth 3 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\apaid.h" /* stack depth 4 */
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\apmstd.h" /* stack depth 5 */
- #line 17
- const TInt KMaxDataTypeLength=256;
- class RReadStream;
- class RWriteStream;
- #line 31
- typedef TInt32 TDataTypePriority;
- const TInt32 KDataTypePriorityUserSpecified=KMaxTInt16;
- #line 46
- const TInt32 KDataTypePrioritySystem = 0xFFF9;
- #line 55
- const TInt32 KDataTypeUnTrustedPriorityThreshold=KMaxTInt16;
- #line 64
- const TInt32 KDataTypePriorityHigh=10000;
- #line 73
- const TInt32 KDataTypePriorityNormal=0;
- #line 82
- const TInt32 KDataTypePriorityLow=-10000;
- #line 91
- const TInt32 KDataTypePriorityLastResort=-20000;
- const TInt32 KDataTypePriorityNotSupported=KMinTInt16;
- class TDataType
- #line 110
- {
- public:
- __declspec(dllexport) TDataType();
- __declspec(dllexport) TDataType(const TDataType& aDataType);
- __declspec(dllexport) TDataType(const TDesC8& aDataType);
- __declspec(dllexport) TDataType(TUid aUid);
- __declspec(dllexport) TInt operator==(const TDataType& aDataType) const;
- __declspec(dllexport) TInt operator!=(const TDataType& aDataType) const;
- __declspec(dllexport) TBool IsNative() const;
- __declspec(dllexport) TBuf<KMaxDataTypeLength> Des() const;
- __declspec(dllexport) TPtrC8 Des8() const;
- __declspec(dllexport) TUid Uid() const;
- __declspec(dllexport) void InternalizeL(RReadStream& aReadStream);
- __declspec(dllexport) void ExternalizeL(RWriteStream& aWriteStream) const;
- private:
- void ParseDes();
- private:
- TBuf8<KMaxDataTypeLength> iDataType;
- TUid iUid;
- };
- #line 142
- const static TLitC8<sizeof( "X-Epoc-Url/")> KEpocUrlDataTypeHeader={sizeof( "X-Epoc-Url/")-1, "X-Epoc-Url/"} ;
- class TDataTypeWithPriority
- #line 159
- {
- public:
- __declspec(dllexport) TDataTypeWithPriority();
- __declspec(dllexport) TDataTypeWithPriority(const TDataType& aDataType, TDataTypePriority aPriority);
- __declspec(dllexport) void InternalizeL(RReadStream& aReadStream);
- __declspec(dllexport) void ExternalizeL(RWriteStream& aWriteStream) const;
- public:
- TDataType iDataType;
- TDataTypePriority iPriority;
- };
- #line 16 "C:\Symbian\9.1\S60_3rd\epoc32\include\apaid.h" /* stack depth 4 */
- class TApaAppIdentifier;
- class TApaAppEntry;
- class CApaAppFinder;
- class RReadStream;
- class RWriteStream;
- class RFs;
- class TApaAppIdentifier
- #line 49
- {
- public:
- __declspec(dllexport) TApaAppIdentifier();
- __declspec(dllexport) TApaAppIdentifier(TUid aAppUidType,const TFileName& aDllName);
- __declspec(dllexport) void ExternalizeL(RWriteStream& aStream)const;
- __declspec(dllexport) void InternalizeL(RReadStream& aStream);
- public:
- TUid iAppUid;
- TFileName iFullName;
- private:
- TInt iTApaAppIdentifier_Reserved1;
- };
- class TApaAppEntry
- #line 78
- {
- public:
- __declspec(dllexport) TApaAppEntry();
- __declspec(dllexport) TApaAppEntry(const TUidType& aAppUidType,const TFileName& aDllName);
- __declspec(dllexport) void ExternalizeL(RWriteStream& aStream)const;
- __declspec(dllexport) void InternalizeL(RReadStream& aStream);
- public:
- TUidType iUidType;
- TFileName iFullName;
- private:
- TInt iTApaAppEntry_Reserved1;
- };
- class TApaAppInfo
- #line 109
- {
- public:
- __declspec(dllexport) TApaAppInfo();
- __declspec(dllexport) TApaAppInfo(TUid aAppUid,const TFileName& aDllName,const TApaAppCaption& aCaption);
- __declspec(dllexport) TApaAppInfo(TUid aAppUid,const TFileName& aDllName,const TApaAppCaption& aCaption,const TApaAppCaption& aShortCaption);
- __declspec(dllexport) void ExternalizeL(RWriteStream& aStream)const;
- __declspec(dllexport) void InternalizeL(RReadStream& aStream);
- public:
- TUid iUid;
- TFileName iFullName;
- TApaAppCaption iCaption;
- TApaAppCaption iShortCaption;
- private:
- TInt iTApaAppInfo_Reserved1;
- };
- class TApaAppViewInfo
- #line 146
- {
- public:
- __declspec(dllexport) TApaAppViewInfo();
- __declspec(dllexport) TApaAppViewInfo(TUid aViewUid,const TApaAppCaption& aViewCaption,TInt aScreenMode);
- __declspec(dllexport) void ExternalizeL(RWriteStream& aStream)const;
- __declspec(dllexport) void InternalizeL(RReadStream& aStream);
- public:
- TUid iUid;
- TApaAppCaption iViewCaption;
- TInt iScreenMode;
- private:
- TInt iTApaAppViewInfo_Reserved1;
- };
- #line 171
- typedef CArrayFixFlat<TApaAppViewInfo> CApaAppViewArray;
- class TApaAppCapability
- {
- public:
- __declspec(dllexport) static void CopyCapability(TDes8& aDest,const TDesC8& aSource);
- __declspec(dllexport) void InternalizeL(RReadStream& aStream);
- __declspec(dllexport) void Internalize7_0L(RReadStream& aStream);
- __declspec(dllexport) void ExternalizeL(RWriteStream& aStream) const;
- private:
- __declspec(dllexport) void Externalize7_0L(RWriteStream& aStream) const;
- void DoInternalizeL(RReadStream& aStream, TBool& aLaunchInBackground, TApaAppGroupName& aGroupName);
- public:
- enum TEmbeddability {
- ENotEmbeddable=0,
- EEmbeddable=1,
- EEmbeddableOnly=2,
- EEmbeddableUiOrStandAlone=5,
- EEmbeddableUiNotStandAlone=6 };
- enum TCapabilityAttribute
- {
- EBuiltAsDll = 0x00000001,
- EControlPanelItem = 0x00000002,
- ENonNative = 0x00000004
- };
- public:
- TEmbeddability iEmbeddability;
- TBool iSupportsNewFile;
- TBool iAppIsHidden;
- TBool iLaunchInBackground;
- TApaAppGroupName iGroupName;
- TUint iAttributes;
- private:
- enum { EVersion=4 };
- private:
- TInt iTApaAppCapability_Reserved1;
- };