S60 3rd Edition SDK for Symbian OS
Example Applications Guide

SimpleCubePbufferApp.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : SimpleCubePbufferApp.h
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 #ifndef SIMPLECUBEPBUFFERAPP_H
00017 #define SIMPLECUBEPBUFFERAPP_H
00018 
00019 // INCLUDES
00020 #include <aknapp.h>
00021 
00022 // CONSTANTS
00023 /** UID of the application. */
00024 const TUid KUidSimpleCubePbuffer = { 0xA000021B };
00025 
00026 // CLASS DECLARATION
00027 
00028 /**
00029  * CSimpleCubePbufferApp application class. Provides factory method to create a concrete document object.
00030  */
00031 class CSimpleCubePbufferApp : public CAknApplication
00032     {
00033     
00034     public: // Functions from base classes
00035     private:
00036 
00037         /**
00038          * From CApaApplication, creates and returns CSimpleCubePbufferDocument document object.
00039          * @return Pointer to the created document object.
00040          */
00041         CApaDocument* CreateDocumentL();
00042         
00043         /**
00044          * From CApaApplication, returns application's UID (KUidSimpleCubePbuffer).
00045          * @return Value of KUidSimpleCube.
00046          */
00047         TUid AppDllUid() const;
00048     };
00049 
00050 
00051 // ================= OTHER EXPORTED FUNCTIONS ==============
00052 
00053 
00054     /**
00055      * Factory method used by the E32Main method to create a new application instance.
00056      */
00057     LOCAL_C CApaApplication* NewApplication();
00058 
00059     /**
00060      * Entry point to the EXE application. Creates new application instance and
00061      * runs it by giving it as parameter to EikStart::RunApplication() method.
00062      */
00063     GLDEF_C TInt E32Main();
00064 
00065 #endif
00066 
00067 // End of File
00068 

© Nokia 2006

Back to top