examples/ForumNokia/Symbian_OS_End-to-End_Sockets_API_Example/SocketTaskManager_S60/src/TaskManagerDocument.cpp

00001 /*
00002 * ============================================================================
00003 *  Name     : CTaskManagerDocument from TaskManagerDocument.cpp
00004 *  Part of  : TaskManager
00005 *  Created  : 15/03/2006 by Forum Nokia
00006 *  Version  : 1.2
00007 *  Copyright: Nokia Corporation
00008 * ============================================================================
00009 */
00010 
00011 // INCLUDE FILES
00012 #include "TaskManagerAppUi.h"
00013 #include "TaskManagerDocument.h"
00014 
00015 // ================= MEMBER FUNCTIONS =======================
00016 
00017 // constructor
00018 CTaskManagerDocument::CTaskManagerDocument(CEikApplication& aApp) : CAknDocument(aApp) 
00019 {
00020         // no implementation required
00021 }
00022 
00023 // destructor
00024 CTaskManagerDocument::~CTaskManagerDocument()
00025 {
00026         // no implementation required
00027 }
00028 
00029 // ----------------------------------------------------
00030 // CTaskManagerDocument::NewL()
00031 // Two-phased constructor.
00032 // ----------------------------------------------------
00033 // 
00034 CTaskManagerDocument *CTaskManagerDocument::NewL(CEikApplication &aApp)
00035 {
00036     CTaskManagerDocument *self = new(ELeave) CTaskManagerDocument(aApp);
00037     CleanupStack::PushL(self);
00038     self->ConstructL();
00039     CleanupStack::Pop(self);
00040     return self;
00041 }
00042 
00043 // ----------------------------------------------------
00044 // CTaskManagerDocument::ConstructL()
00045 // Symbian OS default constructor can leave.
00046 // ----------------------------------------------------
00047 // 
00048 void CTaskManagerDocument::ConstructL()
00049 {
00050         // no implementation required
00051 }    
00052 
00053 
00054 // ----------------------------------------------------
00055 // CTaskManagerDocument::CreateAppUiL()
00056 // constructs CTaskManagerAppUi
00057 // ----------------------------------------------------
00058 //
00059 CEikAppUi *CTaskManagerDocument::CreateAppUiL()
00060 {
00061     // Create the application user interface, and return a pointer to it,
00062     // the framework takes ownership of this object
00063     CEikAppUi *appUi = new(ELeave) CTaskManagerAppUi;
00064     return appUi;
00065 }
00066 
00067 // End of file

Generated by  doxygen 1.6.2