devicediagnostics/devdiagapp/inc/devdiagappappui.h
changeset 0 3ce708148e4d
equal deleted inserted replaced
-1:000000000000 0:3ce708148e4d
       
     1 /*
       
     2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Application view UI class.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef DEVDIAGAPP_APPUI_H
       
    21 #define DEVDIAGAPP_APPUI_H
       
    22 
       
    23 #include <aknViewAppUi.h> 
       
    24 
       
    25 // Forward reference
       
    26 class CDevDiagSuiteView;
       
    27 
       
    28 /** 
       
    29 * An instance of class CDevDiagAppAppUi is the UserInterface part of the AVKON
       
    30 * application framework for the DevDiagApp application
       
    31 * @since 5.0
       
    32 **/
       
    33 class CDevDiagAppAppUi : public CAknViewAppUi
       
    34     {
       
    35 public:
       
    36 
       
    37     /**  
       
    38     * Perform the second phase construction of a CDevDiagAppAppUi object
       
    39     * this needs to be public due to the way the framework constructs the AppUi 
       
    40     **/
       
    41     void ConstructL();
       
    42 
       
    43     /**
       
    44     * Perform the first phase of two phase construction.
       
    45     * This needs to be public due to the way the framework constructs the AppUi 
       
    46     **/
       
    47     CDevDiagAppAppUi();
       
    48 
       
    49 
       
    50     /**
       
    51     * Destroy the object and release all memory objects.
       
    52     **/
       
    53     ~CDevDiagAppAppUi();
       
    54 
       
    55 public: // from CAknAppUi
       
    56 
       
    57     /**
       
    58     * Handle user menu selections.
       
    59     *
       
    60     * @param aCommand the enumerated code for the option selected.
       
    61     **/
       
    62     void HandleCommandL(TInt aCommand);
       
    63 
       
    64 private:
       
    65 
       
    66     // The application view. Own
       
    67     CDevDiagSuiteView* iSuiteView;
       
    68     };
       
    69 
       
    70 
       
    71 #endif // DEVDIAGAPP_APPUI_H
       
    72