|
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 __TMCETESTUIENGINECMDDISABLEAUDIOSOURCE_H__ |
|
21 #define __TMCETESTUIENGINECMDDISABLEAUDIOSOURCE_H__ |
|
22 |
|
23 // INCLUDES |
|
24 #include "TMCETestUIEngineCmdBase.h" |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 class CMCETestUIEngineAudioSource; |
|
28 class CMCETestUIEngineVideoSource; |
|
29 class CMCETestUIEngineSource; |
|
30 |
|
31 // CLASS DEFINITION |
|
32 /** |
|
33 * |
|
34 */ |
|
35 class TMCETestUIEngineCmdDisableSource: public TMCETestUIEngineCmdBase |
|
36 { |
|
37 |
|
38 public: // Constructors |
|
39 |
|
40 /** |
|
41 * Constructor |
|
42 */ |
|
43 TMCETestUIEngineCmdDisableSource( |
|
44 CMCETestUIEngine& aEngine, |
|
45 CMCETestUIEngineSource& aAudioSource ); |
|
46 |
|
47 public: // Implementation for base class abstract methods |
|
48 |
|
49 /// Executes a sequence of operations. |
|
50 IMPORT_C void ExecuteL(); |
|
51 |
|
52 /// Returns short textual representation for behavior of command |
|
53 IMPORT_C const TDesC& Caption() const; |
|
54 |
|
55 private: // Data |
|
56 |
|
57 CMCETestUIEngineSource& iAudioSource; |
|
58 |
|
59 }; |
|
60 // CLASS DEFINITION |
|
61 /** |
|
62 * |
|
63 */ |
|
64 class TMCETestUIEngineCmdDisableVideoSource: public TMCETestUIEngineCmdBase |
|
65 { |
|
66 |
|
67 public: // Constructors |
|
68 |
|
69 /** |
|
70 * Constructor |
|
71 */ |
|
72 TMCETestUIEngineCmdDisableVideoSource( |
|
73 CMCETestUIEngine& aEngine, |
|
74 CMCETestUIEngineVideoSource& aVideoSource ); |
|
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 CMCETestUIEngineVideoSource& iVideoSource; |
|
87 |
|
88 }; |
|
89 #endif // __TMCETESTUIENGINECMDDISABLESTREAM_H__ |