multimediacommsengine/tsrc/MCETestUI/inc/CMCETestUIEventView.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 __CMCETESTUIEVENTVIEW_H
       
    21 #define __CMCETESTUIEVENTVIEW_H
       
    22 
       
    23 //#include <coecntrl.h>
       
    24 //#include <coeccntx.h>
       
    25 
       
    26 //#include <aknlists.h>
       
    27 #include <aknview.h>
       
    28 
       
    29 #include "CMCETestUIMainViewContainer.h"
       
    30 #include "CMCETestUIEventViewContainer.h"
       
    31 
       
    32 class CMCETestUIAppUi;
       
    33 class CMCETestUIEngine;
       
    34 class CMCETestUIEngineEvent;
       
    35 class CAknNavigationDecorator;
       
    36 
       
    37 class CMCETestUIEventView : public CAknView
       
    38     {
       
    39     
       
    40 public: // Constructors and destructor
       
    41 
       
    42 	static CMCETestUIEventView * NewL( CMCETestUIEngine& aEngine );	
       
    43 
       
    44 	~CMCETestUIEventView ();
       
    45 
       
    46     //CMCETestUIAppUi& GetAppUi();
       
    47 
       
    48 public:
       
    49 
       
    50     void EngineStateChangedL();
       
    51     
       
    52     void ChangeToMainViewL();
       
    53     
       
    54     
       
    55     
       
    56 private: // from CAknView
       
    57 
       
    58     TUid Id() const;
       
    59     void HandleCommandL( TInt aCommand );
       
    60     
       
    61     void DoActivateL(
       
    62         const TVwsViewId& aPrevViewId,
       
    63         TUid aCustomMessageId,
       
    64         const TDesC8& aCustomMessage );
       
    65         
       
    66     void DoDeactivate();
       
    67 
       
    68 private: // new functions
       
    69 
       
    70     void ConstructStatusPaneL();
       
    71 
       
    72 private: // contructors
       
    73 
       
    74 	CMCETestUIEventView ();
       
    75 	CMCETestUIEventView ( CMCETestUIEngine& aEngine );
       
    76     void ConstructL();
       
    77 
       
    78 
       
    79 private:
       
    80 	
       
    81 	//CAknDoubleStyleListBox* iListBox;
       
    82 	//CDesCArrayFlat* iMessageList;
       
    83 
       
    84     CMCETestUIEventViewContainer* iContainer;
       
    85     TUid iId;
       
    86     
       
    87     CMCETestUIEngine& iEngine;
       
    88 
       
    89     // Pointer to navigation label. Owned.
       
    90     CAknNavigationDecorator* iNaviLabel;
       
    91     
       
    92     // Pointer to shown session. Not owned.
       
    93     CMCETestUIEngineEvent* iEvent;
       
    94     
       
    95   
       
    96 
       
    97     // Navigation pane text container
       
    98    
       
    99     };
       
   100 
       
   101 
       
   102 #endif
       
   103