|
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 __TMCETESTUIENGINECMDDELETEAUDIOCODEC_H__ |
|
21 #define __TMCETESTUIENGINECMDDELETEAUDIOCODEC_H__ |
|
22 |
|
23 // INCLUDES |
|
24 #include "TMCETestUIEngineCmdBase.h" |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 class CMCETestUIEngineAudioStream; |
|
28 |
|
29 // CLASS DEFINITION |
|
30 /** |
|
31 * |
|
32 */ |
|
33 |
|
34 class TMCETestUIEngineCmdDeleteAudioCodec: public TMCETestUIEngineCmdBase |
|
35 { |
|
36 |
|
37 public: // Constructors |
|
38 |
|
39 /** |
|
40 * Constructor. |
|
41 * |
|
42 * @param aEngine UI Engine |
|
43 */ |
|
44 TMCETestUIEngineCmdDeleteAudioCodec( |
|
45 CMCETestUIEngine& aEngine, |
|
46 CMCETestUIEngineCodec& aCodec ); |
|
47 |
|
48 public: // Implementation for base class abstract methods |
|
49 |
|
50 /// Executes a sequence of operations. |
|
51 IMPORT_C void ExecuteL(); |
|
52 |
|
53 /// Returns short textual representation for behavior of command |
|
54 IMPORT_C const TDesC& Caption() const; |
|
55 |
|
56 private: // Data |
|
57 |
|
58 CMCETestUIEngineCodec& iCodec; |
|
59 |
|
60 }; |
|
61 |
|
62 // CLASS DEFINITION |
|
63 /** |
|
64 * |
|
65 */ |
|
66 class TMCETestUIEngineCmdDeleteVideoCodec: public TMCETestUIEngineCmdBase |
|
67 { |
|
68 |
|
69 public: // Constructors |
|
70 |
|
71 /** |
|
72 * Constructor. |
|
73 * |
|
74 * @param aEngine UI Engine |
|
75 */ |
|
76 TMCETestUIEngineCmdDeleteVideoCodec( |
|
77 CMCETestUIEngine& aEngine, |
|
78 CMCETestUIEngineVideoCodec& aCodec ); |
|
79 |
|
80 public: // Implementation for base class abstract methods |
|
81 |
|
82 /// Executes a sequence of operations. |
|
83 IMPORT_C void ExecuteL(); |
|
84 |
|
85 /// Returns short textual representation for behavior of command |
|
86 IMPORT_C const TDesC& Caption() const; |
|
87 |
|
88 private: // Data |
|
89 |
|
90 CMCETestUIEngineVideoCodec& iCodec; |
|
91 |
|
92 }; |
|
93 // CLASS DEFINITION |
|
94 /** |
|
95 * |
|
96 */ |
|
97 class TMCETestUIEngineCmdAddCodec: public TMCETestUIEngineCmdBase |
|
98 { |
|
99 |
|
100 public: // Constructors |
|
101 |
|
102 /** |
|
103 * Constructor. |
|
104 * |
|
105 * @param aEngine UI Engine |
|
106 */ |
|
107 TMCETestUIEngineCmdAddCodec( |
|
108 CMCETestUIEngine& aEngine, |
|
109 CMCETestUIEngineAudioStream& aStream ); |
|
110 |
|
111 public: // Implementation for base class abstract methods |
|
112 |
|
113 /// Executes a sequence of operations. |
|
114 IMPORT_C void ExecuteL(); |
|
115 |
|
116 /// Returns short textual representation for behavior of command |
|
117 IMPORT_C const TDesC& Caption() const; |
|
118 |
|
119 private: // Data |
|
120 |
|
121 CMCETestUIEngineAudioStream& iAudioStream; |
|
122 |
|
123 }; |
|
124 |
|
125 // CLASS DEFINITION |
|
126 /** |
|
127 * |
|
128 */ |
|
129 class TMCETestUIEngineCmdEnableAudioCodec: public TMCETestUIEngineCmdBase |
|
130 { |
|
131 |
|
132 public: // Constructors |
|
133 |
|
134 /** |
|
135 * Constructor. |
|
136 * |
|
137 * @param aEngine UI Engine |
|
138 */ |
|
139 TMCETestUIEngineCmdEnableAudioCodec( |
|
140 CMCETestUIEngine& aEngine, |
|
141 CMCETestUIEngineCodec& aCodec ); |
|
142 |
|
143 public: // Implementation for base class abstract methods |
|
144 |
|
145 /// Executes a sequence of operations. |
|
146 IMPORT_C void ExecuteL(); |
|
147 |
|
148 /// Returns short textual representation for behavior of command |
|
149 IMPORT_C const TDesC& Caption() const; |
|
150 |
|
151 private: // Data |
|
152 |
|
153 CMCETestUIEngineCodec& iCodec; |
|
154 |
|
155 }; |
|
156 |
|
157 // CLASS DEFINITION |
|
158 /** |
|
159 * |
|
160 */ |
|
161 class TMCETestUIEngineCmdDisableAudioCodec: public TMCETestUIEngineCmdBase |
|
162 { |
|
163 |
|
164 public: // Constructors |
|
165 |
|
166 /** |
|
167 * Constructor. |
|
168 * |
|
169 * @param aEngine UI Engine |
|
170 */ |
|
171 TMCETestUIEngineCmdDisableAudioCodec( |
|
172 CMCETestUIEngine& aEngine, |
|
173 CMCETestUIEngineCodec& aCodec ); |
|
174 |
|
175 public: // Implementation for base class abstract methods |
|
176 |
|
177 /// Executes a sequence of operations. |
|
178 IMPORT_C void ExecuteL(); |
|
179 |
|
180 /// Returns short textual representation for behavior of command |
|
181 IMPORT_C const TDesC& Caption() const; |
|
182 |
|
183 private: // Data |
|
184 |
|
185 CMCETestUIEngineCodec& iCodec; |
|
186 |
|
187 }; |
|
188 // CLASS DEFINITION |
|
189 /** |
|
190 * |
|
191 */ |
|
192 class TMCETestUIEngineCmdStandByAudioCodec: public TMCETestUIEngineCmdBase |
|
193 { |
|
194 |
|
195 public: // Constructors |
|
196 |
|
197 /** |
|
198 * Constructor. |
|
199 * |
|
200 * @param aEngine UI Engine |
|
201 */ |
|
202 TMCETestUIEngineCmdStandByAudioCodec( |
|
203 CMCETestUIEngine& aEngine, |
|
204 CMCETestUIEngineCodec& aCodec ); |
|
205 |
|
206 public: // Implementation for base class abstract methods |
|
207 |
|
208 /// Executes a sequence of operations. |
|
209 IMPORT_C void ExecuteL(); |
|
210 |
|
211 /// Returns short textual representation for behavior of command |
|
212 IMPORT_C const TDesC& Caption() const; |
|
213 |
|
214 private: // Data |
|
215 |
|
216 CMCETestUIEngineCodec& iCodec; |
|
217 |
|
218 }; |
|
219 |
|
220 |
|
221 // CLASS DEFINITION |
|
222 /** |
|
223 * |
|
224 */ |
|
225 class TMCETestUIEngineCmdEnableVideoCodec: public TMCETestUIEngineCmdBase |
|
226 { |
|
227 |
|
228 public: // Constructors |
|
229 |
|
230 /** |
|
231 * Constructor. |
|
232 * |
|
233 * @param aEngine UI Engine |
|
234 */ |
|
235 TMCETestUIEngineCmdEnableVideoCodec( |
|
236 CMCETestUIEngine& aEngine, |
|
237 CMCETestUIEngineVideoCodec& aCodec ); |
|
238 |
|
239 public: // Implementation for base class abstract methods |
|
240 |
|
241 /// Executes a sequence of operations. |
|
242 IMPORT_C void ExecuteL(); |
|
243 |
|
244 /// Returns short textual representation for behavior of command |
|
245 IMPORT_C const TDesC& Caption() const; |
|
246 |
|
247 private: // Data |
|
248 |
|
249 CMCETestUIEngineVideoCodec& iCodec; |
|
250 |
|
251 }; |
|
252 |
|
253 // CLASS DEFINITION |
|
254 /** |
|
255 * |
|
256 */ |
|
257 class TMCETestUIEngineCmdDisableVideoCodec: public TMCETestUIEngineCmdBase |
|
258 { |
|
259 |
|
260 public: // Constructors |
|
261 |
|
262 /** |
|
263 * Constructor. |
|
264 * |
|
265 * @param aEngine UI Engine |
|
266 */ |
|
267 TMCETestUIEngineCmdDisableVideoCodec( |
|
268 CMCETestUIEngine& aEngine, |
|
269 CMCETestUIEngineVideoCodec& aCodec ); |
|
270 |
|
271 public: // Implementation for base class abstract methods |
|
272 |
|
273 /// Executes a sequence of operations. |
|
274 IMPORT_C void ExecuteL(); |
|
275 |
|
276 /// Returns short textual representation for behavior of command |
|
277 IMPORT_C const TDesC& Caption() const; |
|
278 |
|
279 private: // Data |
|
280 |
|
281 CMCETestUIEngineVideoCodec& iCodec; |
|
282 |
|
283 }; |
|
284 // CLASS DEFINITION |
|
285 /** |
|
286 * |
|
287 */ |
|
288 class TMCETestUIEngineCmdStandByVideoCodec: public TMCETestUIEngineCmdBase |
|
289 { |
|
290 |
|
291 public: // Constructors |
|
292 |
|
293 /** |
|
294 * Constructor. |
|
295 * |
|
296 * @param aEngine UI Engine |
|
297 */ |
|
298 TMCETestUIEngineCmdStandByVideoCodec( |
|
299 CMCETestUIEngine& aEngine, |
|
300 CMCETestUIEngineVideoCodec& aCodec ); |
|
301 |
|
302 public: // Implementation for base class abstract methods |
|
303 |
|
304 /// Executes a sequence of operations. |
|
305 IMPORT_C void ExecuteL(); |
|
306 |
|
307 /// Returns short textual representation for behavior of command |
|
308 IMPORT_C const TDesC& Caption() const; |
|
309 |
|
310 private: // Data |
|
311 |
|
312 CMCETestUIEngineVideoCodec& iCodec; |
|
313 |
|
314 }; |
|
315 |
|
316 #endif // __TMCETESTUIENGINECMDDELETESESSION_H__ |