00001 /* ==================================================================== 00002 * File: TestAppDocument.cpp 00003 * Created: 28/06/06 by Forum Nokia 00004 * Author: 00005 * Copyright (c): , All rights reserved 00006 * ==================================================================== */ 00007 00008 #include "TestAppAppUi.h" 00009 #include "TestAppDocument.h" 00010 00011 CTestAppDocument* CTestAppDocument::NewL(CEikApplication& aApp) 00012 { 00013 CTestAppDocument* self = NewLC(aApp); 00014 CleanupStack::Pop(self); 00015 return self; 00016 } 00017 00018 CTestAppDocument* CTestAppDocument::NewLC(CEikApplication& aApp) 00019 { 00020 CTestAppDocument* self = new (ELeave) CTestAppDocument(aApp); 00021 CleanupStack::PushL(self); 00022 self->ConstructL(); 00023 return self; 00024 } 00025 00026 void CTestAppDocument::ConstructL() 00027 { 00028 // no implementation required 00029 } 00030 00031 CTestAppDocument::CTestAppDocument(CEikApplication& aApp) : CAknDocument(aApp) 00032 { 00033 // no implementation required 00034 } 00035 00036 CTestAppDocument::~CTestAppDocument() 00037 { 00038 // no implementation required 00039 } 00040 00041 CEikAppUi* CTestAppDocument::CreateAppUiL() 00042 { 00043 // Create the application user interface, and return a pointer to it, 00044 // the framework takes ownership of this object 00045 return new (ELeave) CTestAppAppUi; 00046 } 00047
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.