examples/ForumNokia/Document_Handler_Example/HandlerApp/inc/handlerDocument.h

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__

Generated by  doxygen 1.6.2