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