perfmon/inc/perfmon_graphsview.h
branchRCL_3
changeset 19 b3cee849fa46
parent 18 48060abbbeaf
child 20 fad26422216a
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_GRAPHSVIEW_H
       
    20 #define PERFMON_GRAPHSVIEW_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <aknview.h>
       
    24 
       
    25 #include "perfmon_std.h"
       
    26 
       
    27 
       
    28 
       
    29 // CONSTANTS
       
    30 // UID of view
       
    31 const TUid KGraphsViewUID = {2};
       
    32 
       
    33 
       
    34 // FORWARD DECLARATIONS
       
    35 class CPerfMonGraphsContainer;
       
    36 class CPerfMonModel;
       
    37 
       
    38 
       
    39 // CLASS DECLARATION
       
    40 
       
    41 /**
       
    42 *  CPerfMonGraphsView view class.
       
    43 * 
       
    44 */
       
    45 class CPerfMonGraphsView : public CAknView
       
    46     {
       
    47     public: // Constructors and destructor
       
    48         void ConstructL();
       
    49         ~CPerfMonGraphsView();
       
    50 
       
    51     public: // Functions from base classes
       
    52         TUid Id() const;
       
    53         void HandleCommandL(TInt aCommand);
       
    54         void HandleClientRectChange();
       
    55 
       
    56     private: // From MEikMenuObserver
       
    57         void DynInitMenuPaneL(TInt aResourceId, CEikMenuPane* aMenuPane);
       
    58 
       
    59     private: // From AknView
       
    60         void DoActivateL(const TVwsViewId& aPrevViewId, TUid aCustomMessageId, const TDesC8& aCustomMessage);
       
    61         void DoDeactivate();
       
    62 
       
    63     private: // Data
       
    64         CPerfMonGraphsContainer*        iContainer;
       
    65         CPerfMonModel*                  iModel;
       
    66     };
       
    67 
       
    68 #endif
       
    69 
       
    70 // End of File