examples/ForumNokia/SMSExample/GUI/src/SMSExampleDocument.cpp

00001 /*
00002  * Copyright  2008 Nokia Corporation.
00003  */
00004 
00005 // INCLUDE FILES
00006 #include "SMSExampleDocument.h"
00007 #include "SMSExampleAppui.h"
00008 
00009 // ================= MEMBER FUNCTIONS =======================
00010 
00011 // constructor
00012 CSMSExampleDocument::CSMSExampleDocument(CEikApplication& aApp)
00013 : CAknDocument(aApp)    
00014     {
00015     }
00016 
00017 // destructor
00018 CSMSExampleDocument::~CSMSExampleDocument()
00019     {
00020     }
00021 
00022 // EPOC default constructor can leave.
00023 void CSMSExampleDocument::ConstructL()
00024     {
00025     }
00026 
00027 // Two-phased constructor.
00028 CSMSExampleDocument* CSMSExampleDocument::NewL(
00029         CEikApplication& aApp)     // CSMSExampleApp reference
00030     {
00031     CSMSExampleDocument* self = new (ELeave) CSMSExampleDocument( aApp );
00032     CleanupStack::PushL( self );
00033     self->ConstructL();
00034     CleanupStack::Pop(self);
00035     return self;
00036     }
00037     
00038 // ----------------------------------------------------
00039 // CSMSExampleDocument::CreateAppUiL()
00040 // constructs CSMSExampleAppUi
00041 // ----------------------------------------------------
00042 //
00043 CEikAppUi* CSMSExampleDocument::CreateAppUiL()
00044     {
00045     return new (ELeave) CSMSExampleAppUi;
00046     }
00047 
00048 // End of File  

Generated by  doxygen 1.6.2