Nokia N97 SDK
Example Applications Guide

graphicsappui.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : graphicsappui.h
00004 *  Part of     : graphics
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 __GRAPHICSAPPUI_H__
00017 #define __GRAPHICSAPPUI_H__
00018 
00019 // INCLUDES
00020 #include <aknappui.h>
00021 
00022 // FORWARD DECLARATIONS
00023 class CGraphicsAppView;
00024 
00025 // CLASS DECLARATION
00026 
00027 /**
00028 * CGraphicsAppUi application UI class.
00029 * An instance of class CGraphicsAppUi is the UserInterface part of the AVKON
00030 * application framework for the Graphics example application
00031 */
00032 class CGraphicsAppUi : public CAknAppUi
00033     {
00034     public: // Constructors and destructor
00035 
00036         /**
00037         * ConstructL.
00038         * 2nd phase constructor.
00039         */
00040         void ConstructL();
00041 
00042         /**
00043         * CGraphicsAppUi.
00044         * C++ default constructor. This needs to be public due to
00045         * the way the framework constructs the AppUi
00046         */
00047         CGraphicsAppUi();
00048 
00049         /**
00050         * ~CGraphicsAppUi.
00051         * Virtual Destructor.
00052         */
00053         virtual ~CGraphicsAppUi();
00054 
00055 
00056     public: // Functions from base classes
00057 
00058         /**
00059         * From CEikAppUi, HandleCommandL.
00060         * Takes care of command handling.
00061         * @param aCommand Command to be handled.
00062         */
00063         void HandleCommandL( TInt aCommand );
00064 
00065     private: // Data
00066 
00067         /**
00068         * iAppView
00069         * The application view
00070         * Owned by CGraphicsAppUi object.
00071         */
00072         CGraphicsAppView* iAppView;
00073     };
00074 
00075 #endif // __GRAPHICSAPPUI_H__
00076 
00077 // End of File

© Nokia 2009

Back to top