Nokia N97 SDK
Example Applications Guide

Mipmappingdocument.cpp

00001 /*
00002  * ==============================================================================
00003  *  Name        : Mipmappingdocument.cpp
00004  *  Part of     : OpenGLEx / Mipmapping
00005  *
00006  *  Copyright (c) 2005-2006 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 // INCLUDE FILES
00014 #include "MipmappingDocument.h"
00015 #include "MipmappingAppUi.h"
00016 
00017 // ================= MEMBER FUNCTIONS =======================
00018 
00019 // ----------------------------------------------------
00020 // CMipmappingDocument::CMipmappingDocument()
00021 // Default constructor that must never leave.
00022 // ----------------------------------------------------
00023 //
00024 CMipmappingDocument::CMipmappingDocument( CEikApplication& aApp )
00025 : CAknDocument( aApp )
00026     {
00027     }
00028 
00029 // ----------------------------------------------------
00030 // CMipmappingDocument::~CMipmappingDocument()
00031 // Destructor.
00032 // ----------------------------------------------------
00033 //
00034 CMipmappingDocument::~CMipmappingDocument()
00035     {
00036     }
00037 
00038 // ----------------------------------------------------
00039 // CMipmappingDocument::ConstructL()
00040 // EPOC default constructor can leave.
00041 // ----------------------------------------------------
00042 //
00043 void CMipmappingDocument::ConstructL()
00044     {
00045     }
00046 
00047 // ----------------------------------------------------
00048 // CMipmappingDocument::NewL()
00049 // Second phase constructor.
00050 // ----------------------------------------------------
00051 //
00052 CMipmappingDocument* CMipmappingDocument::NewL( CEikApplication& aApp )
00053     {
00054     CMipmappingDocument* self = new (ELeave) CMipmappingDocument( aApp );
00055     CleanupStack::PushL( self );
00056     self->ConstructL();
00057     CleanupStack::Pop();
00058 
00059     return self;
00060     }
00061 
00062 // ----------------------------------------------------
00063 // CMipmappingDocument::CreateAppUiL()
00064 // constructs CMipmappingAppUi
00065 // ----------------------------------------------------
00066 //
00067 CEikAppUi* CMipmappingDocument::CreateAppUiL()
00068     {
00069     return new (ELeave) CMipmappingAppUi;
00070     }
00071 
00072 // End of File

© Nokia 2009

Back to top