S60 3rd Edition SDK for Symbian OS
Example Applications Guide

EnvMappingDocument.cpp

00001 /*
00002 * ==============================================================================
00003 *  Name        : EnvMappingDocument.cpp
00004 *  Part of     : OpenGLEx / EnvMapping
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 "EnvMappingDocument.h"
00019 #include "EnvMappingAppUi.h"
00020 
00021 // ================= MEMBER FUNCTIONS =======================
00022 
00023 // -----------------------------------------------------------------------------
00024 // CEnvMappingDocument::CEnvMappingDocument
00025 // C++ default constructor can NOT contain any code, that
00026 // might leave.
00027 // -----------------------------------------------------------------------------
00028 //
00029 
00030 CEnvMappingDocument::CEnvMappingDocument(CEikApplication& aApp)
00031 : CAknDocument(aApp)    
00032 {
00033 }
00034 
00035 // -----------------------------------------------------------------------------
00036 // CMultiTexDocument::~CMultiTexDocument
00037 // 
00038 // Empty destructor.
00039 // -----------------------------------------------------------------------------
00040 //
00041 
00042 CEnvMappingDocument::~CEnvMappingDocument()
00043 {
00044 }
00045 
00046 // -----------------------------------------------------------------------------
00047 // CEnvMappingDocumente::ConstructL
00048 // Symbian 2nd phase constructor can leave.
00049 // -----------------------------------------------------------------------------
00050 //
00051 void CEnvMappingDocument::ConstructL()
00052 {
00053 }
00054 
00055 // -----------------------------------------------------------------------------
00056 // CEnvMappingDocument::NewL
00057 // Two-phased constructor.
00058 // -----------------------------------------------------------------------------
00059 //
00060 CEnvMappingDocument* CEnvMappingDocument::NewL(
00061         CEikApplication& aApp)     // CEnvMappingApp reference
00062     {
00063     CEnvMappingDocument* self = new (ELeave) CEnvMappingDocument( aApp );
00064     CleanupStack::PushL( self );
00065     self->ConstructL();
00066     CleanupStack::Pop();
00067 
00068     return self;
00069     }
00070     
00071 // ----------------------------------------------------
00072 // CEnvMappingDocument::CreateAppUiL()
00073 // constructs CEnvMappingAppUi
00074 // ----------------------------------------------------
00075 //
00076 CEikAppUi* CEnvMappingDocument::CreateAppUiL()
00077 {
00078     return new (ELeave) CEnvMappingAppUi;
00079 }
00080 
00081 
00082 // End of File  

© Nokia 2006

Back to top