Nokia N97 SDK
Example Applications Guide

aknexpbardocument.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : aknexpbardocument.h
00004 *  Part of     : ProgressBar
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 
00017 
00018 #ifndef __AKNEXPBARDOCUMENT_H__
00019 #define __AKNEXPBARDOCUMENT_H__
00020 
00021 
00022 // INCLUDES
00023 #include <eikdoc.h>
00024 
00025 
00026 // FORWARD DECLARATIONS
00027 class  CEikAppUi;
00028 class  CAknExPbarAppUi;
00029 
00030 
00031 // CLASS DECLARATION
00032 /**
00033 *  CAknExPbarDocument document class.
00034 */
00035 class CAknExPbarDocument : public CEikDocument
00036     {
00037     public: // Constructors and destructor
00038        
00039         /**
00040         * NewL
00041         * Two-phased constructor.
00042         * Construct a CAknExPbarDocument for the AVKON application aApp.
00043         * Using two phase construction, and return a pointer 
00044         * to the created object.
00045         * @param aApp Application creating this document.
00046         * @return A pointer to the created instance of CAknExPbarDocument.
00047         */
00048         static CAknExPbarDocument* NewL( CEikApplication& aApp );
00049 
00050         /**
00051         * NewLC
00052         * Two-phased constructor.
00053         * Construct a CAknExPbarDocument for the AVKON application aApp.
00054         * Using two phase construction, and return a pointer 
00055         * to the created object.
00056         * @param aApp Application creating this document.
00057         * @return A pointer to the created instance of CAknExPbarDocument.
00058         */
00059         static CAknExPbarDocument* NewLC( CEikApplication& aApp );
00060 
00061         /**
00062         * ~CAknExPbarDocument
00063         * Virtual Destructor.
00064         */
00065         virtual ~CAknExPbarDocument();
00066 
00067 
00068     private: // Constructors
00069        
00070         /**
00071         * CAknExPbarDocument.
00072         * C++ default constructor.
00073         * @param aApp Reference to Application class object
00074         */
00075         CAknExPbarDocument( CEikApplication& aApp );
00076 
00077         /**
00078         * ConstructL
00079         * 2nd phase constructor.
00080         */
00081         void ConstructL();
00082 
00083 
00084     private:  // From CEikDocument
00085         
00086         /**
00087         * CreateAppUiL
00088         * From CEikDocument, CreateAppUiL.
00089         * Create a CAknExPbarAppUi object and return a pointer to it.
00090         * The object returned is owned by the Uikon framework.
00091         * @return Pointer to created instance of AppUi.
00092         */
00093         CEikAppUi* CreateAppUiL();
00094 
00095     };
00096 
00097 #endif // __AKNEXPBARDOCUMENT_H__
00098 
00099 // End of File
00100 

© Nokia 2009

Back to top