examples/ForumNokia/ThreadAndActiveObjectsEx/src/threadaodocument.cpp

00001 /*
00002  * Copyright © 2008 Nokia Corporation.
00003  */
00004 
00005 
00006 // INCLUDES
00007 #include "ThreadAOAppUi.h"
00008 #include "ThreadAODocument.h"
00009 
00010 CThreadAODocument* CThreadAODocument::NewL(CEikApplication& aApp)
00011     {
00012     CThreadAODocument* self = NewLC(aApp);
00013     CleanupStack::Pop(self);
00014     return self;
00015     }
00016 
00017 CThreadAODocument* CThreadAODocument::NewLC(CEikApplication& aApp)
00018     {
00019     CThreadAODocument* self = new (ELeave) CThreadAODocument(aApp);
00020     CleanupStack::PushL(self);
00021     self->ConstructL();
00022     return self;
00023     }
00024 
00025 // ----------------------------------------------------------------------------
00026 // CThreadAODocument::ConstructL()
00027 //
00028 // Standard Symbian OS 2nd phase constructor
00029 // ----------------------------------------------------------------------------
00030 void CThreadAODocument::ConstructL()
00031     {
00032         // No implementation required
00033     }    
00034 
00035 // ----------------------------------------------------------------------------
00036 // CThreadAODocument::CThreadAODocument(CEikApplication& aApp) 
00037 //   
00038 // Constructor.
00039 // ----------------------------------------------------------------------------
00040 CThreadAODocument::CThreadAODocument(  CEikApplication& aApp) : 
00041         CAknDocument( aApp ) 
00042     {
00043     }
00044 
00045 // ----------------------------------------------------------------------------
00046 // CThreadAODocument::~CThreadAODocument()
00047 //   
00048 // Destructor.
00049 // ----------------------------------------------------------------------------
00050 CThreadAODocument::~CThreadAODocument()
00051     {
00052     }
00053 
00054 // ----------------------------------------------------------------------------
00055 // CThreadAODocument::CreateAppUiL()
00056 //
00057 // Constructs CThreadAOAppUi.
00058 // ----------------------------------------------------------------------------
00059 CEikAppUi* CThreadAODocument::CreateAppUiL()
00060     {
00061     // Create the application user interface, and return a pointer to it;
00062     // the framework takes ownership of this object
00063         return (static_cast <CEikAppUi*> (new (ELeave) CThreadAOAppUi)); 
00064     }
00065 

Generated by  doxygen 1.6.2