|
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 __TMCETESTUIENGINECMDDISABLESTREAM_H__ |
|
21 #define __TMCETESTUIENGINECMDDISABLESTREAM_H__ |
|
22 |
|
23 // INCLUDES |
|
24 #include "TMCETestUIEngineCmdBase.h" |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 class CMCETestUIEngineAudioStream; |
|
28 class CMCETestUIEngineVideoStream; |
|
29 |
|
30 // CLASS DEFINITION |
|
31 /** |
|
32 * |
|
33 */ |
|
34 class TMCETestUIEngineCmdDisableStream: public TMCETestUIEngineCmdBase |
|
35 { |
|
36 |
|
37 public: // Constructors |
|
38 |
|
39 /** |
|
40 * Constructor |
|
41 */ |
|
42 TMCETestUIEngineCmdDisableStream( |
|
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 // CLASS DEFINITION |
|
60 /** |
|
61 * |
|
62 */ |
|
63 class TMCETestUIEngineCmdDisableVideoStream: public TMCETestUIEngineCmdBase |
|
64 { |
|
65 |
|
66 public: // Constructors |
|
67 |
|
68 /** |
|
69 * Constructor |
|
70 */ |
|
71 TMCETestUIEngineCmdDisableVideoStream( |
|
72 CMCETestUIEngine& aEngine, |
|
73 CMCETestUIEngineVideoStream& aVideoStream ); |
|
74 |
|
75 public: // Implementation for base class abstract methods |
|
76 |
|
77 /// Executes a sequence of operations. |
|
78 IMPORT_C void ExecuteL(); |
|
79 |
|
80 /// Returns short textual representation for behavior of command |
|
81 IMPORT_C const TDesC& Caption() const; |
|
82 |
|
83 private: // Data |
|
84 |
|
85 CMCETestUIEngineVideoStream& iVideoStream; |
|
86 |
|
87 }; |
|
88 #endif // __TMCETESTUIENGINECMDDISABLESTREAM_H__ |