diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/handler_document_8h_source.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/handler_document_8h_source.html Tue Mar 30 16:16:55 2010 +0100 @@ -0,0 +1,68 @@ + + +
+ +00001 /* ==================================================================== +00002 * File: handlerDocument.h +00003 * Created: 09/27/05 +00004 * Author: +00005 * Copyright (c): , All rights reserved +00006 * ==================================================================== */ +00007 +00008 #ifndef __HANDLER_DOCUMENT_H__ +00009 #define __HANDLER_DOCUMENT_H__ +00010 +00011 +00012 #include <akndoc.h> +00013 +00014 // Forward references +00015 class CHandlerAppUi; +00016 class CEikApplication; +00017 +00018 +00025 class CHandlerDocument : public CAknDocument +00026 { +00027 public: +00028 +00037 static CHandlerDocument* NewL(CEikApplication& aApp); +00038 +00047 static CHandlerDocument* NewLC(CEikApplication& aApp); +00048 +00054 ~CHandlerDocument(); +00055 +00056 public: // from CAknDocument +00063 CEikAppUi* CreateAppUiL(); +00064 +00065 public: // from CEikDocument +00066 +00075 CFileStore* OpenFileL(TBool aDoOpen,const TDesC& aFilename,RFs& aFs); +00076 +00077 void OpenFileL(CFileStore*& aFileStore, RFile& aFile); +00078 +00079 private: +00080 +00086 void ConstructL(); +00087 +00088 +00095 CHandlerDocument(CEikApplication& aApp); +00096 +00097 private: +00098 CEikAppUi* iAppUi; +00099 +00100 TFileName iFileName; +00101 }; +00102 +00103 +00104 #endif // __HANDLER_DOCUMENT_H__ +