Nokia N97 SDK
Example Applications Guide

longtapdetectorexappui.h

00001 /**
00002  * Copyright (c) 2007 Nokia Corporation.
00003  * This material, including documentation and any related
00004  * computer programs, is protected by
00005  * copyright controlled by Nokia Corporation.
00006  */
00007 
00008 
00009 #ifndef __BUTTONEX_APPUI_H__
00010 #define __BUTTONEX_APPUI_H__
00011 
00012 // INCLUDES
00013 #include <aknappui.h>
00014 
00015 // FORWARD DECLARATIONS
00016 class CLongTapDetectorExContainer;
00017 
00018 // CLASS DECLARATION
00019 /**
00020  * CLongTapDetectorExAppUi application UI class.
00021  * Interacts with the user through the UI and request message processing
00022  * from the handler class
00023  */
00024 class CLongTapDetectorExAppUi : public CAknAppUi
00025     {
00026 public:
00027 
00028    /**
00029     * ConstructL.
00030     * 2nd phase constructor.
00031     */
00032     void ConstructL();
00033 
00034    /**
00035     * CLongTapDetectorExAppUi.
00036     * C++ default constructor. This needs to be public due to
00037     * the way the framework constructs the AppUi
00038     */
00039     CLongTapDetectorExAppUi();
00040 
00041    /**
00042     * ~CLongTapDetectorExAppUi.
00043     * Virtual Destructor.
00044     */
00045     virtual ~CLongTapDetectorExAppUi();
00046 
00047 public: // from CEikAppui
00048 
00049    /**
00050     * From CEikAppUi, HandleCommandL.
00051     * Takes care of command handling.
00052     * @param aCommand Command to be handled.
00053     */
00054     void HandleCommandL( TInt aCommand );
00055 
00056 private: // data
00057 
00058    /*
00059     * Pointer to the container
00060     * own
00061     */
00062     CLongTapDetectorExContainer* iAppContainer;
00063 
00064     /**
00065     * From CEikAppUi, HandleResourceChangeL.
00066     * Handles resource changes.
00067     * @param aType Resource change type to be handled
00068     */
00069     //void HandleResourceChangeL( TInt aType );    
00070         
00071     };
00072     
00073 #endif // __BUTTONEX_APPUI_H__
00074 

© Nokia 2009

Back to top