|
Nokia N97 SDK Example Applications Guide |
00001 /* 00002 * ============================================================================ 00003 * Name : OomExampleDocument.cpp 00004 * Part of : OomMonitor Example Application 00005 * Description : ?Description 00006 * Version : %version: 1 % << Don't touch! Updated by Synergy at check-out. 00007 * 00008 * Copyright © 2009 Nokia. All rights reserved. 00009 * This material, including documentation and any related computer 00010 * programs, is protected by copyright controlled by Nokia. All 00011 * rights are reserved. Copying, including reproducing, storing, 00012 * adapting or translating, any or all of this material requires the 00013 * prior written consent of Nokia. This material also contains 00014 * confidential information which may not be disclosed to others 00015 * without the prior written consent of Nokia. 00016 * ============================================================================ 00017 * Template version: 4.2 00018 */ 00019 00020 #include "OomExampleAppUi.h" 00021 #include "OomExampleDocument.h" 00022 00023 COomExampleDocument* COomExampleDocument::NewL( CEikApplication& aApp ) 00024 { 00025 COomExampleDocument* self = NewLC( aApp ); 00026 CleanupStack::Pop( self ); 00027 return self; 00028 } 00029 00030 COomExampleDocument* COomExampleDocument::NewLC(CEikApplication& aApp) 00031 { 00032 COomExampleDocument* self = new (ELeave) COomExampleDocument(aApp); 00033 00034 CleanupStack::PushL(self); 00035 self->ConstructL(); 00036 return self; 00037 } 00038 00039 void COomExampleDocument::ConstructL() 00040 { 00041 // No implementation required 00042 } 00043 00044 COomExampleDocument::COomExampleDocument(CEikApplication& aApp) : 00045 CAknDocument(aApp) 00046 { 00047 // No implementation required 00048 } 00049 00050 COomExampleDocument::~COomExampleDocument() 00051 { 00052 // No implementation required 00053 } 00054 00055 CEikAppUi* COomExampleDocument::CreateAppUiL() 00056 { 00057 // Create the application user interface, and return a pointer to it; 00058 // the framework takes ownership of this object 00059 return new (ELeave) COomExampleAppUi; 00060 }
|
© Nokia 2009 |