|
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 __TMCETESTUIENGINECMDENABLEAUDIOSINK_H__ |
|
21 #define __TMCETESTUIENGINECMDENABLEAUDIOSINK_H__ |
|
22 |
|
23 // INCLUDES |
|
24 #include "TMCETestUIEngineCmdBase.h" |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 class CMCETestUIEngineSink; |
|
28 class CMCETestUIEngineVideoSink; |
|
29 |
|
30 // CLASS DEFINITION |
|
31 /** |
|
32 * |
|
33 */ |
|
34 class TMCETestUIEngineCmdEnableSink: public TMCETestUIEngineCmdBase |
|
35 { |
|
36 |
|
37 public: // Constructors |
|
38 |
|
39 /** |
|
40 * Constructor |
|
41 */ |
|
42 TMCETestUIEngineCmdEnableSink( |
|
43 CMCETestUIEngine& aEngine, |
|
44 CMCETestUIEngineSink& aAudioSink ); |
|
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 CMCETestUIEngineSink& iAudioSink; |
|
57 |
|
58 }; |
|
59 // CLASS DEFINITION |
|
60 /** |
|
61 * |
|
62 */ |
|
63 class TMCETestUIEngineCmdEnableVideoSink: public TMCETestUIEngineCmdBase |
|
64 { |
|
65 |
|
66 public: // Constructors |
|
67 |
|
68 /** |
|
69 * Constructor |
|
70 */ |
|
71 TMCETestUIEngineCmdEnableVideoSink( |
|
72 CMCETestUIEngine& aEngine, |
|
73 CMCETestUIEngineVideoSink& aAudioSink ); |
|
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 CMCETestUIEngineVideoSink& iVideoSink; |
|
86 |
|
87 }; |
|
88 // CLASS DEFINITION |
|
89 /** |
|
90 * |
|
91 */ |
|
92 class TMCETestUIEngineCmdSendSR: public TMCETestUIEngineCmdBase |
|
93 { |
|
94 |
|
95 public: // Constructors |
|
96 |
|
97 /** |
|
98 * Constructor |
|
99 */ |
|
100 TMCETestUIEngineCmdSendSR( |
|
101 CMCETestUIEngine& aEngine, |
|
102 CMCETestUIEngineSink& aAudioSink ); |
|
103 |
|
104 public: // Implementation for base class abstract methods |
|
105 |
|
106 /// Executes a sequence of operations. |
|
107 IMPORT_C void ExecuteL(); |
|
108 |
|
109 /// Returns short textual representation for behavior of command |
|
110 IMPORT_C const TDesC& Caption() const; |
|
111 |
|
112 private: // Data |
|
113 |
|
114 CMCETestUIEngineSink& iAudioSink; |
|
115 |
|
116 }; |
|
117 |
|
118 #endif // __TMCETESTUIENGINECMDEnableStream_H__ |