Nokia N97 SDK
Example Applications Guide

tactileexampleappui.h

00001 /*
00002 * ============================================================================
00003 *  Name        : tactileexampleappui.h
00004 *  Part of     : Tactile Example
00005 *  Interface   : N/A
00006 *  Description : Declares UI class for the Tactile Example
00007 *  Version     :
00008 *
00009 *  Copyright (c) 2008 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 __TACTILEEXAMPLEAPPUI_H__
00017 #define __TACTILEEXAMPLEAPPUI_H__
00018 
00019 // INCLUDES
00020 #include <aknappui.h>
00021 
00022 // FORWARD DECLARATIONS
00023 class CTactileExampleAppView;
00024 
00025 
00026 // CLASS DECLARATION
00027 /**
00028  * CTactileExampleAppUi application UI class.
00029  * Interacts with the user through the UI and request message processing
00030  * from the handler class
00031  */
00032 class CTactileExampleAppUi : public CAknAppUi
00033     {
00034 public:
00035 
00036     /**
00037      * CTactileExampleAppUi.
00038      * C++ default constructor. This needs to be public due to
00039      * the way the framework constructs the AppUi
00040      */
00041     CTactileExampleAppUi();
00042 
00043     /**
00044      * ConstructL.
00045      * 2nd phase constructor.
00046      */
00047     void ConstructL();
00048 
00049     /**
00050      * ~CTactileExampleAppUi.
00051      * Virtual Destructor.
00052      */
00053     virtual ~CTactileExampleAppUi();
00054 
00055 
00056 private:
00057 // from base class CEikAppUi
00058 
00059     /**
00060      * From CEikAppUi.
00061      * Takes care of command handling.
00062      * @param aCommand Command to be handled.
00063      */
00064     void HandleCommandL( TInt aCommand );
00065 
00066     /**
00067      * From CEikAppUi.
00068      * Called by framework when layout is changed.
00069      * @param aType the type of resources that have changed
00070      */
00071     void HandleResourceChangeL( TInt aType );
00072 
00073 
00074 private: // Data
00075 
00076     /**
00077      * The application view
00078      * Own.
00079      */
00080     CTactileExampleAppView* iAppView;
00081     };
00082 
00083 #endif // __TACTILEEXAMPLEAPPUI_H__
00084 
00085 // End of File
00086 

© Nokia 2009

Back to top