|
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 __TMCETESTUIENGINECMDUPDATESESSION_H__ |
|
21 #define __TMCETESTUIENGINECMDUPDATESESSION_H__ |
|
22 |
|
23 // INCLUDES |
|
24 #include "TMCETestUIEngineCmdBase.h" |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 class CMCETestUIEngineSession; |
|
28 |
|
29 // CLASS DEFINITION |
|
30 /** |
|
31 * |
|
32 */ |
|
33 class TMCETestUIEngineCmdUpdateSession: public TMCETestUIEngineCmdBase |
|
34 { |
|
35 |
|
36 public: // Constructors |
|
37 |
|
38 /** |
|
39 * Constructor. |
|
40 * |
|
41 * @param aEngine UI Engine |
|
42 */ |
|
43 TMCETestUIEngineCmdUpdateSession( |
|
44 CMCETestUIEngine& aEngine, |
|
45 CMCETestUIEngineSession& aSession ); |
|
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 IMPORT_C void DeleteCodecs(); |
|
56 |
|
57 private: // Data |
|
58 |
|
59 CMCETestUIEngineSession& iSession; |
|
60 |
|
61 |
|
62 }; |
|
63 |
|
64 // CLASS DEFINITION |
|
65 /** |
|
66 * |
|
67 */ |
|
68 class TMCETestUIEngineCmdUpdateSessionWithValues: public TMCETestUIEngineCmdBase |
|
69 { |
|
70 |
|
71 public: // Constructors |
|
72 |
|
73 /** |
|
74 * Constructor. |
|
75 * |
|
76 * @param aEngine UI Engine |
|
77 */ |
|
78 TMCETestUIEngineCmdUpdateSessionWithValues( |
|
79 CMCETestUIEngine& aEngine, |
|
80 CMCETestUIEngineSession& aSession ); |
|
81 |
|
82 public: // Implementation for base class abstract methods |
|
83 |
|
84 /// Executes a sequence of operations. |
|
85 IMPORT_C void ExecuteL(); |
|
86 |
|
87 /// Returns short textual representation for behavior of command |
|
88 IMPORT_C const TDesC& Caption() const; |
|
89 |
|
90 IMPORT_C void DeleteCodecs(); |
|
91 |
|
92 private: // Data |
|
93 |
|
94 CMCETestUIEngineSession& iSession; |
|
95 |
|
96 |
|
97 }; |
|
98 |
|
99 |
|
100 |
|
101 |
|
102 // CLASS DEFINITION |
|
103 /** |
|
104 * |
|
105 */ |
|
106 class TMCETestUIEngineCmdHoldCall: public TMCETestUIEngineCmdBase |
|
107 { |
|
108 |
|
109 public: // Constructors |
|
110 |
|
111 /** |
|
112 * Constructor. |
|
113 * |
|
114 * @param aEngine UI Engine |
|
115 */ |
|
116 TMCETestUIEngineCmdHoldCall( |
|
117 CMCETestUIEngine& aEngine, |
|
118 CMCETestUIEngineSession& aSession ); |
|
119 |
|
120 public: // Implementation for base class abstract methods |
|
121 |
|
122 /// Executes a sequence of operations. |
|
123 IMPORT_C void ExecuteL(); |
|
124 |
|
125 IMPORT_C void HandleLocalHoldingL( CMceMediaStream& aMediaStream, |
|
126 CMceMediaStream& aBoundStream ); |
|
127 IMPORT_C void DisableAudioL(); |
|
128 IMPORT_C void DisableAudioStreamL( CMceMediaStream& aAudioStream ); |
|
129 IMPORT_C void HandleLocalResumingL( CMceMediaStream& aMediaStream, CMceMediaStream& aBoundStream ); |
|
130 IMPORT_C void EnableAudioL( ); |
|
131 IMPORT_C void EnableAudioStreamL( CMceMediaStream& aAudioStream ); |
|
132 |
|
133 /// Returns short textual representation for behavior of command |
|
134 IMPORT_C const TDesC& Caption() const; |
|
135 |
|
136 |
|
137 private: // Data |
|
138 |
|
139 CMCETestUIEngineSession& iSession; |
|
140 |
|
141 |
|
142 }; |
|
143 |
|
144 #endif // __TMCETESTUIENGINECMDUPDATESESSION_H__ |