00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef __AKNSTATICNOTEDIALOG__
00022 #define __AKNSTATICNOTEDIALOG__
00023
00024 #include <aknnotedialog.h>
00025 #include <AknControl.h>
00026
00027 class CEikImage;
00028 class CAknStackIndicatorAttributes;
00029
00033 class CAknStaticNoteStackIndicator : public CAknControl
00034 {
00035 public:
00040 void ConstructL(CCoeControl* aParentNote, TInt aStackDepth);
00041
00046 void UpdateDepth(TInt aDepth);
00047
00048 ~CAknStaticNoteStackIndicator();
00049
00058 IMPORT_C void HandleResourceChange(TInt aType);
00059
00064 IMPORT_C void HandlePointerEventL(const TPointerEvent& aPointerEvent);
00065
00066 private:
00067 void Draw(const TRect& aRect) const;
00068 void DoSetExtent();
00069
00070 private:
00074 IMPORT_C void* ExtensionInterface( TUid aInterface );
00075
00076 private:
00077 CAknStackIndicatorAttributes* iAttributes;
00078 CCoeControl* iParentNote;
00079 };
00080
00081
00085 class CAknStaticNoteDialog : public CAknNoteDialog
00086 {
00087
00088 public:
00093 IMPORT_C CAknStaticNoteDialog();
00094
00103 IMPORT_C CAknStaticNoteDialog(CEikDialog** aSelfPtr);
00104
00105 IMPORT_C virtual ~CAknStaticNoteDialog();
00106
00114 IMPORT_C void SetNumberOfBorders(TInt aNumber);
00115
00119 IMPORT_C void HandlePointerEventL(const TPointerEvent& aPointerEvent);
00120
00121 protected:
00129 IMPORT_C void PostLayoutDynInitL();
00130
00137 IMPORT_C TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
00138
00139 protected:
00144 CAknStaticNoteStackIndicator* iStackIndicator;
00145
00150 TInt iStackDepth;
00151
00152 private:
00153 TInt iSpare;
00154
00155 private:
00159 IMPORT_C void* ExtensionInterface( TUid aInterface );
00160
00161 private:
00162 IMPORT_C virtual void CEikDialog_Reserved_1();
00163 IMPORT_C virtual void CEikDialog_Reserved_2();
00164
00165 private:
00166 IMPORT_C virtual void CAknNoteDialog_Reserved();
00167
00168 private:
00169 IMPORT_C virtual void CAknStaticNoteDialog_Reserved();
00170 };
00171
00172 #endif