williamr@2
|
1 |
// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
|
williamr@2
|
2 |
// All rights reserved.
|
williamr@2
|
3 |
// This component and the accompanying materials are made available
|
williamr@2
|
4 |
// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
|
williamr@2
|
5 |
// which accompanies this distribution, and is available
|
williamr@2
|
6 |
// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
|
williamr@2
|
7 |
//
|
williamr@2
|
8 |
// Initial Contributors:
|
williamr@2
|
9 |
// Nokia Corporation - initial contribution.
|
williamr@2
|
10 |
//
|
williamr@2
|
11 |
// Contributors:
|
williamr@2
|
12 |
//
|
williamr@2
|
13 |
// Description:
|
williamr@2
|
14 |
//
|
williamr@2
|
15 |
|
williamr@2
|
16 |
|
williamr@2
|
17 |
|
williamr@2
|
18 |
/**
|
williamr@2
|
19 |
@file
|
williamr@2
|
20 |
@publishedAll
|
williamr@2
|
21 |
@released
|
williamr@2
|
22 |
*/
|
williamr@2
|
23 |
|
williamr@2
|
24 |
#ifndef REMCONCOREAPICONTROLLER_H
|
williamr@2
|
25 |
#define REMCONCOREAPICONTROLLER_H
|
williamr@2
|
26 |
|
williamr@2
|
27 |
#include <e32base.h>
|
williamr@2
|
28 |
#include <remcon/remconinterfacebase.h>
|
williamr@2
|
29 |
#include <remconcoreapi.h>
|
williamr@2
|
30 |
#include <remcon/remconinterfaceif.h>
|
williamr@2
|
31 |
|
williamr@2
|
32 |
class MRemConCoreApiControllerObserver;
|
williamr@2
|
33 |
class CRemConInterfaceSelector;
|
williamr@2
|
34 |
|
williamr@2
|
35 |
/**
|
williamr@2
|
36 |
Client-instantiable type supporting sending Core API commands.
|
williamr@2
|
37 |
*/
|
williamr@2
|
38 |
NONSHARABLE_CLASS(CRemConCoreApiController) : public CRemConInterfaceBase,
|
williamr@2
|
39 |
public MRemConInterfaceIf
|
williamr@2
|
40 |
{
|
williamr@2
|
41 |
public:
|
williamr@2
|
42 |
/**
|
williamr@2
|
43 |
Factory function.
|
williamr@2
|
44 |
@param aInterfaceSelector The interface selector. The client must have
|
williamr@2
|
45 |
created one of these first.
|
williamr@2
|
46 |
@param aObserver The observer of this interface.
|
williamr@2
|
47 |
@return A new CRemConCoreApiController, owned by the interface selector.
|
williamr@2
|
48 |
*/
|
williamr@2
|
49 |
IMPORT_C static CRemConCoreApiController* NewL(CRemConInterfaceSelector& aInterfaceSelector,
|
williamr@2
|
50 |
MRemConCoreApiControllerObserver& aObserver);
|
williamr@2
|
51 |
|
williamr@2
|
52 |
/** Destructor */
|
williamr@2
|
53 |
IMPORT_C ~CRemConCoreApiController();
|
williamr@2
|
54 |
|
williamr@2
|
55 |
public:
|
williamr@2
|
56 |
/** Send a 'select' command.
|
williamr@2
|
57 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
58 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
59 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
60 |
command was sent to.
|
williamr@2
|
61 |
@param aButtonAct The button action to send.
|
williamr@2
|
62 |
*/
|
williamr@2
|
63 |
IMPORT_C void Select(TRequestStatus& aStatus,
|
williamr@2
|
64 |
TUint& aNumRemotes,
|
williamr@2
|
65 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
66 |
|
williamr@2
|
67 |
/** Send an 'up' command.
|
williamr@2
|
68 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
69 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
70 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
71 |
command was sent to.
|
williamr@2
|
72 |
@param aButtonAct The button action to send.
|
williamr@2
|
73 |
*/
|
williamr@2
|
74 |
IMPORT_C void Up(TRequestStatus& aStatus,
|
williamr@2
|
75 |
TUint& aNumRemotes,
|
williamr@2
|
76 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
77 |
|
williamr@2
|
78 |
/** Send a 'down' command.
|
williamr@2
|
79 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
80 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
81 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
82 |
command was sent to.
|
williamr@2
|
83 |
@param aButtonAct The button action to send.
|
williamr@2
|
84 |
*/
|
williamr@2
|
85 |
IMPORT_C void Down(TRequestStatus& aStatus,
|
williamr@2
|
86 |
TUint& aNumRemotes,
|
williamr@2
|
87 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
88 |
|
williamr@2
|
89 |
/** Send a 'left' command.
|
williamr@2
|
90 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
91 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
92 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
93 |
command was sent to.
|
williamr@2
|
94 |
@param aButtonAct The button action to send.
|
williamr@2
|
95 |
*/
|
williamr@2
|
96 |
IMPORT_C void Left(TRequestStatus& aStatus,
|
williamr@2
|
97 |
TUint& aNumRemotes,
|
williamr@2
|
98 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
99 |
|
williamr@2
|
100 |
/** Send a 'right' command.
|
williamr@2
|
101 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
102 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
103 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
104 |
command was sent to.
|
williamr@2
|
105 |
@param aButtonAct The button action to send.
|
williamr@2
|
106 |
*/
|
williamr@2
|
107 |
IMPORT_C void Right(TRequestStatus& aStatus,
|
williamr@2
|
108 |
TUint& aNumRemotes,
|
williamr@2
|
109 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
110 |
|
williamr@2
|
111 |
/** Send a 'right up' command.
|
williamr@2
|
112 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
113 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
114 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
115 |
command was sent to.
|
williamr@2
|
116 |
@param aButtonAct The button action to send.
|
williamr@2
|
117 |
*/
|
williamr@2
|
118 |
IMPORT_C void RightUp(TRequestStatus& aStatus,
|
williamr@2
|
119 |
TUint& aNumRemotes,
|
williamr@2
|
120 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
121 |
|
williamr@2
|
122 |
/** Send a 'right down' command.
|
williamr@2
|
123 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
124 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
125 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
126 |
command was sent to.
|
williamr@2
|
127 |
@param aButtonAct The button action to send.
|
williamr@2
|
128 |
*/
|
williamr@2
|
129 |
IMPORT_C void RightDown(TRequestStatus& aStatus,
|
williamr@2
|
130 |
TUint& aNumRemotes,
|
williamr@2
|
131 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
132 |
|
williamr@2
|
133 |
/** Send a 'left up' command.
|
williamr@2
|
134 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
135 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
136 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
137 |
command was sent to.
|
williamr@2
|
138 |
@param aButtonAct The button action to send.
|
williamr@2
|
139 |
*/
|
williamr@2
|
140 |
IMPORT_C void LeftUp(TRequestStatus& aStatus,
|
williamr@2
|
141 |
TUint& aNumRemotes,
|
williamr@2
|
142 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
143 |
|
williamr@2
|
144 |
/** Send a 'left down' command.
|
williamr@2
|
145 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
146 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
147 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
148 |
command was sent to.
|
williamr@2
|
149 |
@param aButtonAct The button action to send.
|
williamr@2
|
150 |
*/
|
williamr@2
|
151 |
IMPORT_C void LeftDown(TRequestStatus& aStatus,
|
williamr@2
|
152 |
TUint& aNumRemotes,
|
williamr@2
|
153 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
154 |
|
williamr@2
|
155 |
/** Send a 'root menu' command.
|
williamr@2
|
156 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
157 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
158 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
159 |
command was sent to.
|
williamr@2
|
160 |
@param aButtonAct The button action to send.
|
williamr@2
|
161 |
*/
|
williamr@2
|
162 |
IMPORT_C void RootMenu(TRequestStatus& aStatus,
|
williamr@2
|
163 |
TUint& aNumRemotes,
|
williamr@2
|
164 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
165 |
|
williamr@2
|
166 |
/** Send a 'setup menu' command.
|
williamr@2
|
167 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
168 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
169 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
170 |
command was sent to.
|
williamr@2
|
171 |
@param aButtonAct The button action to send.
|
williamr@2
|
172 |
*/
|
williamr@2
|
173 |
IMPORT_C void SetupMenu(TRequestStatus& aStatus,
|
williamr@2
|
174 |
TUint& aNumRemotes,
|
williamr@2
|
175 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
176 |
|
williamr@2
|
177 |
/** Send a 'contents menu' command.
|
williamr@2
|
178 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
179 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
180 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
181 |
command was sent to.
|
williamr@2
|
182 |
@param aButtonAct The button action to send.
|
williamr@2
|
183 |
*/
|
williamr@2
|
184 |
IMPORT_C void ContentsMenu(TRequestStatus& aStatus,
|
williamr@2
|
185 |
TUint& aNumRemotes,
|
williamr@2
|
186 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
187 |
|
williamr@2
|
188 |
/** Send a 'favorite menu' command.
|
williamr@2
|
189 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
190 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
191 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
192 |
command was sent to.
|
williamr@2
|
193 |
@param aButtonAct The button action to send.
|
williamr@2
|
194 |
*/
|
williamr@2
|
195 |
IMPORT_C void FavoriteMenu(TRequestStatus& aStatus,
|
williamr@2
|
196 |
TUint& aNumRemotes,
|
williamr@2
|
197 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
198 |
|
williamr@2
|
199 |
/** Send an 'exit' command.
|
williamr@2
|
200 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
201 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
202 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
203 |
command was sent to.
|
williamr@2
|
204 |
@param aButtonAct The button action to send.
|
williamr@2
|
205 |
*/
|
williamr@2
|
206 |
IMPORT_C void Exit(TRequestStatus& aStatus,
|
williamr@2
|
207 |
TUint& aNumRemotes,
|
williamr@2
|
208 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
209 |
|
williamr@2
|
210 |
/** Send a '0' command.
|
williamr@2
|
211 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
212 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
213 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
214 |
command was sent to.
|
williamr@2
|
215 |
@param aButtonAct The button action to send.
|
williamr@2
|
216 |
*/
|
williamr@2
|
217 |
IMPORT_C void _0(TRequestStatus& aStatus,
|
williamr@2
|
218 |
TUint& aNumRemotes,
|
williamr@2
|
219 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
220 |
|
williamr@2
|
221 |
/** Send a '1' command.
|
williamr@2
|
222 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
223 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
224 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
225 |
command was sent to.
|
williamr@2
|
226 |
@param aButtonAct The button action to send.
|
williamr@2
|
227 |
*/
|
williamr@2
|
228 |
IMPORT_C void _1(TRequestStatus& aStatus,
|
williamr@2
|
229 |
TUint& aNumRemotes,
|
williamr@2
|
230 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
231 |
|
williamr@2
|
232 |
/** Send a '2' command.
|
williamr@2
|
233 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
234 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
235 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
236 |
command was sent to.
|
williamr@2
|
237 |
@param aButtonAct The button action to send.
|
williamr@2
|
238 |
*/
|
williamr@2
|
239 |
IMPORT_C void _2(TRequestStatus& aStatus,
|
williamr@2
|
240 |
TUint& aNumRemotes,
|
williamr@2
|
241 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
242 |
|
williamr@2
|
243 |
/** Send a '3' command.
|
williamr@2
|
244 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
245 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
246 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
247 |
command was sent to.
|
williamr@2
|
248 |
@param aButtonAct The button action to send.
|
williamr@2
|
249 |
*/
|
williamr@2
|
250 |
IMPORT_C void _3(TRequestStatus& aStatus,
|
williamr@2
|
251 |
TUint& aNumRemotes,
|
williamr@2
|
252 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
253 |
|
williamr@2
|
254 |
/** Send a '4'command.
|
williamr@2
|
255 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
256 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
257 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
258 |
command was sent to.
|
williamr@2
|
259 |
@param aButtonAct The button action to send.
|
williamr@2
|
260 |
*/
|
williamr@2
|
261 |
IMPORT_C void _4(TRequestStatus& aStatus,
|
williamr@2
|
262 |
TUint& aNumRemotes,
|
williamr@2
|
263 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
264 |
|
williamr@2
|
265 |
/** Send a '5' command.
|
williamr@2
|
266 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
267 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
268 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
269 |
command was sent to.
|
williamr@2
|
270 |
@param aButtonAct The button action to send.
|
williamr@2
|
271 |
*/
|
williamr@2
|
272 |
IMPORT_C void _5(TRequestStatus& aStatus,
|
williamr@2
|
273 |
TUint& aNumRemotes,
|
williamr@2
|
274 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
275 |
|
williamr@2
|
276 |
/** Send a '6' command.
|
williamr@2
|
277 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
278 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
279 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
280 |
command was sent to.
|
williamr@2
|
281 |
@param aButtonAct The button action to send.
|
williamr@2
|
282 |
*/
|
williamr@2
|
283 |
IMPORT_C void _6(TRequestStatus& aStatus,
|
williamr@2
|
284 |
TUint& aNumRemotes,
|
williamr@2
|
285 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
286 |
|
williamr@2
|
287 |
/** Send a '7' command.
|
williamr@2
|
288 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
289 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
290 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
291 |
command was sent to.
|
williamr@2
|
292 |
@param aButtonAct The button action to send.
|
williamr@2
|
293 |
*/
|
williamr@2
|
294 |
IMPORT_C void _7(TRequestStatus& aStatus,
|
williamr@2
|
295 |
TUint& aNumRemotes,
|
williamr@2
|
296 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
297 |
|
williamr@2
|
298 |
/** Send a '8' command.
|
williamr@2
|
299 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
300 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
301 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
302 |
command was sent to.
|
williamr@2
|
303 |
@param aButtonAct The button action to send.
|
williamr@2
|
304 |
*/
|
williamr@2
|
305 |
IMPORT_C void _8(TRequestStatus& aStatus,
|
williamr@2
|
306 |
TUint& aNumRemotes,
|
williamr@2
|
307 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
308 |
|
williamr@2
|
309 |
/** Send a '9' command.
|
williamr@2
|
310 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
311 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
312 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
313 |
command was sent to.
|
williamr@2
|
314 |
@param aButtonAct The button action to send.
|
williamr@2
|
315 |
*/
|
williamr@2
|
316 |
IMPORT_C void _9(TRequestStatus& aStatus,
|
williamr@2
|
317 |
TUint& aNumRemotes,
|
williamr@2
|
318 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
319 |
|
williamr@2
|
320 |
/** Send a 'dot' command.
|
williamr@2
|
321 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
322 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
323 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
324 |
command was sent to.
|
williamr@2
|
325 |
@param aButtonAct The button action to send.
|
williamr@2
|
326 |
*/
|
williamr@2
|
327 |
IMPORT_C void Dot(TRequestStatus& aStatus,
|
williamr@2
|
328 |
TUint& aNumRemotes,
|
williamr@2
|
329 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
330 |
|
williamr@2
|
331 |
/** Send an 'enter' command.
|
williamr@2
|
332 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
333 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
334 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
335 |
command was sent to.
|
williamr@2
|
336 |
@param aButtonAct The button action to send.
|
williamr@2
|
337 |
*/
|
williamr@2
|
338 |
IMPORT_C void Enter(TRequestStatus& aStatus,
|
williamr@2
|
339 |
TUint& aNumRemotes,
|
williamr@2
|
340 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
341 |
|
williamr@2
|
342 |
/** Send a 'clear' command.
|
williamr@2
|
343 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
344 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
345 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
346 |
command was sent to.
|
williamr@2
|
347 |
@param aButtonAct The button action to send.
|
williamr@2
|
348 |
*/
|
williamr@2
|
349 |
IMPORT_C void Clear(TRequestStatus& aStatus,
|
williamr@2
|
350 |
TUint& aNumRemotes,
|
williamr@2
|
351 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
352 |
|
williamr@2
|
353 |
/** Send a 'channel up' command.
|
williamr@2
|
354 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
355 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
356 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
357 |
command was sent to.
|
williamr@2
|
358 |
@param aButtonAct The button action to send.
|
williamr@2
|
359 |
*/
|
williamr@2
|
360 |
IMPORT_C void ChannelUp(TRequestStatus& aStatus,
|
williamr@2
|
361 |
TUint& aNumRemotes,
|
williamr@2
|
362 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
363 |
|
williamr@2
|
364 |
/** Send a 'channel down' command.
|
williamr@2
|
365 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
366 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
367 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
368 |
command was sent to.
|
williamr@2
|
369 |
@param aButtonAct The button action to send.
|
williamr@2
|
370 |
*/
|
williamr@2
|
371 |
IMPORT_C void ChannelDown(TRequestStatus& aStatus,
|
williamr@2
|
372 |
TUint& aNumRemotes,
|
williamr@2
|
373 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
374 |
|
williamr@2
|
375 |
/** Send a 'previous channel' command.
|
williamr@2
|
376 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
377 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
378 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
379 |
command was sent to.
|
williamr@2
|
380 |
@param aButtonAct The button action to send.
|
williamr@2
|
381 |
*/
|
williamr@2
|
382 |
IMPORT_C void PreviousChannel(TRequestStatus& aStatus,
|
williamr@2
|
383 |
TUint& aNumRemotes,
|
williamr@2
|
384 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
385 |
|
williamr@2
|
386 |
/** Send a 'sound select' command.
|
williamr@2
|
387 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
388 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
389 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
390 |
command was sent to.
|
williamr@2
|
391 |
@param aButtonAct The button action to send.
|
williamr@2
|
392 |
*/
|
williamr@2
|
393 |
IMPORT_C void SoundSelect(TRequestStatus& aStatus,
|
williamr@2
|
394 |
TUint& aNumRemotes,
|
williamr@2
|
395 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
396 |
|
williamr@2
|
397 |
/** Send a 'input select' command.
|
williamr@2
|
398 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
399 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
400 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
401 |
command was sent to.
|
williamr@2
|
402 |
@param aButtonAct The button action to send.
|
williamr@2
|
403 |
*/
|
williamr@2
|
404 |
IMPORT_C void InputSelect(TRequestStatus& aStatus,
|
williamr@2
|
405 |
TUint& aNumRemotes,
|
williamr@2
|
406 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
407 |
|
williamr@2
|
408 |
/** Send a 'display information' command.
|
williamr@2
|
409 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
410 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
411 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
412 |
command was sent to.
|
williamr@2
|
413 |
@param aButtonAct The button action to send.
|
williamr@2
|
414 |
*/
|
williamr@2
|
415 |
IMPORT_C void DisplayInformation(TRequestStatus& aStatus,
|
williamr@2
|
416 |
TUint& aNumRemotes,
|
williamr@2
|
417 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
418 |
|
williamr@2
|
419 |
/** Send a 'help' command.
|
williamr@2
|
420 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
421 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
422 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
423 |
command was sent to.
|
williamr@2
|
424 |
@param aButtonAct The button action to send.
|
williamr@2
|
425 |
*/
|
williamr@2
|
426 |
IMPORT_C void Help(TRequestStatus& aStatus,
|
williamr@2
|
427 |
TUint& aNumRemotes,
|
williamr@2
|
428 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
429 |
|
williamr@2
|
430 |
/** Send a 'page up' command.
|
williamr@2
|
431 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
432 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
433 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
434 |
command was sent to.
|
williamr@2
|
435 |
@param aButtonAct The button action to send.
|
williamr@2
|
436 |
*/
|
williamr@2
|
437 |
IMPORT_C void PageUp(TRequestStatus& aStatus,
|
williamr@2
|
438 |
TUint& aNumRemotes,
|
williamr@2
|
439 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
440 |
|
williamr@2
|
441 |
/** Send a 'page down' command.
|
williamr@2
|
442 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
443 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
444 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
445 |
command was sent to.
|
williamr@2
|
446 |
@param aButtonAct The button action to send.
|
williamr@2
|
447 |
*/
|
williamr@2
|
448 |
IMPORT_C void PageDown(TRequestStatus& aStatus,
|
williamr@2
|
449 |
TUint& aNumRemotes,
|
williamr@2
|
450 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
451 |
|
williamr@2
|
452 |
/** Send a 'power' command.
|
williamr@2
|
453 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
454 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
455 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
456 |
command was sent to.
|
williamr@2
|
457 |
@param aButtonAct The button action to send.
|
williamr@2
|
458 |
*/
|
williamr@2
|
459 |
IMPORT_C void Power(TRequestStatus& aStatus,
|
williamr@2
|
460 |
TUint& aNumRemotes,
|
williamr@2
|
461 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
462 |
|
williamr@2
|
463 |
/** Send a 'volume up' command.
|
williamr@2
|
464 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
465 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
466 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
467 |
command was sent to.
|
williamr@2
|
468 |
@param aButtonAct The button action to send.
|
williamr@2
|
469 |
*/
|
williamr@2
|
470 |
IMPORT_C void VolumeUp(TRequestStatus& aStatus,
|
williamr@2
|
471 |
TUint& aNumRemotes,
|
williamr@2
|
472 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
473 |
|
williamr@2
|
474 |
/** Send a 'volume down' command.
|
williamr@2
|
475 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
476 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
477 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
478 |
command was sent to.
|
williamr@2
|
479 |
@param aButtonAct The button action to send.
|
williamr@2
|
480 |
*/
|
williamr@2
|
481 |
IMPORT_C void VolumeDown(TRequestStatus& aStatus,
|
williamr@2
|
482 |
TUint& aNumRemotes,
|
williamr@2
|
483 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
484 |
|
williamr@2
|
485 |
/** Send a 'mute' command.
|
williamr@2
|
486 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
487 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
488 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
489 |
command was sent to.
|
williamr@2
|
490 |
@param aButtonAct The button action to send.
|
williamr@2
|
491 |
*/
|
williamr@2
|
492 |
IMPORT_C void Mute(TRequestStatus& aStatus,
|
williamr@2
|
493 |
TUint& aNumRemotes,
|
williamr@2
|
494 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
495 |
|
williamr@2
|
496 |
/** Send a 'play' command.
|
williamr@2
|
497 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
498 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
499 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
500 |
command was sent to.
|
williamr@2
|
501 |
@param aButtonAct The button action to send.
|
williamr@2
|
502 |
@param aSpeed The play speed.
|
williamr@2
|
503 |
*/
|
williamr@2
|
504 |
IMPORT_C void Play(TRequestStatus& aStatus,
|
williamr@2
|
505 |
TUint& aNumRemotes,
|
williamr@2
|
506 |
TRemConCoreApiButtonAction aButtonAct,
|
williamr@2
|
507 |
TRemConCoreApiPlaybackSpeed aSpeed = ERemConCoreApiPlaybackSpeedX1);
|
williamr@2
|
508 |
|
williamr@2
|
509 |
/** Send a 'stop' command.
|
williamr@2
|
510 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
511 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
512 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
513 |
command was sent to.
|
williamr@2
|
514 |
@param aButtonAct The button action to send.
|
williamr@2
|
515 |
*/
|
williamr@2
|
516 |
IMPORT_C void Stop(TRequestStatus& aStatus,
|
williamr@2
|
517 |
TUint& aNumRemotes,
|
williamr@2
|
518 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
519 |
|
williamr@2
|
520 |
/** Send a 'pause' command.
|
williamr@2
|
521 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
522 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
523 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
524 |
command was sent to.
|
williamr@2
|
525 |
@param aButtonAct The button action to send.
|
williamr@2
|
526 |
*/
|
williamr@2
|
527 |
IMPORT_C void Pause(TRequestStatus& aStatus,
|
williamr@2
|
528 |
TUint& aNumRemotes,
|
williamr@2
|
529 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
530 |
|
williamr@2
|
531 |
/** Send a 'record' command.
|
williamr@2
|
532 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
533 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
534 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
535 |
command was sent to.
|
williamr@2
|
536 |
@param aButtonAct The button action to send.
|
williamr@2
|
537 |
*/
|
williamr@2
|
538 |
IMPORT_C void Record(TRequestStatus& aStatus,
|
williamr@2
|
539 |
TUint& aNumRemotes,
|
williamr@2
|
540 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
541 |
|
williamr@2
|
542 |
/** Send a 'rewind' command.
|
williamr@2
|
543 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
544 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
545 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
546 |
command was sent to.
|
williamr@2
|
547 |
@param aButtonAct The button action to send.
|
williamr@2
|
548 |
*/
|
williamr@2
|
549 |
IMPORT_C void Rewind(TRequestStatus& aStatus,
|
williamr@2
|
550 |
TUint& aNumRemotes,
|
williamr@2
|
551 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
552 |
|
williamr@2
|
553 |
/** Send a 'fast forward' command.
|
williamr@2
|
554 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
555 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
556 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
557 |
command was sent to.
|
williamr@2
|
558 |
@param aButtonAct The button action to send.
|
williamr@2
|
559 |
*/
|
williamr@2
|
560 |
IMPORT_C void FastForward(TRequestStatus& aStatus,
|
williamr@2
|
561 |
TUint& aNumRemotes,
|
williamr@2
|
562 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
563 |
|
williamr@2
|
564 |
/** Send an 'eject' command.
|
williamr@2
|
565 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
566 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
567 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
568 |
command was sent to.
|
williamr@2
|
569 |
@param aButtonAct The button action to send.
|
williamr@2
|
570 |
*/
|
williamr@2
|
571 |
IMPORT_C void Eject(TRequestStatus& aStatus,
|
williamr@2
|
572 |
TUint& aNumRemotes,
|
williamr@2
|
573 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
574 |
|
williamr@2
|
575 |
/** Send a 'forward' command.
|
williamr@2
|
576 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
577 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
578 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
579 |
command was sent to.
|
williamr@2
|
580 |
@param aButtonAct The button action to send.
|
williamr@2
|
581 |
*/
|
williamr@2
|
582 |
IMPORT_C void Forward(TRequestStatus& aStatus,
|
williamr@2
|
583 |
TUint& aNumRemotes,
|
williamr@2
|
584 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
585 |
|
williamr@2
|
586 |
/** Send a 'backward' command.
|
williamr@2
|
587 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
588 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
589 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
590 |
command was sent to.
|
williamr@2
|
591 |
@param aButtonAct The button action to send.
|
williamr@2
|
592 |
*/
|
williamr@2
|
593 |
IMPORT_C void Backward(TRequestStatus& aStatus,
|
williamr@2
|
594 |
TUint& aNumRemotes,
|
williamr@2
|
595 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
596 |
|
williamr@2
|
597 |
/** Send an 'angle' command.
|
williamr@2
|
598 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
599 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
600 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
601 |
command was sent to.
|
williamr@2
|
602 |
@param aButtonAct The button action to send.
|
williamr@2
|
603 |
*/
|
williamr@2
|
604 |
IMPORT_C void Angle(TRequestStatus& aStatus,
|
williamr@2
|
605 |
TUint& aNumRemotes,
|
williamr@2
|
606 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
607 |
|
williamr@2
|
608 |
/** Send a 'subpicture' command.
|
williamr@2
|
609 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
610 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
611 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
612 |
command was sent to.
|
williamr@2
|
613 |
@param aButtonAct The button action to send.
|
williamr@2
|
614 |
*/
|
williamr@2
|
615 |
IMPORT_C void Subpicture(TRequestStatus& aStatus,
|
williamr@2
|
616 |
TUint& aNumRemotes,
|
williamr@2
|
617 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
618 |
|
williamr@2
|
619 |
/** Send a 'pause play function' command.
|
williamr@2
|
620 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
621 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
622 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
623 |
command was sent to.
|
williamr@2
|
624 |
@param aButtonAct The button action to send.
|
williamr@2
|
625 |
*/
|
williamr@2
|
626 |
IMPORT_C void PausePlayFunction(TRequestStatus& aStatus,
|
williamr@2
|
627 |
TUint& aNumRemotes,
|
williamr@2
|
628 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
629 |
|
williamr@2
|
630 |
/** Send a 'restore volume function' command.
|
williamr@2
|
631 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
632 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
633 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
634 |
command was sent to.
|
williamr@2
|
635 |
@param aButtonAct The button action to send.
|
williamr@2
|
636 |
*/
|
williamr@2
|
637 |
IMPORT_C void RestoreVolumeFunction(TRequestStatus& aStatus,
|
williamr@2
|
638 |
TUint& aNumRemotes,
|
williamr@2
|
639 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
640 |
|
williamr@2
|
641 |
/** Send a 'tune function' command.
|
williamr@2
|
642 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
643 |
@param aTwoPart If EFalse, only aMajorChannel is being used to perform the
|
williamr@2
|
644 |
tuning (aMinorChannel is ignored). Otherwise, both aMajorChannel and
|
williamr@2
|
645 |
aMinorChannel are used.
|
williamr@2
|
646 |
@param aMajorChannel The major channel number.
|
williamr@2
|
647 |
@param aMinorChannel The minor channel number.
|
williamr@2
|
648 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
649 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
650 |
command was sent to.
|
williamr@2
|
651 |
@param aButtonAct The button action to send.
|
williamr@2
|
652 |
*/
|
williamr@2
|
653 |
IMPORT_C void TuneFunction(TRequestStatus& aStatus,
|
williamr@2
|
654 |
TUint& aNumRemotes,
|
williamr@2
|
655 |
TBool aTwoPart,
|
williamr@2
|
656 |
TUint aMajorChannel,
|
williamr@2
|
657 |
TUint aMinorChannel,
|
williamr@2
|
658 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
659 |
|
williamr@2
|
660 |
/** Send a 'select disk function' command.
|
williamr@2
|
661 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
662 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
663 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
664 |
command was sent to.
|
williamr@2
|
665 |
@param aButtonAct The button action to send.
|
williamr@2
|
666 |
@param aDisk The disk to select.
|
williamr@2
|
667 |
*/
|
williamr@2
|
668 |
IMPORT_C void SelectDiskFunction(TRequestStatus& aStatus,
|
williamr@2
|
669 |
TUint& aNumRemotes,
|
williamr@2
|
670 |
TUint aDisk,
|
williamr@2
|
671 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
672 |
|
williamr@2
|
673 |
/** Send a 'select AV input function' command.
|
williamr@2
|
674 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
675 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
676 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
677 |
command was sent to.
|
williamr@2
|
678 |
@param aButtonAct The button action to send.
|
williamr@2
|
679 |
@param aAvInputSignalNumber AV input signal.
|
williamr@2
|
680 |
*/
|
williamr@2
|
681 |
IMPORT_C void SelectAvInputFunction(TRequestStatus& aStatus,
|
williamr@2
|
682 |
TUint& aNumRemotes,
|
williamr@2
|
683 |
TUint8 aAvInputSignalNumber,
|
williamr@2
|
684 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
685 |
|
williamr@2
|
686 |
/** Send a 'select audio input function' command.
|
williamr@2
|
687 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
688 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
689 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
690 |
command was sent to.
|
williamr@2
|
691 |
@param aButtonAct The button action to send.
|
williamr@2
|
692 |
@param aAudioInputSignalNumber Audio input signal.
|
williamr@2
|
693 |
*/
|
williamr@2
|
694 |
IMPORT_C void SelectAudioInputFunction(TRequestStatus& aStatus,
|
williamr@2
|
695 |
TUint& aNumRemotes,
|
williamr@2
|
696 |
TUint8 aAudioInputSignalNumber,
|
williamr@2
|
697 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
698 |
|
williamr@2
|
699 |
/** Send an 'F1' command.
|
williamr@2
|
700 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
701 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
702 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
703 |
command was sent to.
|
williamr@2
|
704 |
@param aButtonAct The button action to send.
|
williamr@2
|
705 |
*/
|
williamr@2
|
706 |
IMPORT_C void F1(TRequestStatus& aStatus,
|
williamr@2
|
707 |
TUint& aNumRemotes,
|
williamr@2
|
708 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
709 |
|
williamr@2
|
710 |
/** Send an 'F2' command.
|
williamr@2
|
711 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
712 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
713 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
714 |
command was sent to.
|
williamr@2
|
715 |
@param aButtonAct The button action to send.
|
williamr@2
|
716 |
*/
|
williamr@2
|
717 |
IMPORT_C void F2(TRequestStatus& aStatus,
|
williamr@2
|
718 |
TUint& aNumRemotes,
|
williamr@2
|
719 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
720 |
|
williamr@2
|
721 |
/** Send an 'F3' command.
|
williamr@2
|
722 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
723 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
724 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
725 |
command was sent to.
|
williamr@2
|
726 |
@param aButtonAct The button action to send.
|
williamr@2
|
727 |
*/
|
williamr@2
|
728 |
IMPORT_C void F3(TRequestStatus& aStatus,
|
williamr@2
|
729 |
TUint& aNumRemotes,
|
williamr@2
|
730 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
731 |
|
williamr@2
|
732 |
/** Send an 'F4' command.
|
williamr@2
|
733 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
734 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
735 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
736 |
command was sent to.
|
williamr@2
|
737 |
@param aButtonAct The button action to send.
|
williamr@2
|
738 |
*/
|
williamr@2
|
739 |
IMPORT_C void F4(TRequestStatus& aStatus,
|
williamr@2
|
740 |
TUint& aNumRemotes,
|
williamr@2
|
741 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
742 |
|
williamr@2
|
743 |
/** Send an 'F5' command.
|
williamr@2
|
744 |
Only one command per controller session can be outstanding at any one time.
|
williamr@2
|
745 |
@param aStatus Used by RemCon to indicate completion of the send request.
|
williamr@2
|
746 |
@param aNumRemotes On success, will contain the number of remotes the
|
williamr@2
|
747 |
command was sent to.
|
williamr@2
|
748 |
@param aButtonAct The button action to send.
|
williamr@2
|
749 |
*/
|
williamr@2
|
750 |
IMPORT_C void F5(TRequestStatus& aStatus,
|
williamr@2
|
751 |
TUint& aNumRemotes,
|
williamr@2
|
752 |
TRemConCoreApiButtonAction aButtonAct);
|
williamr@2
|
753 |
|
williamr@2
|
754 |
private:
|
williamr@2
|
755 |
/**
|
williamr@2
|
756 |
Constructor.
|
williamr@2
|
757 |
@param aInterfaceSelector The interface selector.
|
williamr@2
|
758 |
@param aObserver The observer of this interface.
|
williamr@2
|
759 |
*/
|
williamr@2
|
760 |
CRemConCoreApiController(CRemConInterfaceSelector& aInterfaceSelector,
|
williamr@2
|
761 |
MRemConCoreApiControllerObserver& aObserver);
|
williamr@2
|
762 |
|
williamr@2
|
763 |
private: // utility
|
williamr@2
|
764 |
/**
|
williamr@2
|
765 |
Utility to send a command with only the button action as operation-specific data.
|
williamr@2
|
766 |
@param aStatus TRequestStatus for the send operation.
|
williamr@2
|
767 |
@param aNumRemotes The number of remotes the command was sent to.
|
williamr@2
|
768 |
@param aButtonAct The button action.
|
williamr@2
|
769 |
@param aOperationId The operation ID.
|
williamr@2
|
770 |
*/
|
williamr@2
|
771 |
void SendGenericCommand(TRequestStatus& aStatus,
|
williamr@2
|
772 |
TUint& aNumRemotes,
|
williamr@2
|
773 |
TRemConCoreApiButtonAction aButtonAct,
|
williamr@2
|
774 |
TRemConCoreApiOperationId aOperationId);
|
williamr@2
|
775 |
|
williamr@2
|
776 |
private: // from CRemConInterfaceBase
|
williamr@2
|
777 |
TAny* GetInterfaceIf(TUid aUid);
|
williamr@2
|
778 |
|
williamr@2
|
779 |
private: // from MRemConInterfaceIf
|
williamr@2
|
780 |
void MrcibNewMessage(TUint aOperationId, const TDesC8& aData);
|
williamr@2
|
781 |
|
williamr@2
|
782 |
private: // unowned
|
williamr@2
|
783 |
MRemConCoreApiControllerObserver& iObserver;
|
williamr@2
|
784 |
|
williamr@2
|
785 |
private: // owned
|
williamr@2
|
786 |
TBuf8<KRemConCoreApiMaxOperationSpecificDataSize> iCmdData;
|
williamr@2
|
787 |
};
|
williamr@2
|
788 |
|
williamr@2
|
789 |
#endif // REMCONCOREAPICONTROLLER_H
|