S60 3rd Edition SDK for Symbian OS
Example Applications Guide

SimpleCubePixmapDocument.cpp

00001 /*
00002 * ==============================================================================
00003 *  Name        : SimpleCubePixmapDocument.cpp
00004 *  Part of     : OpenGLEx / SimpleCubePixmap
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 "SimpleCubePixmapDocument.h"
00019 #include "SimpleCubePixmapAppUi.h"
00020 
00021 // ================= MEMBER FUNCTIONS =======================
00022 
00023 // -----------------------------------------------------------------------------
00024 // CSimpleCubePixmapDocument::CSimpleCubePixmapDocument
00025 // 
00026 // Just calls the base class constructor.
00027 // -----------------------------------------------------------------------------
00028 //
00029 CSimpleCubePixmapDocument::CSimpleCubePixmapDocument(CEikApplication& aApp)
00030 : CAknDocument(aApp)    
00031     {
00032     }
00033 
00034 // destructor
00035 CSimpleCubePixmapDocument::~CSimpleCubePixmapDocument()
00036     {
00037     }
00038 
00039 // -----------------------------------------------------------------------------
00040 // CSimpleCubePixmapDocument::ConstructL
00041 // 
00042 // Empty 2nd phase constructor.
00043 // -----------------------------------------------------------------------------
00044 //
00045 void CSimpleCubePixmapDocument::ConstructL()
00046     {
00047     }
00048 
00049 // -----------------------------------------------------------------------------
00050 // CSimpleCubeDocument::NewL
00051 // 
00052 // -----------------------------------------------------------------------------
00053 //
00054 CSimpleCubePixmapDocument* CSimpleCubePixmapDocument::NewL(
00055         CEikApplication& aApp)     // CSimpleCubePixmapApp reference
00056     {
00057     CSimpleCubePixmapDocument* self = new (ELeave) CSimpleCubePixmapDocument( aApp );
00058     CleanupStack::PushL( self );
00059     self->ConstructL();
00060     CleanupStack::Pop();
00061 
00062     return self;
00063     }
00064     
00065 // ----------------------------------------------------
00066 // CSimpleCubePixmapDocument::CreateAppUiL()
00067 // Constructs and returns a CSimpleCubePixmapAppUi object.
00068 // ----------------------------------------------------
00069 //
00070 CEikAppUi* CSimpleCubePixmapDocument::CreateAppUiL()
00071     {
00072     return new (ELeave) CSimpleCubePixmapAppUi;
00073     }
00074 
00075 // End of File  

© Nokia 2006

Back to top