00001 /* 00002 * Copyright © 2008 Nokia Corporation. 00003 */ 00004 00005 // INCLUDE FILES 00006 #include <t32wld.h> 00007 #include "TZLocalizerDocument.h" 00008 #include "TZLocalizerAppUi.h" 00009 00010 // ================= MEMBER FUNCTIONS ======================= 00011 00012 // constructor 00013 CTZLocalizerDocument::CTZLocalizerDocument(CEikApplication& aApp) 00014 : CAknDocument(aApp) 00015 { 00016 } 00017 00018 // destructor 00019 CTZLocalizerDocument::~CTZLocalizerDocument() 00020 { 00021 } 00022 00023 // EPOC default constructor can leave. 00024 void CTZLocalizerDocument::ConstructL() 00025 { 00026 } 00027 00028 // Two-phased constructor. 00029 CTZLocalizerDocument* CTZLocalizerDocument::NewL( 00030 CEikApplication& aApp) // CTZLocalizerApp reference 00031 { 00032 CTZLocalizerDocument* self = new (ELeave) CTZLocalizerDocument( aApp ); 00033 CleanupStack::PushL( self ); 00034 self->ConstructL(); 00035 CleanupStack::Pop(self); 00036 00037 return self; 00038 } 00039 00040 // ---------------------------------------------------- 00041 // CTZLocalizerDocument::CreateAppUiL() 00042 // constructs CTZLocalizerAppUi 00043 // ---------------------------------------------------- 00044 // 00045 CEikAppUi* CTZLocalizerDocument::CreateAppUiL() 00046 { 00047 return new (ELeave) CTZLocalizerAppUi; 00048 } 00049 00050 // End of File
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.