00001 /* 00002 * Copyright © 2008 Nokia Corporation. 00003 */ 00004 00005 #include "DBMSAppUi.h" 00006 #include "DBMSDocument.h" 00007 00008 // --------------------------------------------------------------------------- 00009 // CDBMSAppUi::NewL() 00010 // 00011 // Create instance of document. 00012 // --------------------------------------------------------------------------- 00013 CDBMSDocument* CDBMSDocument::NewL(CEikApplication& aApp) 00014 { 00015 CDBMSDocument* self = new (ELeave) CDBMSDocument(aApp); 00016 CleanupStack::PushL(self); 00017 self->ConstructL(); 00018 CleanupStack::Pop(self); 00019 return self; 00020 } 00021 00022 // --------------------------------------------------------------------------- 00023 // CDBMSAppUi::ConstructL() 00024 // 00025 // Perform second phase construction 00026 // --------------------------------------------------------------------------- 00027 void CDBMSDocument::ConstructL() 00028 { 00029 // No implementation required 00030 } 00031 00032 // --------------------------------------------------------------------------- 00033 // CDBMSAppUi::CDBMSDocument() 00034 // 00035 // Constructor 00036 // --------------------------------------------------------------------------- 00037 CDBMSDocument::CDBMSDocument(CEikApplication& aApp) : CAknDocument(aApp) 00038 { 00039 // No implementation required 00040 } 00041 00042 // --------------------------------------------------------------------------- 00043 // CDBMSAppUi::~CDBMSDocument() 00044 // 00045 // Destructor 00046 // --------------------------------------------------------------------------- 00047 CDBMSDocument::~CDBMSDocument() 00048 { 00049 // No implementation required 00050 } 00051 00052 // --------------------------------------------------------------------------- 00053 // CDBMSAppUi::CreateAppUiL() 00054 // 00055 // Create the AppUi. 00056 // --------------------------------------------------------------------------- 00057 CEikAppUi* CDBMSDocument::CreateAppUiL() 00058 { 00059 return (static_cast<CEikAppUi*>(new(ELeave)CDBMSAppUi)); 00060 } 00061