graphicstest/uibench/s60/testlauncher/inc/testlauncherappui.h
changeset 0 5d03bc08d59c
equal deleted inserted replaced
-1:000000000000 0:5d03bc08d59c
       
     1  // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2  // All rights reserved.
       
     3  // This component and the accompanying materials are made available
       
     4  // under the terms of "Eclipse Public License v1.0"
       
     5  // which accompanies this distribution, and is available
       
     6  // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7  //
       
     8  // Initial Contributors:
       
     9  // Nokia Corporation - initial contribution.
       
    10  //
       
    11  // Contributors:
       
    12  //
       
    13  // Description:
       
    14  //
       
    15 
       
    16 #ifndef __HELLOWORLDBASICAPPUI_H__
       
    17 #define __HELLOWORLDBASICAPPUI_H__
       
    18 
       
    19 
       
    20 #include <aknappui.h>
       
    21 
       
    22 
       
    23 class CHelloWorldBasicAppView;
       
    24 class CFileListContainer;
       
    25 
       
    26 
       
    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:
       
    35         void ConstructL();
       
    36         CHelloWorldBasicAppUi();
       
    37         virtual ~CHelloWorldBasicAppUi();
       
    38 
       
    39     private:
       
    40         /**
       
    41         * From CEikAppUi
       
    42         * Takes care of command handling.
       
    43         * @param aCommand Command to be handled.
       
    44         */
       
    45         void HandleCommandL(TInt aCommand);
       
    46 
       
    47         /**
       
    48         *  Called by the framework when the application status pane
       
    49  		*  size is changed.
       
    50         */
       
    51 		void HandleStatusPaneSizeChange();
       
    52 		
       
    53         /**
       
    54         * From CEikAppUi, handles key events.
       
    55         * @param aKeyEvent Event to handled.
       
    56         * @param aType Type of the key event.
       
    57         * @return Response code (EKeyWasConsumed, EKeyWasNotConsumed).
       
    58         */
       
    59         virtual TKeyResponse HandleKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
       
    60 
       
    61     private:
       
    62         CHelloWorldBasicAppView* iAppView;
       
    63         CFileListContainer* iAppContainer;
       
    64     };
       
    65 
       
    66 #endif // __HELLOWORLDBASICAPPUI_H__