Nokia N97 SDK
Example Applications Guide

SimpleCubePbufferApp.cpp

00001 /*
00002  * ==============================================================================
00003  *  Name        : SimpleCubePbufferApp.cpp
00004  *  Part of     : OpenGLEx / SimpleCubePbuffer
00005  *
00006  *  Copyright (c) 2004-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    <eikstart.h>
00015 #include    "SimpleCubePbufferApp.h"
00016 #include    "SimpleCubePbufferDocument.h"
00017 
00018 // ================= MEMBER FUNCTIONS =======================
00019 
00020 // ---------------------------------------------------------
00021 // CSimpleCubePbufferApp::AppDllUid()
00022 // Returns application UID
00023 // ---------------------------------------------------------
00024 //
00025 TUid CSimpleCubePbufferApp::AppDllUid() const
00026     {
00027     return KUidSimpleCubePbuffer;
00028     }
00029 
00030 
00031 // ---------------------------------------------------------
00032 // CSimpleCubePbufferApp::CreateDocumentL()
00033 // Creates CSimpleCubePbufferDocument object
00034 // ---------------------------------------------------------
00035 //
00036 CApaDocument* CSimpleCubePbufferApp::CreateDocumentL()
00037     {
00038     return CSimpleCubePbufferDocument::NewL( *this );
00039     }
00040 
00041 
00042 // ================= OTHER EXPORTED FUNCTIONS ==============
00043 
00044 
00045 CApaApplication* NewApplication()
00046     {
00047     return new CSimpleCubePbufferApp;
00048     }
00049 
00050 TInt E32Main()
00051     {
00052         return EikStart::RunApplication(NewApplication);
00053     }
00054 
00055 // End of File
00056 

© Nokia 2009

Back to top