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