S60 3rd Edition SDK for Symbian OS
Example Applications Guide

SimpleCubePbufferDocument.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : SimpleCubePbufferDocument.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 SIMPLECUBEPBUFFERDOCUMENT_H
00017 #define SIMPLECUBEPBUFFERDOCUMENT_H
00018 
00019 // INCLUDES
00020 #include <akndoc.h>
00021    
00022 // CONSTANTS
00023 
00024 // FORWARD DECLARATIONS
00025 class  CEikAppUi;
00026 
00027 // CLASS DECLARATION
00028 
00029 /**
00030  * CSimpleCubePbufferDocument class that is just used as the container for the application
00031  * (as required by the Symbian UI application architecture).
00032  */
00033 class CSimpleCubePbufferDocument : public CAknDocument
00034     {
00035     public: // Constructors and destructor
00036 
00037         /**
00038          * Factory method for creating a new CSimpleCubePbufferDocument object.
00039          */
00040         static CSimpleCubePbufferDocument* NewL(CEikApplication& aApp);
00041 
00042         /**
00043          * Destructor. Does nothing.
00044          */
00045         virtual ~CSimpleCubePbufferDocument();
00046 
00047     private:
00048 
00049         /**
00050          * C++ constructor. Just passes the given application reference to the baseclass.
00051          */
00052       CSimpleCubePbufferDocument(CEikApplication& aApp);
00053 
00054         /**
00055          * Second phase constructor. Does nothing.
00056          */
00057         void ConstructL();
00058 
00059     private: // New functions
00060 
00061         /**
00062          * From CEikDocument, creates and returns CSimpleCubePbufferAppUi application UI object.
00063          */
00064         CEikAppUi* CreateAppUiL();
00065     };
00066 
00067 #endif
00068 
00069 // End of File
00070 

© Nokia 2006

Back to top