taskswitcher/testapplications/generator/generator/common/inc/helloworldbasicappui.h
changeset 117 c63ee96dbe5f
equal deleted inserted replaced
115:3ab5c078b490 117:c63ee96dbe5f
       
     1 /*
       
     2 * ==============================================================================
       
     3 *  Name        : helloworldbasicappui.h
       
     4 *  Part of     : Helloworldbasic
       
     5 *  Interface   :
       
     6 *  Description :
       
     7 *  Version     :
       
     8 *
       
     9 *  Copyright (c) 2005-2006 Nokia Corporation.
       
    10 *  This material, including documentation and any related
       
    11 *  computer programs, is protected by copyright controlled by
       
    12 *  Nokia Corporation.
       
    13 * ==============================================================================
       
    14 */
       
    15 
       
    16 #ifndef __HELLOWORLDBASICAPPUI_H__
       
    17 #define __HELLOWORLDBASICAPPUI_H__
       
    18 
       
    19 // INCLUDES
       
    20 #include <aknappui.h>
       
    21 
       
    22 // FORWARD DECLARATIONS
       
    23 class CHelloWorldBasicAppView;
       
    24 
       
    25 
       
    26 // CLASS DECLARATION
       
    27 /**
       
    28 * CHelloWorldBasicAppUi application UI class.
       
    29 * Interacts with the user through the UI and request message processing
       
    30 * from the handler class
       
    31 */
       
    32 class CHelloWorldBasicAppUi : public CAknAppUi
       
    33     {
       
    34     public: // Constructors and destructor
       
    35 
       
    36         /**
       
    37         * ConstructL.
       
    38         * 2nd phase constructor.
       
    39         */
       
    40         void ConstructL();
       
    41 
       
    42         /**
       
    43         * CHelloWorldBasicAppUi.
       
    44         * C++ default constructor. This needs to be public due to
       
    45         * the way the framework constructs the AppUi
       
    46         */
       
    47         CHelloWorldBasicAppUi();
       
    48 
       
    49         /**
       
    50         * ~CHelloWorldBasicAppUi.
       
    51         * Virtual Destructor.
       
    52         */
       
    53         virtual ~CHelloWorldBasicAppUi();
       
    54 
       
    55     private:  // Functions from base classes
       
    56 
       
    57         /**
       
    58         * From CEikAppUi, HandleCommandL.
       
    59         * Takes care of command handling.
       
    60         * @param aCommand Command to be handled.
       
    61         */
       
    62         void HandleCommandL( TInt aCommand );
       
    63 
       
    64         /**
       
    65         * HandleResourceChangeL()
       
    66         * Called by framework when layout is changed.
       
    67         * @param aType the type of resources that have changed
       
    68         */
       
    69         void HandleResourceChangeL( TInt aType );
       
    70 
       
    71     private: // Data
       
    72 
       
    73         /**
       
    74         * The application view
       
    75         * Owned by CHelloWorldBasicAppUi
       
    76         */
       
    77         CHelloWorldBasicAppView* iAppView;
       
    78 
       
    79     };
       
    80 
       
    81 #endif // __HELLOWORLDBASICAPPUI_H__
       
    82 
       
    83 // End of File
       
    84