1 /* |
|
2 * Copyright (c) 2007 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: AvControlPoint adapter helper class implementation |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 #include "mdhavcpadapter.h" |
|
24 |
|
25 // --------------------------------------------------------------------------- |
|
26 // Two-phase API constructor |
|
27 // --------------------------------------------------------------------------- |
|
28 // |
|
29 CCmMdhAvControlPointAdapter* CCmMdhAvControlPointAdapter::NewL() |
|
30 { |
|
31 CCmMdhAvControlPointAdapter* self = |
|
32 CCmMdhAvControlPointAdapter::NewLC( ); |
|
33 CleanupStack::Pop( self ); |
|
34 return self; |
|
35 } |
|
36 |
|
37 // --------------------------------------------------------------------------- |
|
38 // Two-phase API constructor |
|
39 // --------------------------------------------------------------------------- |
|
40 // |
|
41 CCmMdhAvControlPointAdapter* CCmMdhAvControlPointAdapter::NewLC() |
|
42 { |
|
43 CCmMdhAvControlPointAdapter* self = |
|
44 new ( ELeave ) CCmMdhAvControlPointAdapter( ); |
|
45 CleanupStack::PushL( self ); |
|
46 self->ConstructL(); |
|
47 return self; |
|
48 } |
|
49 |
|
50 // --------------------------------------------------------------------------- |
|
51 // Destructor |
|
52 // --------------------------------------------------------------------------- |
|
53 // |
|
54 CCmMdhAvControlPointAdapter::~CCmMdhAvControlPointAdapter() |
|
55 { |
|
56 |
|
57 } |
|
58 |
|
59 // --------------------------------------------------------------------------- |
|
60 // Default constructor |
|
61 // --------------------------------------------------------------------------- |
|
62 // |
|
63 CCmMdhAvControlPointAdapter::CCmMdhAvControlPointAdapter() |
|
64 { |
|
65 |
|
66 } |
|
67 |
|
68 // --------------------------------------------------------------------------- |
|
69 // ConstructL |
|
70 // --------------------------------------------------------------------------- |
|
71 // |
|
72 void CCmMdhAvControlPointAdapter::ConstructL() |
|
73 { |
|
74 |
|
75 } |
|
76 |
|
77 // --------------------------------------------------------------------------- |
|
78 // See upnpavcontrolpointobserver.h |
|
79 // --------------------------------------------------------------------------- |
|
80 // |
|
81 void CCmMdhAvControlPointAdapter::RcSetVolumeResponse( |
|
82 const TDesC8& /*aUuid*/, |
|
83 TInt /*aSessionId*/, |
|
84 TInt /*aErr*/, |
|
85 const TDesC8& /*aInstance*/, |
|
86 const TDesC8& /*aChannel*/, |
|
87 const TDesC8& /*aDesiredVolume*/) { /*nothing*/ } |
|
88 |
|
89 // --------------------------------------------------------------------------- |
|
90 // See upnpavcontrolpointobserver.h |
|
91 // --------------------------------------------------------------------------- |
|
92 // |
|
93 void CCmMdhAvControlPointAdapter::RcVolumeResponse( |
|
94 const TDesC8& /*aUuid*/, |
|
95 TInt /*aSessionId*/, |
|
96 TInt /*aErr*/, |
|
97 const TDesC8& /*aInstance*/, |
|
98 const TDesC8& /*aChannel*/, |
|
99 const TDesC8& /*aCurrentVolume*/) { /*nothing*/ } |
|
100 |
|
101 // --------------------------------------------------------------------------- |
|
102 // See upnpavcontrolpointobserver.h |
|
103 // --------------------------------------------------------------------------- |
|
104 // |
|
105 void CCmMdhAvControlPointAdapter::RcSetMuteResponse( |
|
106 const TDesC8& /*aUuid*/, |
|
107 TInt /*aSessionId*/, |
|
108 TInt /*aErr*/, |
|
109 const TDesC8& /*aInstance*/, |
|
110 const TDesC8& /*aChannel*/, |
|
111 const TDesC8& /*aDesiredMute*/) { /*nothing*/ } |
|
112 |
|
113 // --------------------------------------------------------------------------- |
|
114 // See upnpavcontrolpointobserver.h |
|
115 // --------------------------------------------------------------------------- |
|
116 // |
|
117 void CCmMdhAvControlPointAdapter::RcMuteResponse( |
|
118 const TDesC8& /*aUuid*/, |
|
119 TInt /*aSessionId*/, |
|
120 TInt /*aErr*/, |
|
121 const TDesC8& /*aInstance*/, |
|
122 const TDesC8& /*aChannel*/, |
|
123 const TDesC8& /*aCurrentMute*/) { /*nothing*/ } |
|
124 |
|
125 // --------------------------------------------------------------------------- |
|
126 // See upnpavcontrolpointobserver.h |
|
127 // --------------------------------------------------------------------------- |
|
128 // |
|
129 void CCmMdhAvControlPointAdapter::AvtSetTransportUriResponse( |
|
130 const TDesC8& /*aUuid*/, |
|
131 TInt /*aSessionId*/, |
|
132 TInt /*aErr*/, |
|
133 const TDesC8& /*aInstanceId*/, |
|
134 const TDesC8& /*aCurrentUri*/, |
|
135 const TDesC8& /*aCurrentUriMetaData*/) { /*nothing*/ } |
|
136 |
|
137 // --------------------------------------------------------------------------- |
|
138 // See upnpavcontrolpointobserver.h |
|
139 // --------------------------------------------------------------------------- |
|
140 // |
|
141 void CCmMdhAvControlPointAdapter::AvtSetNextTransportUriResponse( |
|
142 const TDesC8& /*aUuid*/, |
|
143 TInt /*aSessionId*/, |
|
144 TInt /*aErr*/, |
|
145 const TDesC8& /*aInstanceId*/, |
|
146 const TDesC8& /*aNextUri*/, |
|
147 const TDesC8& /*aNextUriMetaData*/) { /*nothing*/ } |
|
148 |
|
149 // --------------------------------------------------------------------------- |
|
150 // See upnpavcontrolpointobserver.h |
|
151 // --------------------------------------------------------------------------- |
|
152 // |
|
153 void CCmMdhAvControlPointAdapter::AvtMediaInfoResponse( |
|
154 const TDesC8& /*aUuid*/, |
|
155 TInt /*aSessionId*/, |
|
156 TInt /*aErr*/, |
|
157 const TDesC8& /*aInstanceId*/, |
|
158 const TDesC8& /*aNrTracks*/, |
|
159 const TDesC8& /*aMediaDuration*/, |
|
160 const TDesC8& /*aCurrentUri*/, |
|
161 const TDesC8& /*aCurrentUriMetaData*/, |
|
162 const TDesC8& /*aNextUri*/, |
|
163 const TDesC8& /*aNextUriMetaData*/, |
|
164 const TDesC8& /*aPlayMedium*/, |
|
165 const TDesC8& /*aRecordMedium*/, |
|
166 const TDesC8& /*aWriteStatus*/) { /*nothing*/ } |
|
167 |
|
168 // --------------------------------------------------------------------------- |
|
169 // See upnpavcontrolpointobserver.h |
|
170 // --------------------------------------------------------------------------- |
|
171 // |
|
172 void CCmMdhAvControlPointAdapter::AvtGetTransportInfoResponse( |
|
173 const TDesC8& /*aUuid*/, |
|
174 TInt /*aSessionId*/, |
|
175 TInt /*aErr*/, |
|
176 const TDesC8& /*aInstanceId*/, |
|
177 const TDesC8& /*aCurrenTransportState*/, |
|
178 const TDesC8& /*aCurrentTransportStatus*/, |
|
179 const TDesC8& /*aCurrentSpeed*/) { /*nothing*/ } |
|
180 |
|
181 // --------------------------------------------------------------------------- |
|
182 // See upnpavcontrolpointobserver.h |
|
183 // --------------------------------------------------------------------------- |
|
184 // |
|
185 void CCmMdhAvControlPointAdapter::AvtPositionInfoResponse( |
|
186 const TDesC8& /*aUuid*/, |
|
187 TInt /*aSessionId*/, |
|
188 TInt /*aErr*/, |
|
189 const TDesC8& /*aInstanceId*/, |
|
190 const TDesC8& /*aTrack*/, |
|
191 const TDesC8& /*aTrackDuration*/, |
|
192 const TDesC8& /*aTrackMetaData*/, |
|
193 const TDesC8& /*aTrackURI*/, |
|
194 const TDesC8& /*aRelTime*/, |
|
195 const TDesC8& /*aAbsTime*/, |
|
196 const TDesC8& /*aRelCount*/, |
|
197 const TDesC8& /*aAbsCount*/) { /*nothing*/ } |
|
198 |
|
199 // --------------------------------------------------------------------------- |
|
200 // See upnpavcontrolpointobserver.h |
|
201 // --------------------------------------------------------------------------- |
|
202 // |
|
203 void CCmMdhAvControlPointAdapter::AvtDeviceCapabilitiesResponse( |
|
204 const TDesC8& /*aUuid*/, |
|
205 TInt /*aSessionId*/, |
|
206 TInt /*aErr*/, |
|
207 const TDesC8& /*aInstanceId*/, |
|
208 const TDesC8& /*aPlayMedia*/, |
|
209 const TDesC8& /*aRecMedia*/, |
|
210 const TDesC8& /*aRecQualityMode*/) { /*nothing*/ } |
|
211 |
|
212 // --------------------------------------------------------------------------- |
|
213 // See upnpavcontrolpointobserver.h |
|
214 // --------------------------------------------------------------------------- |
|
215 // |
|
216 void CCmMdhAvControlPointAdapter::AvtTransportSettingsResponse( |
|
217 const TDesC8& /*aUuid*/, |
|
218 TInt /*aSessionId*/, |
|
219 TInt /*aErr*/, |
|
220 const TDesC8& /*aInstanceId*/, |
|
221 const TDesC8& /*aPlayMode*/, |
|
222 const TDesC8& /*aRecQualityMode*/) { /*nothing*/ } |
|
223 |
|
224 // --------------------------------------------------------------------------- |
|
225 // See upnpavcontrolpointobserver.h |
|
226 // --------------------------------------------------------------------------- |
|
227 // |
|
228 void CCmMdhAvControlPointAdapter::AvtStopResponse( |
|
229 const TDesC8& /*aUuid*/, |
|
230 TInt /*aSessionId*/, |
|
231 TInt /*aErr*/, |
|
232 const TDesC8& /*aInstanceId*/) { /*nothing*/ } |
|
233 |
|
234 // --------------------------------------------------------------------------- |
|
235 // See upnpavcontrolpointobserver.h |
|
236 // --------------------------------------------------------------------------- |
|
237 // |
|
238 void CCmMdhAvControlPointAdapter::AvtPlayResponse( |
|
239 const TDesC8& /*aUuid*/, |
|
240 TInt /*aSessionId*/, |
|
241 TInt /*aErr*/, |
|
242 const TDesC8& /*aInstanceId*/, |
|
243 const TDesC8& /*aSpeed*/) { /*nothing*/ } |
|
244 |
|
245 // --------------------------------------------------------------------------- |
|
246 // See upnpavcontrolpointobserver.h |
|
247 // --------------------------------------------------------------------------- |
|
248 // |
|
249 void CCmMdhAvControlPointAdapter::AvtPauseResponse( |
|
250 const TDesC8& /*aUuid*/, |
|
251 TInt /*aSessionId*/, |
|
252 TInt /*aErr*/, |
|
253 const TDesC8& /*aInstanceId*/) { /*nothing*/ } |
|
254 |
|
255 // --------------------------------------------------------------------------- |
|
256 // See upnpavcontrolpointobserver.h |
|
257 // --------------------------------------------------------------------------- |
|
258 // |
|
259 void CCmMdhAvControlPointAdapter::AvtRecordResponse( |
|
260 const TDesC8& /*aUuid*/, |
|
261 TInt /*aSessionId*/, |
|
262 TInt /*aErr*/, |
|
263 const TDesC8& /*aInstanceId*/) { /*nothing*/ } |
|
264 |
|
265 // --------------------------------------------------------------------------- |
|
266 // See upnpavcontrolpointobserver.h |
|
267 // --------------------------------------------------------------------------- |
|
268 // |
|
269 void CCmMdhAvControlPointAdapter::AvtSeekResponse( |
|
270 const TDesC8& /*aUuid*/, |
|
271 TInt /*aSessionId*/, |
|
272 TInt /*aErr*/, |
|
273 const TDesC8& /*aInstanceId*/, |
|
274 const TDesC8& /*aUnit*/, |
|
275 const TDesC8& /*aTarget*/) { /*nothing*/ } |
|
276 |
|
277 // --------------------------------------------------------------------------- |
|
278 // See upnpavcontrolpointobserver.h |
|
279 // --------------------------------------------------------------------------- |
|
280 // |
|
281 void CCmMdhAvControlPointAdapter::AvtNextResponse( |
|
282 const TDesC8& /*aUuid*/, |
|
283 TInt /*aSessionId*/, |
|
284 TInt /*aErr*/, |
|
285 const TDesC8& /*aInstanceId*/) { /*nothing*/ } |
|
286 /** |
|
287 * Observer callback for rendering control AV Previous response. |
|
288 * @since Series 60 2.0 |
|
289 * @param aUuid Source device UUID. |
|
290 * @param aSessionId |
|
291 * @param aErr UPnP error code. |
|
292 */ |
|
293 void CCmMdhAvControlPointAdapter::AvtPreviousResponse( |
|
294 const TDesC8& /*aUuid*/, |
|
295 TInt /*aSessionId*/, |
|
296 TInt /*aErr*/, |
|
297 const TDesC8& /*aInstanceId*/) { /*nothing*/ } |
|
298 |
|
299 // --------------------------------------------------------------------------- |
|
300 // See upnpavcontrolpointobserver.h |
|
301 // --------------------------------------------------------------------------- |
|
302 // |
|
303 void CCmMdhAvControlPointAdapter::AvtSetPlayModeResponse( |
|
304 const TDesC8& /*aUuid*/, |
|
305 TInt /*aSessionId*/, |
|
306 TInt /*aErr*/, |
|
307 const TDesC8& /*aInstanceId*/, |
|
308 const TDesC8& /*aNewPlayMode*/) { /*nothing*/ } |
|
309 /** |
|
310 * Observer callback for rendering control AV set record qualityresponse. |
|
311 * @since Series 60 2.0 |
|
312 * @param aUuid Source device UUID. |
|
313 * @param aSessionId |
|
314 * @param aErr UPnP error code. |
|
315 * @param aNewRecordQuality |
|
316 */ |
|
317 void CCmMdhAvControlPointAdapter::AvtSetRecordModeResponse( |
|
318 const TDesC8& /*aUuid*/, |
|
319 TInt /*aSessionId*/, |
|
320 TInt /*aErr*/, |
|
321 const TDesC8& /*aInstanceId*/, |
|
322 const TDesC8& /*aNewRecordQuality*/) { /*nothing*/ } |
|
323 |
|
324 // --------------------------------------------------------------------------- |
|
325 // See upnpavcontrolpointobserver.h |
|
326 // --------------------------------------------------------------------------- |
|
327 // |
|
328 void CCmMdhAvControlPointAdapter::AvtCurrentTransportActionsResponse( |
|
329 const TDesC8& /*aUuid*/, |
|
330 TInt /*aSessionId*/, |
|
331 TInt /*aErr*/, |
|
332 const TDesC8& /*aInstanceId*/, |
|
333 const TDesC8& /*aActions*/) { /*nothing*/ } |
|
334 |
|
335 // --------------------------------------------------------------------------- |
|
336 // See upnpavcontrolpointobserver.h |
|
337 // --------------------------------------------------------------------------- |
|
338 // |
|
339 void CCmMdhAvControlPointAdapter::CdsSearchCapabilitiesResponse( |
|
340 const TDesC8& /*aUuid*/, |
|
341 TInt /*aSessionId*/, |
|
342 TInt /*aErr*/, |
|
343 const TDesC8& /*aSearchCaps*/) { /*nothing*/ } |
|
344 |
|
345 // --------------------------------------------------------------------------- |
|
346 // See upnpavcontrolpointobserver.h |
|
347 // --------------------------------------------------------------------------- |
|
348 // |
|
349 void CCmMdhAvControlPointAdapter::CdsSortCapabilitiesResponse( |
|
350 const TDesC8& /*aUuid*/, |
|
351 TInt /*aSessionId*/, |
|
352 TInt /*aErr*/, |
|
353 const TDesC8& /*aSortCaps*/) { /*nothing*/ } |
|
354 |
|
355 // --------------------------------------------------------------------------- |
|
356 // See upnpavcontrolpointobserver.h |
|
357 // --------------------------------------------------------------------------- |
|
358 // |
|
359 void CCmMdhAvControlPointAdapter::CdsSystemUpdateIdResponse( |
|
360 const TDesC8& /*aUuid*/, |
|
361 TInt /*aSessionId*/, |
|
362 TInt /*aErr*/, |
|
363 TInt /*aSystemUpdateId*/) { /*nothing*/ } |
|
364 |
|
365 // --------------------------------------------------------------------------- |
|
366 // See upnpavcontrolpointobserver.h |
|
367 // --------------------------------------------------------------------------- |
|
368 // |
|
369 void CCmMdhAvControlPointAdapter::CdsBrowseResponse( |
|
370 const TDesC8& /*aUuid*/, |
|
371 TInt /*aSessionId*/, |
|
372 TInt /*aErr*/, |
|
373 const TDesC8& /*aObjectID*/, |
|
374 const TDesC8& /* aBrowseFlag*/, |
|
375 const TDesC8& /* aFilter*/, |
|
376 TInt /*aIndex*/, |
|
377 TInt /*aRequest*/, |
|
378 const TDesC8& /* aSortCriteria*/, |
|
379 const TDesC8& /* aResult*/, |
|
380 TInt /*aReturned*/, |
|
381 TInt /*aMatches*/, |
|
382 const TDesC8& /* aUpdateID*/) { /*nothing*/ } |
|
383 |
|
384 // --------------------------------------------------------------------------- |
|
385 // See upnpavcontrolpointobserver.h |
|
386 // --------------------------------------------------------------------------- |
|
387 // |
|
388 void CCmMdhAvControlPointAdapter::CdsSearchResponse( |
|
389 const TDesC8& /*aUuid*/, |
|
390 TInt /*aSessionId*/, |
|
391 TInt /*aErr*/, |
|
392 const TDesC8& /*aContainerId*/, |
|
393 const TDesC8& /*aSearchCriteria*/, |
|
394 const TDesC8& /*aFilter*/, |
|
395 TInt /*aIndex*/, |
|
396 TInt /*aRequest*/, |
|
397 const TDesC8& /*aSortCriteria*/, |
|
398 const TDesC8& /*aResult*/, |
|
399 TInt /*aReturned*/, |
|
400 TInt /*aMatches*/, |
|
401 const TDesC8& /*aUpdateID*/) { /*nothing*/ } |
|
402 |
|
403 // --------------------------------------------------------------------------- |
|
404 // See upnpavcontrolpointobserver.h |
|
405 // --------------------------------------------------------------------------- |
|
406 // |
|
407 void CCmMdhAvControlPointAdapter::CdsDestroyObjectResponse( |
|
408 const TDesC8& /*aUuid*/, |
|
409 TInt /*aSessionId*/, |
|
410 TInt /*aErr*/, |
|
411 const TDesC8& /*aObjectId */) { /*nothing*/ } |
|
412 |
|
413 // --------------------------------------------------------------------------- |
|
414 // See upnpavcontrolpointobserver.h |
|
415 // --------------------------------------------------------------------------- |
|
416 // |
|
417 void CCmMdhAvControlPointAdapter::CdsUpdateObjectResponse( |
|
418 const TDesC8& /*aUuid*/, |
|
419 TInt /*aSessionId*/, |
|
420 TInt /*aErr*/, |
|
421 const TDesC8& /*aObjectId*/, |
|
422 const TDesC8& /*aCurrentTagValue*/, |
|
423 const TDesC8& /*aNewTagValue */) { /*nothing*/ } |
|
424 |
|
425 // --------------------------------------------------------------------------- |
|
426 // See upnpavcontrolpointobserver.h |
|
427 // --------------------------------------------------------------------------- |
|
428 // |
|
429 void CCmMdhAvControlPointAdapter::CdsImportResponse( |
|
430 const TDesC8& /*aUuid*/, |
|
431 TInt /*aSessionId*/, |
|
432 TInt /*aErr*/, |
|
433 const TDesC8& /*aSourceURI*/, |
|
434 const TDesC8& /*aDestinationURI*/, |
|
435 const TDesC8& /*aTransferId */) { /*nothing*/ } |
|
436 |
|
437 // --------------------------------------------------------------------------- |
|
438 // See upnpavcontrolpointobserver.h |
|
439 // --------------------------------------------------------------------------- |
|
440 // |
|
441 void CCmMdhAvControlPointAdapter::CdsExportResponse( |
|
442 const TDesC8& /*aUuid*/, |
|
443 TInt /*aSessionId*/, |
|
444 TInt /*aErr*/, |
|
445 const TDesC8& /*aSourceURI*/, |
|
446 const TDesC8& /*aDestinationURI*/, |
|
447 const TDesC8& /*aTransferId */) { /*nothing*/ } |
|
448 |
|
449 // --------------------------------------------------------------------------- |
|
450 // See upnpavcontrolpointobserver.h |
|
451 // --------------------------------------------------------------------------- |
|
452 // |
|
453 void CCmMdhAvControlPointAdapter::CdsStopTransferResponse( |
|
454 const TDesC8& /*aUuid*/, |
|
455 TInt /*aSessionId*/, |
|
456 TInt /*aErr*/, |
|
457 const TDesC8& /*aTransferId */) { /*nothing*/ } |
|
458 |
|
459 // --------------------------------------------------------------------------- |
|
460 // See upnpavcontrolpointobserver.h |
|
461 // --------------------------------------------------------------------------- |
|
462 // |
|
463 void CCmMdhAvControlPointAdapter::CdsCTransferProgressResponse( |
|
464 const TDesC8& /*aUuid*/, |
|
465 TInt /*aSessionId*/, |
|
466 TInt /*aErr*/, |
|
467 const TDesC8& /*aTransferId*/, |
|
468 const TDesC8& /*aTransferStatus*/, |
|
469 const TDesC8& /*aTransferLength*/, |
|
470 const TDesC8& /*aTransferTotal */) { /*nothing*/ } |
|
471 |
|
472 // --------------------------------------------------------------------------- |
|
473 // See upnpavcontrolpointobserver.h |
|
474 // --------------------------------------------------------------------------- |
|
475 // |
|
476 void CCmMdhAvControlPointAdapter::CdsDeleteResourceResponse( |
|
477 const TDesC8& /*aUuid*/, |
|
478 TInt /*aSessionId*/, |
|
479 TInt /*aErr*/, |
|
480 const TDesC8& /*aResourceUri */) { /*nothing*/ } |
|
481 |
|
482 // --------------------------------------------------------------------------- |
|
483 // See upnpavcontrolpointobserver.h |
|
484 // --------------------------------------------------------------------------- |
|
485 // |
|
486 void CCmMdhAvControlPointAdapter::CdsCreateReferenceResponse( |
|
487 const TDesC8& /*aUuid*/, |
|
488 TInt /*aSessionId*/, |
|
489 TInt /*aErr*/, |
|
490 const TDesC8& /*aContainerId*/, |
|
491 const TDesC8& /*aObjectId*/, |
|
492 const TDesC8& /*aNewId */) { /*nothing*/ } |
|
493 |
|
494 // --------------------------------------------------------------------------- |
|
495 // See upnpavcontrolpointobserver.h |
|
496 // --------------------------------------------------------------------------- |
|
497 // |
|
498 void CCmMdhAvControlPointAdapter::CdsCreateObjectResponse( |
|
499 const TDesC8& /*aUuid*/, |
|
500 TInt /*aSessionId*/, |
|
501 TInt /*aErr*/, |
|
502 const TDesC8& /*aContainerID*/, |
|
503 const TDesC8& /*aElements*/, |
|
504 const TDesC8& /*aObjectID*/, |
|
505 const TDesC8& /*aResult */) { /*nothing*/ } |
|
506 |
|
507 // --------------------------------------------------------------------------- |
|
508 // See upnpavcontrolpointobserver.h |
|
509 // --------------------------------------------------------------------------- |
|
510 // |
|
511 void CCmMdhAvControlPointAdapter::CmProtocolInfoResponse( |
|
512 const TDesC8& /*aUuid*/, |
|
513 TInt /*aSessionId*/, |
|
514 TInt /*aErr*/, |
|
515 const TDesC8& /*aSource*/, |
|
516 const TDesC8& /*aSink */) { /*nothing*/ } |
|
517 |
|
518 // --------------------------------------------------------------------------- |
|
519 // See upnpavcontrolpointobserver.h |
|
520 // --------------------------------------------------------------------------- |
|
521 // |
|
522 void CCmMdhAvControlPointAdapter::CmPrepareResponse( |
|
523 const TDesC8& /*aUuid*/, |
|
524 TInt /*aSessionId*/, |
|
525 TInt /*aErr*/, |
|
526 const TDesC8& /*aRemoteProtocolInfo*/, |
|
527 const TDesC8& /*aPeerConnectionManager*/, |
|
528 const TDesC8& /*aPeerConnectionId*/, |
|
529 const TDesC8& /*aDirection*/, |
|
530 TInt /*aConnection*/, |
|
531 TInt /*aTransport*/, |
|
532 TInt /*aRsc */) { /*nothing*/ } |
|
533 |
|
534 // --------------------------------------------------------------------------- |
|
535 // See upnpavcontrolpointobserver.h |
|
536 // --------------------------------------------------------------------------- |
|
537 // |
|
538 void CCmMdhAvControlPointAdapter::CmComplete( |
|
539 const TDesC8& /*aUuid*/, |
|
540 TInt /*aSessionId*/, |
|
541 TInt /*aErr*/, |
|
542 TInt /*aConnection */) { /*nothing*/ } |
|
543 |
|
544 // --------------------------------------------------------------------------- |
|
545 // See upnpavcontrolpointobserver.h |
|
546 // --------------------------------------------------------------------------- |
|
547 // |
|
548 void CCmMdhAvControlPointAdapter::CmCurrentConnections( |
|
549 const TDesC8& /*aUuid*/, |
|
550 TInt /*aSessionId*/, |
|
551 TInt /*aErr*/, |
|
552 const TDesC8& /*aConnections*/) { /*nothing*/ } |
|
553 |
|
554 // --------------------------------------------------------------------------- |
|
555 // See upnpavcontrolpointobserver.h |
|
556 // --------------------------------------------------------------------------- |
|
557 // |
|
558 void CCmMdhAvControlPointAdapter::CmCurrentInfo( |
|
559 const TDesC8& /*aUuid*/, |
|
560 TInt /*aSessionId*/, |
|
561 TInt /*aErr*/, |
|
562 TInt /*rscId*/, |
|
563 TInt /*transportId*/, |
|
564 const TDesC8& /*aProtocolInfo*/, |
|
565 const TDesC8& /*aPeerConnectionManager*/, |
|
566 TInt /*peerId*/, |
|
567 const TDesC8& /*aDirection*/, |
|
568 const TDesC8& /*aStatus */) { /*nothing*/ } |
|
569 |
|
570 //***************************************************************** |
|
571 //Functions for UPnP event handling |
|
572 //***************************************************************** |
|
573 // --------------------------------------------------------------------------- |
|
574 // See upnpavcontrolpointobserver.h |
|
575 // --------------------------------------------------------------------------- |
|
576 // |
|
577 void CCmMdhAvControlPointAdapter::CdsUpdateEvent( |
|
578 const TDesC8& /*aUuid*/, |
|
579 TInt /*aSystemUpdateId |
|
580 */) { /*nothing*/ } |
|
581 |
|
582 // --------------------------------------------------------------------------- |
|
583 // See upnpavcontrolpointobserver.h |
|
584 // --------------------------------------------------------------------------- |
|
585 // |
|
586 void CCmMdhAvControlPointAdapter::CdsContainerEvent( |
|
587 const TDesC8& /*aUuid*/, |
|
588 const TDesC8& /*aConteinerIds |
|
589 */) { /*nothing*/ } |
|
590 |
|
591 // --------------------------------------------------------------------------- |
|
592 // See upnpavcontrolpointobserver.h |
|
593 // --------------------------------------------------------------------------- |
|
594 // |
|
595 void CCmMdhAvControlPointAdapter::CdsTransferEvent( |
|
596 const TDesC8& /*aUuid*/, |
|
597 const TDesC8& /*aTransferIds |
|
598 */) { /*nothing*/ } |
|
599 |
|
600 // --------------------------------------------------------------------------- |
|
601 // See upnpavcontrolpointobserver.h |
|
602 // --------------------------------------------------------------------------- |
|
603 // |
|
604 void CCmMdhAvControlPointAdapter::RcLastChangeEvent( |
|
605 const TDesC8& /*aUuid*/, |
|
606 const TDesC8& /*aLastChange |
|
607 */) { /*nothing*/ } |
|
608 |
|
609 // --------------------------------------------------------------------------- |
|
610 // See upnpavcontrolpointobserver.h |
|
611 // --------------------------------------------------------------------------- |
|
612 // |
|
613 void CCmMdhAvControlPointAdapter::AvtLastChangeEvent( |
|
614 const TDesC8& /*aUuid*/, |
|
615 const TDesC8& /*aLastChange |
|
616 */) { /*nothing*/ } |
|
617 |
|
618 // --------------------------------------------------------------------------- |
|
619 // See upnpavcontrolpointobserver.h |
|
620 // --------------------------------------------------------------------------- |
|
621 // |
|
622 void CCmMdhAvControlPointAdapter::CmSourceEvent( |
|
623 const TDesC8& /*aUuid*/, |
|
624 const TDesC8& /*aSource |
|
625 */) { /*nothing*/ } |
|
626 |
|
627 // --------------------------------------------------------------------------- |
|
628 // See upnpavcontrolpointobserver.h |
|
629 // --------------------------------------------------------------------------- |
|
630 // |
|
631 void CCmMdhAvControlPointAdapter::CmSinkEvent( |
|
632 const TDesC8& /*aUuid*/, |
|
633 const TDesC8& /*aSink |
|
634 */) { /*nothing*/ } |
|
635 |
|
636 // --------------------------------------------------------------------------- |
|
637 // See upnpavcontrolpointobserver.h |
|
638 // --------------------------------------------------------------------------- |
|
639 // |
|
640 void CCmMdhAvControlPointAdapter::CmConnectionsEvent( |
|
641 const TDesC8& /*aUuid*/, |
|
642 const TDesC8& /*aConnections |
|
643 */) { /*nothing*/ } |
|
644 |
|
645 //***************************************************************** |
|
646 // Device and http functions. |
|
647 //***************************************************************** |
|
648 // --------------------------------------------------------------------------- |
|
649 // See upnpavcontrolpointobserver.h |
|
650 // --------------------------------------------------------------------------- |
|
651 // |
|
652 void CCmMdhAvControlPointAdapter::HttpResponseL( |
|
653 CUpnpHttpMessage* /*aMessage*/) { /*nothing*/ } |
|
654 |
|
655 // --------------------------------------------------------------------------- |
|
656 // See upnpavcontrolpointobserver.h |
|
657 // --------------------------------------------------------------------------- |
|
658 // |
|
659 void CCmMdhAvControlPointAdapter::DeviceDiscoveredL( |
|
660 CUpnpDevice* /*aDevice*/) { /*nothing*/ } |
|
661 |
|
662 // --------------------------------------------------------------------------- |
|
663 // See upnpavcontrolpointobserver.h |
|
664 // --------------------------------------------------------------------------- |
|
665 // |
|
666 void CCmMdhAvControlPointAdapter::DeviceDisappearedL( |
|
667 CUpnpDevice* /*aDevice*/) { /*nothing*/ } |
|
668 |
|
669 // End of File |
|