loadgen/inc/loadgen_mainview.h
changeset 0 d6fe6244b863
equal deleted inserted replaced
-1:000000000000 0:d6fe6244b863
       
     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 LOADGEN_VALUESVIEW_H
       
    20 #define LOADGEN_VALUESVIEW_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <aknview.h>
       
    24 
       
    25 #include "loadgen_std.h"
       
    26 
       
    27 
       
    28 
       
    29 // CONSTANTS
       
    30 // UID of view
       
    31 const TUid KMainViewUID = {1};
       
    32 
       
    33 
       
    34 // FORWARD DECLARATIONS
       
    35 class CLoadGenMainContainer;
       
    36 class CLoadGenModel;
       
    37 
       
    38 
       
    39 // CLASS DECLARATION
       
    40 
       
    41 /**
       
    42 *  CLoadGenMainView view class.
       
    43 * 
       
    44 */
       
    45 class CLoadGenMainView : public CAknView
       
    46     {
       
    47     public: // Constructors and destructor
       
    48         void ConstructL();
       
    49         ~CLoadGenMainView();
       
    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         CLoadGenMainContainer*        iContainer;
       
    65         CLoadGenModel*                  iModel;
       
    66     };
       
    67 
       
    68 #endif
       
    69 
       
    70 // End of File