Nokia N97 SDK
Example Applications Guide

SimpleCubePbufferDocument.h

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

© Nokia 2009

Back to top