Nokia N97 SDK
Example Applications Guide

aknexpbarappui.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : aknexpbarappui.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 #ifndef __AKNEXPBARAPPUI_H__
00018 #define __AKNEXPBARAPPUI_H__
00019 
00020 
00021 // INCLUDES
00022 #include <eikapp.h>
00023 #include <eikdoc.h>
00024 #include <e32std.h>
00025 #include <coeccntx.h>
00026 #include <aknviewappui.h>
00027 
00028 
00029 // FORWARD DECLARATIONS
00030 class CAknExPbarContainer;
00031 
00032 
00033 // CLASS DECLARATION
00034 /**
00035 * Application UI class.
00036 * Provides support for the following features:
00037 * - EIKON control architecture
00038 * - view architecture
00039 * - status pane
00040 * 
00041 */
00042 class CAknExPbarAppUi : public CAknAppUi
00043     {
00044     public:  // Constructors and destructor
00045 
00046         /**
00047         * CAknExPbarAppUi
00048         * C++ default constructor.
00049         */
00050         CAknExPbarAppUi();
00051 
00052         /**
00053         * ConstructL
00054         * 2nd phase constructor.
00055         */      
00056         void ConstructL();
00057 
00058         /**
00059         * ~CAknExPbarAppUi
00060         * Virtual Destructor.
00061         */    
00062         virtual ~CAknExPbarAppUi();
00063 
00064 
00065     private:  // From CEikAppUi
00066 
00067         /**
00068         * HandleCommandL.
00069         * Takes care of command handling.
00070         * @param aCommand Command to be handled.
00071         */
00072         void HandleCommandL( TInt aCommand );
00073                                     
00074         /**
00075         * HandleResourceChangeL()
00076         * Called by framework when layout is changed.
00077         * @param aType The type of resources that have changed.
00078         */
00079         virtual void HandleResourceChangeL( TInt aType );
00080                                 
00081 
00082     private: //Data
00083         
00084         /**
00085         * iContainer, The application view
00086         * Not owned by CAknExPbarAppUi object.
00087         */        
00088         CAknExPbarContainer* iContainer;
00089 
00090     };
00091 
00092 #endif // __AKNEXPBARAPPUI_H__
00093 
00094 // End of File

© Nokia 2009

Back to top