examples/ForumNokia/InternetEmail/src/InternetEmailDocument.cpp

00001 /*
00002  * Copyright � 2008 Nokia Corporation.
00003  */
00004 
00005 
00006 // INCLUDE FILES
00007 #include "InternetEmailDocument.h"
00008 #include "InternetEmailAppUi.h"
00009 #include "InternetEmailEngine.h"
00010 
00011 // ================= MEMBER FUNCTIONS =======================
00012 
00013 // ---------------------------------------------------------------------
00014 // CInternetEmailDocument::CInternetEmailDocument(CEikApplication& aApp)
00015 //  : CAknDocument(aApp) 
00016 // ---------------------------------------------------------------------
00017 //
00018 CInternetEmailDocument::CInternetEmailDocument(CEikApplication& aApp)
00019 : CAknDocument(aApp)    
00020     {
00021     }
00022 
00023 // ---------------------------------------------------------------------
00024 // CInternetEmailDocument::~CInternetEmailDocument()
00025 // ---------------------------------------------------------------------
00026 //
00027 CInternetEmailDocument::~CInternetEmailDocument()
00028     {
00029     }
00030 
00031 // ---------------------------------------------------------------------
00032 // CInternetEmailDocument::~CInternetEmailDocument()
00033 //  EPOC default constructor can leave.
00034 // ---------------------------------------------------------------------
00035 //
00036 void CInternetEmailDocument::ConstructL()
00037     {
00038     }
00039 
00040 // ---------------------------------------------------------------------
00041 // CInternetEmailDocument* CInternetEmailDocument::NewL(
00042 //      CEikApplication& aApp)     
00043 //  Two-phased constructor.
00044 // ---------------------------------------------------------------------
00045 CInternetEmailDocument* CInternetEmailDocument::NewL(
00046         CEikApplication& aApp)     // CInternetEmailApp reference
00047     {
00048     CInternetEmailDocument* self = new (ELeave) CInternetEmailDocument( aApp );
00049     CleanupStack::PushL( self );
00050     self->ConstructL();
00051     CleanupStack::Pop();
00052     return self;
00053     }
00054     
00055 // ----------------------------------------------------
00056 // CInternetEmailDocument::CreateAppUiL()
00057 // constructs CInternetEmailAppUi
00058 // ----------------------------------------------------
00059 //
00060 CEikAppUi* CInternetEmailDocument::CreateAppUiL()
00061     {
00062     return new (ELeave) CInternetEmailAppUi;
00063     }
00064 
00065 // ----------------------------------------------------
00066 // CInternetEmailDocument::OpenFileL
00067 // Overrides CAknDocument::OpenFileL to support document file
00068 // ----------------------------------------------------
00069 //
00070 CFileStore* CInternetEmailDocument::OpenFileL(TBool aDoOpen,const TDesC& aFilename,RFs& aFs)
00071     {
00072     return CEikDocument::OpenFileL(aDoOpen, aFilename, aFs);
00073     }
00074 
00075 // End of File

Generated by  doxygen 1.6.2