equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
62 * |
62 * |
63 * @return System wide error code. |
63 * @return System wide error code. |
64 * |
64 * |
65 * @since S60 v3.2 |
65 * @since S60 v3.2 |
66 */ |
66 */ |
67 TInt Open( TBool aToBackground ); |
67 TInt Open(); |
68 |
68 |
69 /** |
69 /** |
70 * Close releases the resources allocated by this class object. |
70 * Close releases the resources allocated by this class object. |
71 * After Close is called, this R-class object may go out of scope. |
71 * After Close is called, this R-class object may go out of scope. |
72 * |
72 * |
74 * the operation will continue but callback functions of the observer |
74 * the operation will continue but callback functions of the observer |
75 * will not be called when operation progresses. |
75 * will not be called when operation progresses. |
76 * |
76 * |
77 * @since S60 v3.2 |
77 * @since S60 v3.2 |
78 */ |
78 */ |
|
79 TInt OpenToBackroundAsync( TRequestStatus& aStatus ); |
|
80 |
|
81 TInt ConnectToApp(); |
|
82 |
79 void Close(); |
83 void Close(); |
80 |
84 |
81 |
85 |
82 /** |
86 /** |
83 * @see CIAUpdate::CheckUpdates |
87 * @see CIAUpdate::CheckUpdates |
166 */ |
170 */ |
167 TUid ServiceUid() const; |
171 TUid ServiceUid() const; |
168 |
172 |
169 |
173 |
170 private: |
174 private: |
171 |
175 |
172 // These functions send the operation requests to the server. |
176 // These functions send the operation requests to the server. |
173 |
177 |
174 TInt SendCheckUpdatesRequest( TInt aUpdateFunction, |
178 TInt SendCheckUpdatesRequest( TInt aUpdateFunction, |
175 const CIAUpdateParameters& aUpdateParameters, |
179 const CIAUpdateParameters& aUpdateParameters, |
176 TInt& aCount, |
180 TInt& aCount, |
183 TInt& aNumberOfCancelledUpdates, |
187 TInt& aNumberOfCancelledUpdates, |
184 TRequestStatus& aStatus ); |
188 TRequestStatus& aStatus ); |
185 |
189 |
186 void ConnectNewAppToBackgroundL( TUid aAppUid ); |
190 void ConnectNewAppToBackgroundL( TUid aAppUid ); |
187 |
191 |
|
192 void StartNewAppToBackgroundL( TUid aAppUid, TRequestStatus& aStatus ); |
|
193 |
188 void ServerName(TName& aServerName, TUid aAppServerUid, TUint aServerDifferentiator); |
194 void ServerName(TName& aServerName, TUid aAppServerUid, TUint aServerDifferentiator); |
189 |
195 |
190 TUint GenerateServerDifferentiatorAndName(TName& aServerName, TUid aAppServerUid); |
196 TUint GenerateServerDifferentiatorAndName(TName& aServerName, TUid aAppServerUid); |
191 |
197 |
192 |
198 |
195 HBufC8* iData; |
201 HBufC8* iData; |
196 |
202 |
197 TBool iConnected; |
203 TBool iConnected; |
198 |
204 |
199 TInt iOwnWgId; |
205 TInt iOwnWgId; |
|
206 |
|
207 TUint iDifferentiator; |
200 |
208 |
201 TPtr8 iPtr1; |
209 TPtr8 iPtr1; |
202 TPtr8 iPtr2; |
210 TPtr8 iPtr2; |
203 TPtr8 iPtr3; |
211 TPtr8 iPtr3; |
204 }; |
212 }; |