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