00001 00002 00003 #ifndef TXTVIEWERDOCUMENT_H 00004 #define TXTVIEWERDOCUMENT_H 00005 00006 // INCLUDES 00007 00008 #include "akndoc.h" 00009 #include <MSVSTD.H> 00010 00011 class CTxtViewerAppView; 00012 00013 // CLASS DECLARATION 00014 00018 class CTxtViewerDocument : public CEikDocument 00019 { 00020 public: // Constructors and destructor 00021 00025 static CTxtViewerDocument* NewL(CEikApplication& aApp); 00026 00030 virtual ~CTxtViewerDocument(); 00031 00032 void InitializeL(); 00033 void SetView(CTxtViewerAppView* aView); 00034 00035 00036 void SetId(TMsvId aId); 00037 TMsvId Id(); 00038 00039 00040 void SetOpenedForEditing(TBool aOpenedForEditing); 00041 TBool OpenedForEditing(); 00042 00043 00044 00045 void SetMessage(const RMessage2 aMessage); 00046 RMessage2 Message(); 00047 00048 00049 public: 00050 00051 private: // Functions from base classes 00052 00053 00054 private: 00055 00059 CTxtViewerDocument(CEikApplication& aApp); 00060 00066 CEikAppUi* CreateAppUiL(); 00067 00068 00073 void ConstructL(); 00074 00075 private: 00076 00077 TMsvId iId; 00078 TBool iOpenedForEditing; 00079 TBool iSend; 00080 RMessage2 iMessage; 00081 CTxtViewerAppView* iAppView; 00082 00083 }; 00084 00085 #endif // TXTVIEWERDOCUMENT_H 00086 00087 // End of File
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.