00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef __MINIMAL_H__
00017 #define __MINIMAL_H__
00018
00019 #include <eikenv.h>
00020 #include <eikappui.h>
00021 #include <eikapp.h>
00022 #include <eikdoc.h>
00023 #include <eikmenup.h>
00024
00025
00026
00027 class CExampleApplication : public CEikApplication
00028 {
00029 private:
00030 CApaDocument* CreateDocumentL();
00031 TUid AppDllUid() const;
00032 TFileName ResourceFileName() const;
00033 };
00034
00035
00036 class CExampleAppView : public CCoeControl
00037 {
00038 public:
00039 static CExampleAppView* NewL(const TRect& aRect);
00040 CExampleAppView();
00041 ~CExampleAppView();
00042 void ConstructL(const TRect& aRect);
00043
00044 private:
00045 void Draw(const TRect& ) const;
00046 };
00047
00048
00049 class CExampleAppUi : public CEikAppUi
00050 {
00051 public:
00052 void ConstructL();
00053 ~CExampleAppUi();
00054
00055 private:
00056 void HandleCommandL(TInt aCommand);
00057
00058 private:
00059 CCoeControl* iAppView;
00060 };
00061
00062
00063 class CExampleDocument : public CEikDocument
00064 {
00065 public:
00066 static CExampleDocument* NewL(CEikApplication& aApp);
00067 CExampleDocument(CEikApplication& aApp);
00068 void ConstructL();
00069 private:
00070 CEikAppUi* CreateAppUiL();
00071 };
00072
00073
00074 #endif //__MINIMAL_H__
00075