author | samhuttu |
Mon, 01 Nov 2010 12:37:49 +0200 | |
branch | new development branch with rendering state machine and other goodies |
changeset 38 | 5360b7ddc251 |
parent 0 | 7f85d04be362 |
permissions | -rw-r--r-- |
38
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
1 |
/* |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
2 |
* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
3 |
* All rights reserved. |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
4 |
* This component and the accompanying materials are made available |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
5 |
* under the terms of "Eclipse Public License v1.0" |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
6 |
* which accompanies this distribution, and is available |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
8 |
* |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
9 |
* Initial Contributors: |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
10 |
* Nokia Corporation - initial contribution. |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
11 |
* |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
12 |
* Contributors: |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
13 |
* |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
14 |
* Description: AV Controller client |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
15 |
* |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
16 |
*/ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
17 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
18 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
19 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
20 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
21 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
22 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
23 |
// INCLUDE FILES |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
24 |
// System |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
25 |
#include <e32math.h> |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
26 |
#include <s32mem.h> |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
27 |
#include <f32file.h> |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
28 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
29 |
// dlnasrv / avcontroller api |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
30 |
#include "upnpavcontrollerglobals.h" |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
31 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
32 |
// dlnasrv / avcontroller internal |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
33 |
#include "upnpavcontrollerclient.h" |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
34 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
35 |
_LIT( KComponentLogfile, "upnpavcontrollerclient.txt"); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
36 |
#include "upnplog.h" |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
37 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
38 |
// Number of message slots to reserve for this client server session. |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
39 |
const TInt KDefaultMessageSlots = -1; |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
40 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
41 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
42 |
// Function prototypes |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
43 |
static TInt StartServer( void ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
44 |
static TInt CreateServerProcess( void ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
45 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
46 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
47 |
// RUPnPAVControllerClient::RUPnPAVControllerClient |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
48 |
// C++ default constructor can NOT contain any code, that |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
49 |
// might leave. |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
50 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
51 |
RUPnPAVControllerClient::RUPnPAVControllerClient() |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
52 |
:RSessionBase() |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
53 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
54 |
// No implementation required |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
55 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
56 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
57 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
58 |
// RUPnPAVControllerClient::Connect |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
59 |
// Connect to Media Server session. |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
60 |
// exist |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
61 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
62 |
TInt RUPnPAVControllerClient::Connect() |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
63 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
64 |
__LOG( "RUPnPAVControllerClient::Connect" ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
65 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
66 |
TInt error = ::StartServer(); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
67 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
68 |
if ( KErrNone == error ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
69 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
70 |
error = CreateSession( KAVControllerName, |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
71 |
Version(), |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
72 |
KDefaultMessageSlots ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
73 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
74 |
return error; |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
75 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
76 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
77 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
78 |
// RUPnPAVControllerClient::Version |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
79 |
// Version information. |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
80 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
81 |
TVersion RUPnPAVControllerClient::Version() const |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
82 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
83 |
return TVersion( KAVControllerMajorVersionNumber, |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
84 |
KAVControllerMinorVersionNumber, |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
85 |
KAVControllerBuildVersionNumber ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
86 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
87 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
88 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
89 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
90 |
// RUPnPAVControllerClient::StartUp |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
91 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
92 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
93 |
TInt RUPnPAVControllerClient::StartUp() |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
94 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
95 |
TIpcArgs args( TIpcArgs::ENothing ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
96 |
return SendReceive( EAVControllerStartupRequest, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
97 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
98 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
99 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
100 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
101 |
// RUPnPAVControllerClient::CancelStartUp |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
102 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
103 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
104 |
TInt RUPnPAVControllerClient::CancelStartUp() |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
105 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
106 |
TIpcArgs args( TIpcArgs::ENothing ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
107 |
return SendReceive( EAVControllerCancelStartupRequest, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
108 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
109 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
110 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
111 |
// RUPnPAVControllerClient::DeviceRequest |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
112 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
113 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
114 |
void RUPnPAVControllerClient::DeviceRequest( TDes8& aDiscovered, |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
115 |
TDes8& aRcvdBufSize, TRequestStatus& aStatus ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
116 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
117 |
TIpcArgs args( &aDiscovered, &aRcvdBufSize ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
118 |
SendReceive( EAVControllerDeviceRequest, args, aStatus ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
119 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
120 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
121 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
122 |
// RUPnPAVControllerClient::CancelDeviceRequest |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
123 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
124 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
125 |
TInt RUPnPAVControllerClient::CancelDeviceRequest() |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
126 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
127 |
TIpcArgs args( TIpcArgs::ENothing ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
128 |
return SendReceive( EAVControllerCancelDeviceRequest, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
129 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
130 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
131 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
132 |
// RUPnPAVControllerClient::GetDevice |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
133 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
134 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
135 |
TInt RUPnPAVControllerClient::GetDevice( TDes8& aDevice ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
136 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
137 |
TIpcArgs args( &aDevice ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
138 |
return SendReceive( EAVControllerGetDeviceRequest, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
139 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
140 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
141 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
142 |
// RUPnPAVControllerClient::GetDeviceListSize |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
143 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
144 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
145 |
TInt RUPnPAVControllerClient::GetDeviceListSize( TDes8& aType, TDes8& aSize ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
146 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
147 |
TIpcArgs args( &aType, &aSize ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
148 |
return SendReceive( EAVControllerGetDeviceListSizeRequest, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
149 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
150 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
151 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
152 |
// RUPnPAVControllerClient::GetDeviceList |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
153 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
154 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
155 |
TInt RUPnPAVControllerClient::GetDeviceList( TDes8& aList ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
156 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
157 |
TIpcArgs args( &aList ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
158 |
return SendReceive( EAVControllerGetDeviceListRequest, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
159 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
160 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
161 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
162 |
// RUPnPAVControllerClient::GetDeviceIcon |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
163 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
164 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
165 |
TInt RUPnPAVControllerClient::GetDeviceIcon( const TDesC8& aUuid, RFile& aFile ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
166 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
167 |
TPckgBuf< TInt > fileHandlePckg( 0 ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
168 |
TIpcArgs args( &aUuid, &fileHandlePckg ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
169 |
TInt fsHandle( SendReceive( EAVControllerGetDeviceIconRequest, args ) ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
170 |
return ( fsHandle < 0 ? fsHandle : aFile.AdoptFromServer( fsHandle, |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
171 |
fileHandlePckg() ) ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
172 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
173 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
174 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
175 |
// RUPnPAVControllerClient::CreateRenderingSession |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
176 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
177 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
178 |
TInt RUPnPAVControllerClient::CreateRenderingSession( TInt aId, |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
179 |
TDes8& aUuid ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
180 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
181 |
TIpcArgs args( aId, &aUuid ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
182 |
return SendReceive( EAVControllerCreateRenderingSession, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
183 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
184 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
185 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
186 |
// RUPnPAVControllerClient::DestroyRenderingSession |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
187 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
188 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
189 |
TInt RUPnPAVControllerClient::DestroyRenderingSession( TInt aId ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
190 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
191 |
TIpcArgs args( aId ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
192 |
return SendReceive( EAVControllerDestroyRenderingSession, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
193 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
194 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
195 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
196 |
// RUPnPAVControllerClient::EventRequest |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
197 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
198 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
199 |
void RUPnPAVControllerClient::EventRequest( TDes8& aEvent, TInt aId, |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
200 |
TRequestStatus& aStatus ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
201 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
202 |
TIpcArgs args( aId, &aEvent ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
203 |
SendReceive( EAVControllerEventRequest, args, aStatus ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
204 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
205 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
206 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
207 |
// RUPnPAVControllerClient::CancelEventRequest |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
208 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
209 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
210 |
TInt RUPnPAVControllerClient::CancelEventRequest( TInt aId ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
211 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
212 |
TIpcArgs args( aId ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
213 |
return SendReceive( EAVControllerCancelEventRequest, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
214 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
215 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
216 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
217 |
// RUPnPAVControllerClient::SetURI |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
218 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
219 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
220 |
void RUPnPAVControllerClient::SetURI( TInt aId, TDes8& aRequest, |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
221 |
TDes8& aItem, TRequestStatus& aStatus ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
222 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
223 |
TIpcArgs args( aId, &aRequest, &aItem ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
224 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
225 |
SendReceive( EAVControllerSetURI, args, aStatus ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
226 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
227 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
228 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
229 |
// RUPnPAVControllerClient::CancelSetURI |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
230 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
231 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
232 |
TInt RUPnPAVControllerClient::CancelSetURI( TInt aId ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
233 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
234 |
TIpcArgs args( aId ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
235 |
return SendReceive( EAVControllerCancelSetURI, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
236 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
237 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
238 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
239 |
// RUPnPAVControllerClient::SetNextURI |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
240 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
241 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
242 |
void RUPnPAVControllerClient::SetNextURI( TInt aId, TDes8& aRequest, |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
243 |
TDes8& aItem, TRequestStatus& aStatus ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
244 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
245 |
TIpcArgs args( aId, &aRequest, &aItem ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
246 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
247 |
SendReceive( EAVControllerSetNextURI, args, aStatus ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
248 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
249 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
250 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
251 |
// RUPnPAVControllerClient::CancelSetNextURI |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
252 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
253 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
254 |
TInt RUPnPAVControllerClient::CancelSetNextURI( TInt aId ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
255 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
256 |
TIpcArgs args( aId ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
257 |
return SendReceive( EAVControllerCancelSetNextURI, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
258 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
259 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
260 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
261 |
// RUPnPAVControllerClient::Play |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
262 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
263 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
264 |
void RUPnPAVControllerClient::Play( TInt aId, TRequestStatus& aStatus ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
265 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
266 |
TIpcArgs args( aId ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
267 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
268 |
SendReceive( EAVControllerPlay, args, aStatus ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
269 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
270 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
271 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
272 |
// RUPnPAVControllerClient::CancelPlay |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
273 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
274 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
275 |
TInt RUPnPAVControllerClient::CancelPlay( TInt aId ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
276 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
277 |
TIpcArgs args( aId ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
278 |
return SendReceive( EAVControllerCancelPlay, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
279 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
280 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
281 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
282 |
// RUPnPAVControllerClient::Stop |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
283 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
284 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
285 |
void RUPnPAVControllerClient::Stop( TInt aId, TRequestStatus& aStatus ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
286 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
287 |
TIpcArgs args( aId ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
288 |
SendReceive( EAVControllerStop, args, aStatus ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
289 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
290 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
291 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
292 |
// RUPnPAVControllerClient::CancelStop |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
293 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
294 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
295 |
TInt RUPnPAVControllerClient::CancelStop( TInt aId ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
296 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
297 |
TIpcArgs args( aId ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
298 |
return SendReceive( EAVControllerCancelStop, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
299 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
300 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
301 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
302 |
// RUPnPAVControllerClient::Pause |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
303 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
304 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
305 |
void RUPnPAVControllerClient::Pause( TInt aId, TRequestStatus& aStatus ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
306 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
307 |
TIpcArgs args( aId ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
308 |
SendReceive( EAVControllerPause, args, aStatus ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
309 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
310 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
311 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
312 |
// RUPnPAVControllerClient::CancelPause |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
313 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
314 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
315 |
TInt RUPnPAVControllerClient::CancelPause( TInt aId ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
316 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
317 |
TIpcArgs args( aId ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
318 |
return SendReceive( EAVControllerCancelPause, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
319 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
320 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
321 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
322 |
// RUPnPAVControllerClient::SetVolume |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
323 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
324 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
325 |
void RUPnPAVControllerClient::SetVolume( TInt aId, TInt aVolumeLevel, |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
326 |
TDes8& aRetVolume, TRequestStatus& aStatus ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
327 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
328 |
TIpcArgs args( aId, aVolumeLevel, &aRetVolume ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
329 |
SendReceive( EAVControllerSetVolume, args, aStatus ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
330 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
331 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
332 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
333 |
// RUPnPAVControllerClient::CancelSetVolume |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
334 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
335 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
336 |
TInt RUPnPAVControllerClient::CancelSetVolume( TInt aId ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
337 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
338 |
TIpcArgs args( aId ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
339 |
return SendReceive( EAVControllerCancelSetVolume, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
340 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
341 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
342 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
343 |
// RUPnPAVControllerClient::GetVolume |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
344 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
345 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
346 |
void RUPnPAVControllerClient::GetVolume( TInt aId, TDes8& aVolumeLevel, |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
347 |
TRequestStatus& aStatus ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
348 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
349 |
TIpcArgs args( aId, &aVolumeLevel ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
350 |
SendReceive( EAVControllerGetVolume, args, aStatus ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
351 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
352 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
353 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
354 |
// RUPnPAVControllerClient::CancelGetVolume |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
355 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
356 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
357 |
TInt RUPnPAVControllerClient::CancelGetVolume( TInt aId ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
358 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
359 |
TIpcArgs args( aId ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
360 |
return SendReceive( EAVControllerCancelGetVolume, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
361 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
362 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
363 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
364 |
// RUPnPAVControllerClient::SetMute |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
365 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
366 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
367 |
void RUPnPAVControllerClient::SetMute( TInt aId, TBool aMute, |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
368 |
TDes8& aRetMute, TRequestStatus& aStatus ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
369 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
370 |
TIpcArgs args( aId, (TInt)aMute, &aRetMute ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
371 |
SendReceive( EAVControllerSetMute, args, aStatus ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
372 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
373 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
374 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
375 |
// RUPnPAVControllerClient::GetMute |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
376 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
377 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
378 |
void RUPnPAVControllerClient::GetMute( TInt aId, TDes8& aMute, |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
379 |
TRequestStatus& aStatus ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
380 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
381 |
TIpcArgs args( aId, &aMute ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
382 |
SendReceive( EAVControllerGetMute, args, aStatus ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
383 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
384 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
385 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
386 |
// RUPnPAVControllerClient::CancelSetMute |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
387 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
388 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
389 |
TInt RUPnPAVControllerClient::CancelSetMute( TInt aId ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
390 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
391 |
TIpcArgs args( aId ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
392 |
return SendReceive( EAVControllerCancelSetMute, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
393 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
394 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
395 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
396 |
// RUPnPAVControllerClient::CancelGetMute |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
397 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
398 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
399 |
TInt RUPnPAVControllerClient::CancelGetMute( TInt aId ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
400 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
401 |
TIpcArgs args( aId ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
402 |
return SendReceive( EAVControllerCancelGetMute, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
403 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
404 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
405 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
406 |
// RUPnPAVControllerClient::GetPositionInfo |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
407 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
408 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
409 |
void RUPnPAVControllerClient::GetPositionInfo( TInt aId, TDes8& aPosition, |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
410 |
TDes8& aLength, TRequestStatus& aStatus ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
411 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
412 |
TIpcArgs args( aId, &aPosition, &aLength ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
413 |
SendReceive( EAVControllerGetPositionInfo, args, aStatus ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
414 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
415 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
416 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
417 |
// RUPnPAVControllerClient::CancelGetPositionInfo |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
418 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
419 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
420 |
TInt RUPnPAVControllerClient::CancelGetPositionInfo( TInt aId ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
421 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
422 |
TIpcArgs args( aId ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
423 |
return SendReceive( EAVControllerCancelGetPositionInfo, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
424 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
425 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
426 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
427 |
// RUPnPAVControllerClient::SeekRelTime |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
428 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
429 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
430 |
void RUPnPAVControllerClient::SeekRelTime( |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
431 |
TInt aId, |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
432 |
TDes8& aTargetTime, |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
433 |
TRequestStatus& aStatus ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
434 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
435 |
TIpcArgs args( aId, &aTargetTime ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
436 |
SendReceive( EAVControllerSeekRelTime, args, aStatus ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
437 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
438 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
439 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
440 |
// RUPnPAVControllerClient::CancelSeekRelTime |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
441 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
442 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
443 |
TInt RUPnPAVControllerClient::CancelSeekRelTime( TInt aId ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
444 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
445 |
TIpcArgs args( aId ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
446 |
return SendReceive( EAVControllerCancelSeekRelTime, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
447 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
448 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
449 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
450 |
// RUPnPAVControllerClient::GetRendererState |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
451 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
452 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
453 |
TInt RUPnPAVControllerClient::GetRendererState( TInt aId, TDes8& aState ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
454 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
455 |
TIpcArgs args( aId, &aState ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
456 |
return SendReceive( EAVControllerGetRendererState, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
457 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
458 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
459 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
460 |
// RUPnPAVControllerClient::CreateBrowsingSession |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
461 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
462 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
463 |
TInt RUPnPAVControllerClient::CreateBrowsingSession( TInt aId, TDes8& aUuid ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
464 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
465 |
TIpcArgs args( aId, &aUuid ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
466 |
return SendReceive( EAVControllerCreateBrowsingSession, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
467 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
468 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
469 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
470 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
471 |
// RUPnPAVControllerClient::DestroyBrowsingSession |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
472 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
473 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
474 |
TInt RUPnPAVControllerClient::DestroyBrowsingSession( TInt aId ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
475 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
476 |
TIpcArgs args( aId ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
477 |
return SendReceive( EAVControllerDestroyBrowsingSession, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
478 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
479 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
480 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
481 |
// RUPnPAVControllerClient::BrowseResponseSize |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
482 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
483 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
484 |
void RUPnPAVControllerClient::BrowseResponseSize( TInt aId, TDes8& aRequest, |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
485 |
TDes8& aParams, TRequestStatus& aStatus ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
486 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
487 |
TIpcArgs args( aId, &aRequest, &aParams ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
488 |
SendReceive( EAVControllerGetBrowseResponseSize, args, aStatus ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
489 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
490 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
491 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
492 |
// RUPnPAVControllerClient::CancelBrowseResponseSize |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
493 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
494 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
495 |
TInt RUPnPAVControllerClient::CancelBrowseResponseSize( TInt aId ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
496 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
497 |
TIpcArgs args( aId ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
498 |
return SendReceive( EAVControllerCancelGetBrowseResponseSize, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
499 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
500 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
501 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
502 |
// RUPnPAVControllerClient::BrowseResponse |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
503 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
504 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
505 |
TInt RUPnPAVControllerClient::BrowseResponse( TInt aId, |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
506 |
TDes8& aBrowseResponse, TDes8& aUpdateId) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
507 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
508 |
TIpcArgs args( aId, &aBrowseResponse, &aUpdateId ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
509 |
return SendReceive( EAVControllerGetBrowseResponse, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
510 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
511 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
512 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
513 |
// RUPnPAVControllerClient::SearchResponseSize |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
514 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
515 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
516 |
void RUPnPAVControllerClient::SearchResponseSize( TInt aId, TDes8& aRequest, |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
517 |
TDes8& aParams, TRequestStatus& aStatus ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
518 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
519 |
TIpcArgs args( aId, &aRequest, &aParams ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
520 |
SendReceive( EAVControllerGetSearchResponseSize, args, aStatus ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
521 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
522 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
523 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
524 |
// RUPnPAVControllerClient::CancelSearchResponseSize |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
525 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
526 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
527 |
TInt RUPnPAVControllerClient::CancelSearchResponseSize( TInt aId ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
528 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
529 |
TIpcArgs args( aId ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
530 |
return SendReceive( EAVControllerCancelGetSearchResponseSize, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
531 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
532 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
533 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
534 |
// RUPnPAVControllerClient::SearchResponse |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
535 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
536 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
537 |
TInt RUPnPAVControllerClient::SearchResponse( TInt aId, |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
538 |
TDes8& aSearchResponse, TDes8& aUpdateId ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
539 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
540 |
TIpcArgs args( aId, &aSearchResponse,& aUpdateId ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
541 |
return SendReceive( EAVControllerGetSearchResponse, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
542 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
543 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
544 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
545 |
// RUPnPAVControllerClient::GetSearchCapabilitiesSize |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
546 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
547 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
548 |
void RUPnPAVControllerClient::GetSearchCapabilitiesSize( TInt aId, |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
549 |
TDes8& aSize, TRequestStatus& aStatus ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
550 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
551 |
TIpcArgs args( aId, &aSize ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
552 |
SendReceive( EAVControllerGetSearchCapabilitiesSize, args, aStatus ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
553 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
554 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
555 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
556 |
// RUPnPAVControllerClient::CancelGetSearchCapabilitiesSize |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
557 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
558 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
559 |
TInt RUPnPAVControllerClient::CancelGetSearchCapabilitiesSize( TInt aId ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
560 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
561 |
TIpcArgs args( aId ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
562 |
return SendReceive( EAVControllerCancelGetSearchCapabilitiesSize, |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
563 |
args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
564 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
565 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
566 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
567 |
// RUPnPAVControllerClient::SearchCapabilitiesResponse |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
568 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
569 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
570 |
TInt RUPnPAVControllerClient::SearchCapabilitiesResponse( TInt aId, |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
571 |
TDes8& aCapabilitiesResponse ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
572 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
573 |
TIpcArgs args( aId, &aCapabilitiesResponse ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
574 |
return SendReceive( EAVControllerGetSearchCapabilities, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
575 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
576 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
577 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
578 |
// RUPnPAVControllerClient::CreateContainer |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
579 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
580 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
581 |
void RUPnPAVControllerClient::CreateContainer( TInt aId, TDes8& aTitle, |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
582 |
TDes8& aParentId, TInt aContainerType, TRequestStatus& aStatus ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
583 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
584 |
TIpcArgs args( aId, &aTitle, &aParentId, aContainerType ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
585 |
SendReceive( EAVControllerCreateContainer, args, aStatus ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
586 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
587 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
588 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
589 |
// RUPnPAVControllerClient::CancelCreateContainer |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
590 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
591 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
592 |
TInt RUPnPAVControllerClient::CancelCreateContainer( TInt aId ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
593 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
594 |
TIpcArgs args( aId ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
595 |
return SendReceive( EAVControllerCancelCreateContainer, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
596 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
597 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
598 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
599 |
// RUPnPAVControllerClient::DeleteObject |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
600 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
601 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
602 |
void RUPnPAVControllerClient::DeleteObject( TInt aId, TDes8& aObjectId, |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
603 |
TRequestStatus& aStatus ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
604 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
605 |
TIpcArgs args( aId, &aObjectId ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
606 |
SendReceive( EAVControllerDeleteObject, args, aStatus ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
607 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
608 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
609 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
610 |
// RUPnPAVControllerClient::CancelDeleteObject |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
611 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
612 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
613 |
TInt RUPnPAVControllerClient::CancelDeleteObject( TInt aId ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
614 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
615 |
TIpcArgs args( aId ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
616 |
return SendReceive( EAVControllerCancelDeleteObject, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
617 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
618 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
619 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
620 |
// RUPnPAVControllerClient::DeviceDisappearedRequest |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
621 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
622 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
623 |
void RUPnPAVControllerClient::DeviceDisappearedRequest( TInt aId, |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
624 |
TRequestStatus& aStatus ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
625 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
626 |
TIpcArgs args( aId ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
627 |
SendReceive( EAVControllerDeviceDisappearedRequest, args, aStatus ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
628 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
629 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
630 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
631 |
// RUPnPAVControllerClient::CancelDeviceDisappearedRequest |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
632 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
633 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
634 |
TInt RUPnPAVControllerClient::CancelDeviceDisappearedRequest( TInt aId ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
635 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
636 |
TIpcArgs args( aId ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
637 |
return SendReceive( EAVControllerCancelDeviceDisappearedRequest, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
638 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
639 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
640 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
641 |
// RUPnPAVControllerClient::MonitorConnection |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
642 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
643 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
644 |
void RUPnPAVControllerClient::MonitorConnection( TRequestStatus& aStatus ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
645 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
646 |
TIpcArgs args( TIpcArgs::ENothing ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
647 |
SendReceive( EAVControllerMonitorConnection, args, aStatus ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
648 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
649 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
650 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
651 |
// RUPnPAVControllerClient::CancelMonitorConnection |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
652 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
653 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
654 |
TInt RUPnPAVControllerClient::CancelMonitorConnection() |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
655 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
656 |
TIpcArgs args( TIpcArgs::ENothing ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
657 |
return SendReceive( EAVControllerCancelMonitorConnection, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
658 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
659 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
660 |
// RUPnPAVControllerClient::CreateDownloadSession |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
661 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
662 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
663 |
TInt RUPnPAVControllerClient::CreateDownloadSession( TInt aId, TDes8& aUuid ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
664 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
665 |
TIpcArgs args( aId, &aUuid ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
666 |
return SendReceive( EAVControllerCreateDownloadSession, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
667 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
668 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
669 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
670 |
// RUPnPAVControllerClient::DestroyDownloadSession |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
671 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
672 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
673 |
TInt RUPnPAVControllerClient::DestroyDownloadSession( TInt aId ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
674 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
675 |
TIpcArgs args( aId ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
676 |
return SendReceive( EAVControllerDestroyDownloadSession, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
677 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
678 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
679 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
680 |
// RUPnPAVControllerClient::CreateUploadSession |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
681 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
682 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
683 |
TInt RUPnPAVControllerClient::CreateUploadSession( TInt aId, TDes8& aUuid ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
684 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
685 |
TIpcArgs args( aId, &aUuid ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
686 |
return SendReceive( EAVControllerCreateUploadSession, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
687 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
688 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
689 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
690 |
// RUPnPAVControllerClient::MSServicesInUse |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
691 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
692 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
693 |
TInt RUPnPAVControllerClient::DestroyUploadSession( TInt aId ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
694 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
695 |
TIpcArgs args( aId ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
696 |
return SendReceive( EAVControllerDestroyUploadSession, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
697 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
698 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
699 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
700 |
// RUPnPAVControllerClient::MSServicesInUse |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
701 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
702 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
703 |
TInt RUPnPAVControllerClient::StartDownload( TInt aId, |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
704 |
TDes8& aFileTransferItem ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
705 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
706 |
TIpcArgs args( aId, &aFileTransferItem ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
707 |
return SendReceive( EAVControllerStartDownload, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
708 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
709 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
710 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
711 |
// RUPnPAVControllerClient::MSServicesInUse |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
712 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
713 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
714 |
TInt RUPnPAVControllerClient::StartDownload( TInt aId, |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
715 |
TDes8& aFileTransferItem, const RFile& aFile ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
716 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
717 |
TIpcArgs args( aId, &aFileTransferItem ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
718 |
aFile.TransferToServer( args, 2, 3 ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
719 |
return SendReceive( EAVControllerStartDownloadFH, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
720 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
721 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
722 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
723 |
// RUPnPAVControllerClient::MSServicesInUse |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
724 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
725 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
726 |
void RUPnPAVControllerClient::GetDownloadEvent( TInt aId, TDes8& aEvent, |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
727 |
TRequestStatus& aStatus, TDes& aBuffer ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
728 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
729 |
TIpcArgs args( aId, &aEvent, &aBuffer ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
730 |
SendReceive( EAVControllerGetDownloadEvent, args, aStatus ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
731 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
732 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
733 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
734 |
// RUPnPAVControllerClient::MSServicesInUse |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
735 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
736 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
737 |
TInt RUPnPAVControllerClient::CancelDownloadEvent( TInt aId ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
738 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
739 |
TIpcArgs args( aId ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
740 |
return SendReceive( EAVControllerCancelDownloadEvent, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
741 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
742 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
743 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
744 |
// RUPnPAVControllerClient::MSServicesInUse |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
745 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
746 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
747 |
TInt RUPnPAVControllerClient::StartTrackingDownloadProgress( TInt aId, |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
748 |
TInt aKey ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
749 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
750 |
TIpcArgs args( aId, aKey ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
751 |
return SendReceive( EAVControllerStartTrackingDownloadProgress, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
752 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
753 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
754 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
755 |
// RUPnPAVControllerClient::MSServicesInUse |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
756 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
757 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
758 |
TInt RUPnPAVControllerClient::CancelDownload( TInt aId, TInt aKey ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
759 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
760 |
TIpcArgs args( aId, aKey ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
761 |
return SendReceive( EAVControllerCancelDownload, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
762 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
763 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
764 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
765 |
// RUPnPAVControllerClient::MSServicesInUse |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
766 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
767 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
768 |
TInt RUPnPAVControllerClient::CancelAllDownloads( TInt aId ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
769 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
770 |
TIpcArgs args( aId ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
771 |
return SendReceive( EAVControllerCancelAllDownloads, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
772 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
773 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
774 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
775 |
// RUPnPAVControllerClient::MSServicesInUse |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
776 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
777 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
778 |
TInt RUPnPAVControllerClient::StartUpload( TInt aId, TDes8& aFileTransferItem ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
779 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
780 |
TIpcArgs args( aId, &aFileTransferItem ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
781 |
return SendReceive( EAVControllerStartUpload, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
782 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
783 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
784 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
785 |
// RUPnPAVControllerClient::MSServicesInUse |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
786 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
787 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
788 |
void RUPnPAVControllerClient::GetUploadEvent( TInt aId, TDes8& aEvent, |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
789 |
TRequestStatus& aStatus ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
790 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
791 |
TIpcArgs args( aId, &aEvent ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
792 |
SendReceive( EAVControllerGetUploadEvent, args, aStatus ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
793 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
794 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
795 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
796 |
// RUPnPAVControllerClient::MSServicesInUse |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
797 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
798 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
799 |
TInt RUPnPAVControllerClient::CancelUploadEvent( TInt aId ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
800 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
801 |
TIpcArgs args( aId ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
802 |
return SendReceive( EAVControllerCancelUploadEvent, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
803 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
804 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
805 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
806 |
// RUPnPAVControllerClient::MSServicesInUse |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
807 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
808 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
809 |
TInt RUPnPAVControllerClient::StartTrackingUploadProgress( TInt aId, TInt aKey ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
810 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
811 |
TIpcArgs args( aId, aKey ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
812 |
return SendReceive( EAVControllerStartTrackingUploadProgress, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
813 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
814 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
815 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
816 |
// RUPnPAVControllerClient::MSServicesInUse |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
817 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
818 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
819 |
TInt RUPnPAVControllerClient::CancelUpload( TInt aId, TInt aKey ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
820 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
821 |
TIpcArgs args( aId, aKey ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
822 |
return SendReceive( EAVControllerCancelUpload, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
823 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
824 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
825 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
826 |
// RUPnPAVControllerClient::MSServicesInUse |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
827 |
// See upnpavcontrollerclient.h |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
828 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
829 |
TInt RUPnPAVControllerClient::CancelAllUploads( TInt aId ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
830 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
831 |
TIpcArgs args( aId ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
832 |
return SendReceive( EAVControllerCancelAllUploads, args ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
833 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
834 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
835 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
836 |
// StartServer |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
837 |
// Static method to start the server. |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
838 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
839 |
static TInt StartServer() |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
840 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
841 |
__LOG( "StartServer" ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
842 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
843 |
TInt result; |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
844 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
845 |
TFindServer findAVControllerServer( KAVControllerName ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
846 |
TFullName name; |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
847 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
848 |
result = findAVControllerServer.Next( name ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
849 |
if ( result != KErrNone ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
850 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
851 |
// server not found - try to create it. |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
852 |
result = CreateServerProcess(); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
853 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
854 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
855 |
return result; |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
856 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
857 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
858 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
859 |
// CreateServerProcess |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
860 |
// Static method to create the server process. |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
861 |
// -------------------------------------------------------------------------- |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
862 |
static TInt CreateServerProcess() |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
863 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
864 |
TInt result; |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
865 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
866 |
const TUidType serverUid( KNullUid, KNullUid, KAVCServerUid3 ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
867 |
RProcess server; |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
868 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
869 |
result = server.Create( KAVControllerFilename, KNullDesC, serverUid ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
870 |
__LOG2( "Process create for '%S' completed with code %d", &KAVControllerFilename, result ); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
871 |
if ( result != KErrNone ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
872 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
873 |
return result; |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
874 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
875 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
876 |
TRequestStatus stat = KRequestPending; |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
877 |
server.Rendezvous(stat); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
878 |
if ( stat != KRequestPending ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
879 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
880 |
server.Kill( 0 ); // abort startup |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
881 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
882 |
else |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
883 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
884 |
server.Resume(); // logon OK - start the server |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
885 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
886 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
887 |
User::WaitForRequest(stat); // wait for start or death |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
888 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
889 |
// we can't use the 'exit reason' if the server panicked as this |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
890 |
// is the panic 'reason' and may be '0' which cannot be distinguished |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
891 |
// from KErrNone |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
892 |
if ( server.ExitType() == EExitPanic ) |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
893 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
894 |
result = KErrGeneral; |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
895 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
896 |
else |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
897 |
{ |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
898 |
result = stat.Int(); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
899 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
900 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
901 |
server.Close(); |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
902 |
return result; |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
903 |
} |
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
904 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
905 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
906 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
907 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
908 |
|
5360b7ddc251
New development branch with e.g. rendering state machine and a simple Qt example application using it.
samhuttu
parents:
0
diff
changeset
|
909 |