multimediacommsengine/tsrc/MCETestUI/MCETestUIEngine/inc/TMCETestUIEngineCmdEnableStream.h
changeset 0 1bce908db942
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     1 /*
       
     2 * Copyright (c) 2005 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:    See class definition below.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef __TMCETESTUIENGINECMDENABLESTREAM_H__
       
    21 #define __TMCETESTUIENGINECMDENABLESTREAM_H__
       
    22 
       
    23 // INCLUDES
       
    24 #include "TMCETestUIEngineCmdBase.h"
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class CMCETestUIEngineVideoStream;
       
    28 class CMCETestUIEngineAudioStream;
       
    29 
       
    30 // CLASS DEFINITION
       
    31 /**
       
    32  * 
       
    33  */
       
    34 class TMCETestUIEngineCmdEnableStream: public TMCETestUIEngineCmdBase
       
    35 	{
       
    36 
       
    37 	public:	// Constructors
       
    38 
       
    39 		/**
       
    40 		 * Constructor
       
    41 		 */
       
    42 		TMCETestUIEngineCmdEnableStream( 
       
    43 		            CMCETestUIEngine& aEngine,
       
    44 		            CMCETestUIEngineAudioStream& aAudioStream );
       
    45 
       
    46 	public: // Implementation for base class abstract methods
       
    47 
       
    48 		/// Executes a sequence of operations.
       
    49 		IMPORT_C void ExecuteL();
       
    50 		
       
    51 		/// Returns short textual representation for behavior of command
       
    52 		IMPORT_C const TDesC& Caption() const;
       
    53 
       
    54     private: // Data
       
    55     
       
    56         CMCETestUIEngineAudioStream& iAudioStream;
       
    57 
       
    58 	};
       
    59 
       
    60 // CLASS DEFINITION
       
    61 /**
       
    62  * 
       
    63  */
       
    64 class TMCETestUIEngineCmdEnableVideoStream: public TMCETestUIEngineCmdBase
       
    65 	{
       
    66 
       
    67 	public:	// Constructors
       
    68 
       
    69 		/**
       
    70 		 * Constructor
       
    71 		 */
       
    72 		TMCETestUIEngineCmdEnableVideoStream( 
       
    73 		            CMCETestUIEngine& aEngine,
       
    74 		            CMCETestUIEngineVideoStream& aVideoStream );
       
    75 
       
    76 	public: // Implementation for base class abstract methods
       
    77 
       
    78 		/// Executes a sequence of operations.
       
    79 		IMPORT_C void ExecuteL();
       
    80 		
       
    81 		/// Returns short textual representation for behavior of command
       
    82 		IMPORT_C const TDesC& Caption() const;
       
    83 
       
    84     private: // Data
       
    85     
       
    86         CMCETestUIEngineVideoStream& iVideoStream;
       
    87 
       
    88 	};
       
    89 
       
    90 #endif // __TMCETESTUIENGINECMDEnableStream_H__