multimediacommsengine/tsrc/MCETestUI/inc/CMCETestUIAppView.h
changeset 0 1bce908db942
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     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 
       
    20 #ifndef __CMCETESTUIAPPVIEW_H
       
    21 #define __CMCETESTUIAPPVIEW_H
       
    22 
       
    23 #include <coecntrl.h>
       
    24 //#include <coeccntx.h>
       
    25 
       
    26 //#include <aknlists.h>
       
    27 #include <aknview.h>
       
    28 
       
    29 
       
    30 #include "CMCETestUIMainViewContainer.h"
       
    31 
       
    32 class CMCETestUIAppUi;
       
    33 class CMCETestUIEngine;
       
    34 
       
    35 class CMCETestUIAppView : public CAknView 
       
    36     {
       
    37     
       
    38 public: // Constructors and destructor
       
    39 
       
    40 	static CMCETestUIAppView* NewL( CMCETestUIEngine& aEngine );	
       
    41 
       
    42 	~CMCETestUIAppView();
       
    43 
       
    44     //CMCETestUIAppUi& GetAppUi();
       
    45 
       
    46 public:
       
    47 
       
    48     void EngineStateChangedL();
       
    49     void ChangeToSessionViewL( TInt aSessionIndex );
       
    50  
       
    51 public:
       
    52      CMCETestUIMainViewContainer* iContainer;   
       
    53     
       
    54 private: // from CAknView
       
    55 
       
    56     TUid Id() const;
       
    57     void HandleCommandL( TInt aCommand );
       
    58     
       
    59     void DoActivateL(
       
    60         const TVwsViewId& aPrevViewId,
       
    61         TUid aCustomMessageId,
       
    62         const TDesC8& aCustomMessage );
       
    63         
       
    64     void DoDeactivate();
       
    65     
       
    66 
       
    67 private: // contructors
       
    68 
       
    69 	CMCETestUIAppView();
       
    70 	CMCETestUIAppView( CMCETestUIEngine& aEngine );
       
    71     void ConstructL();
       
    72 	
       
    73 
       
    74 private:
       
    75 	
       
    76 	//CAknDoubleStyleListBox* iListBox;
       
    77 	//CDesCArrayFlat* iMessageList;
       
    78 
       
    79     
       
    80     TUid iId;
       
    81     
       
    82     CMCETestUIEngine& iEngine;
       
    83 
       
    84    
       
    85     };
       
    86 
       
    87 
       
    88 #endif
       
    89