1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- /*
- ============================================================================
- Name : CelestialSphereDocument.h
- Author : Den Grigorenko
- Copyright : Copyright (c) 2008 Den123
- Description : Declares document class for application.
- ============================================================================
- */
- #ifndef __CELESTIALSPHEREDOCUMENT_h__
- #define __CELESTIALSPHEREDOCUMENT_h__
- // INCLUDES
- #include <akndoc.h>
- // FORWARD DECLARATIONS
- class CCelestialSphereAppUi;
- class CEikApplication;
- // CLASS DECLARATION
- /**
- * CCelestialSphereDocument application class.
- * An instance of class CCelestialSphereDocument is the Document part of the
- * AVKON application framework for the CelestialSphere example application.
- */
- class CCelestialSphereDocument : public CAknDocument
- {
- public:
- // Constructors and destructor
- /**
- * NewL.
- * Two-phased constructor.
- * Construct a CCelestialSphereDocument for the AVKON application aApp
- * using two phase construction, and return a pointer
- * to the created object.
- * @param aApp Application creating this document.
- * @return A pointer to the created instance of CCelestialSphereDocument.
- */
- static CCelestialSphereDocument* NewL(CEikApplication& aApp);
- /**
- * NewLC.
- * Two-phased constructor.
- * Construct a CCelestialSphereDocument for the AVKON application aApp
- * using two phase construction, and return a pointer
- * to the created object.
- * @param aApp Application creating this document.
- * @return A pointer to the created instance of CCelestialSphereDocument.
- */
- static CCelestialSphereDocument* NewLC(CEikApplication& aApp);
- /**
- * ~CCelestialSphereDocument
- * Virtual Destructor.
- */
- virtual ~CCelestialSphereDocument();
- public:
- // Functions from base classes
- /**
- * CreateAppUiL
- * From CEikDocument, CreateAppUiL.
- * Create a CCelestialSphereAppUi object and return a pointer to it.
- * The object returned is owned by the Uikon framework.
- * @return Pointer to created instance of AppUi.
- */
- CEikAppUi* CreateAppUiL();
- private:
- // Constructors
- /**
- * ConstructL
- * 2nd phase constructor.
- */
- void ConstructL();
- /**
- * CCelestialSphereDocument.
- * C++ default constructor.
- * @param aApp Application creating this document.
- */
- CCelestialSphereDocument(CEikApplication& aApp);
- };
- #endif // __CELESTIALSPHEREDOCUMENT_h__
- // End of File
|