perfmon/ui/avkon/inc/perfmon_appui.h
branchRCL_3
changeset 19 b3cee849fa46
equal deleted inserted replaced
18:48060abbbeaf 19:b3cee849fa46
       
     1 /*
       
     2 * Copyright (c) 2009 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:  
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef PERFMON_APPUI_H
       
    20 #define PERFMON_APPUI_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <eikapp.h>
       
    24 #include <eikdoc.h>
       
    25 #include <e32std.h>
       
    26 #include <coeccntx.h>
       
    27 #include <aknViewAppUi.h>
       
    28 #include <akntabgrp.h>
       
    29 #include <aknnavide.h>
       
    30 #include "perfmon_std.h"
       
    31 
       
    32 // FORWARD DECLARATIONS
       
    33 class CPerfMonModel;
       
    34 class CAknNavigationControlContainer;
       
    35 class CAknTabGroup;
       
    36 class CAknNavigationDecorator;
       
    37 
       
    38 
       
    39 // CLASS DECLARATIONS
       
    40 
       
    41 class CPerfMonAppUi : public CAknViewAppUi
       
    42     {
       
    43     public: // // Constructors and destructor
       
    44 
       
    45         void ConstructL();
       
    46 
       
    47         ~CPerfMonAppUi();
       
    48         
       
    49     public: // New functions
       
    50 
       
    51     private:
       
    52         // From MEikMenuObserver
       
    53         void DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane);
       
    54 
       
    55     private:
       
    56         void HandleForegroundEventL(TBool aForeground); 
       
    57 
       
    58         void HandleCommandL(TInt aCommand);
       
    59 
       
    60         void HandleResourceChangeL(TInt aType);
       
    61 
       
    62         virtual TKeyResponse HandleKeyEventL(
       
    63             const TKeyEvent& aKeyEvent,TEventCode aType);
       
    64 
       
    65     private: //Data
       
    66         CPerfMonModel*                  iModel;
       
    67         CAknNavigationControlContainer* iNaviPane;
       
    68         CAknTabGroup*                   iTabGroup;
       
    69         CAknNavigationDecorator*        iDecoratedTabGroup;
       
    70     };
       
    71 
       
    72 #endif
       
    73 
       
    74 // End of File