|
Nokia N97 SDK Example Applications Guide |
00001 /* 00002 * ============================================================================== 00003 * Name : SimpleCubePixmapDocument.cpp 00004 * Part of : SimpleCubePixmap 00005 * 00006 * Copyright (c) 2004-2007 Nokia Corporation. 00007 * This material, including documentation and any related 00008 * computer programs, is protected by copyright controlled by 00009 * Nokia Corporation. 00010 * ============================================================================== 00011 */ 00012 00013 00014 // INCLUDE FILES 00015 #include "SimpleCubePixmapDocument.h" 00016 #include "SimpleCubePixmapAppUi.h" 00017 00018 // ================= MEMBER FUNCTIONS ======================= 00019 00020 // ----------------------------------------------------------------------------- 00021 // CSimpleCubePixmapDocument::CSimpleCubePixmapDocument 00022 // 00023 // Just calls the base class constructor. 00024 // ----------------------------------------------------------------------------- 00025 // 00026 CSimpleCubePixmapDocument::CSimpleCubePixmapDocument(CEikApplication& aApp) 00027 : CAknDocument(aApp) 00028 { 00029 } 00030 00031 // destructor 00032 CSimpleCubePixmapDocument::~CSimpleCubePixmapDocument() 00033 { 00034 } 00035 00036 // ----------------------------------------------------------------------------- 00037 // CSimpleCubePixmapDocument::ConstructL 00038 // 00039 // Empty 2nd phase constructor. 00040 // ----------------------------------------------------------------------------- 00041 // 00042 void CSimpleCubePixmapDocument::ConstructL() 00043 { 00044 } 00045 00046 // ----------------------------------------------------------------------------- 00047 // CSimpleCubeDocument::NewL 00048 // 00049 // ----------------------------------------------------------------------------- 00050 // 00051 CSimpleCubePixmapDocument* CSimpleCubePixmapDocument::NewL( 00052 CEikApplication& aApp) // CSimpleCubePixmapApp reference 00053 { 00054 CSimpleCubePixmapDocument* self = new (ELeave) CSimpleCubePixmapDocument( aApp ); 00055 CleanupStack::PushL( self ); 00056 self->ConstructL(); 00057 CleanupStack::Pop(); 00058 00059 return self; 00060 } 00061 00062 // ---------------------------------------------------- 00063 // CSimpleCubePixmapDocument::CreateAppUiL() 00064 // Constructs and returns a CSimpleCubePixmapAppUi object. 00065 // ---------------------------------------------------- 00066 // 00067 CEikAppUi* CSimpleCubePixmapDocument::CreateAppUiL() 00068 { 00069 return new (ELeave) CSimpleCubePixmapAppUi; 00070 } 00071 00072 // End of File
|
© Nokia 2009 |