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