1 // Copyright (c) 1997-2010 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
237 IMPORT_C void DeregisterNonNativeApplicationL(TUid aApplication); |
232 IMPORT_C void DeregisterNonNativeApplicationL(TUid aApplication); |
238 IMPORT_C void CommitNonNativeApplicationsUpdatesL(); |
233 IMPORT_C void CommitNonNativeApplicationsUpdatesL(); |
239 IMPORT_C TInt RollbackNonNativeApplicationsUpdates(); |
234 IMPORT_C TInt RollbackNonNativeApplicationsUpdates(); |
240 IMPORT_C TInt GetAppType(TUid& aTypeUid, TUid aAppUid) const; |
235 IMPORT_C TInt GetAppType(TUid& aTypeUid, TUid aAppUid) const; |
241 IMPORT_C TInt ForceRegistration(const RPointerArray<TDesC>& aRegFiles); |
236 IMPORT_C TInt ForceRegistration(const RPointerArray<TDesC>& aRegFiles); |
242 |
|
243 private: // Reserved for future use |
237 private: // Reserved for future use |
244 IMPORT_C virtual void RApaLsSession_Reserved1(); |
238 IMPORT_C virtual void RApaLsSession_Reserved1(); |
245 IMPORT_C virtual void RApaLsSession_Reserved2(); |
239 IMPORT_C virtual void RApaLsSession_Reserved2(); |
246 |
240 |
247 public: |
241 public: |
249 @publishedPartner |
243 @publishedPartner |
250 @released |
244 @released |
251 */ |
245 */ |
252 IMPORT_C void ForceCommitNonNativeApplicationsUpdatesL(); |
246 IMPORT_C void ForceCommitNonNativeApplicationsUpdatesL(); |
253 |
247 |
254 #ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK |
|
255 IMPORT_C TInt UpdateAppListL(RArray<TApaAppUpdateInfo>& aAppUpdateInfo); |
|
256 IMPORT_C TInt ForceRegistration(const RPointerArray<Usif::CApplicationRegistrationData>& aForceRegAppsInfo); |
|
257 IMPORT_C TInt UpdatedAppsInfoL(RArray<TApaAppUpdateInfo>& aUpdatedApps); |
|
258 #endif |
|
259 |
|
260 private: |
248 private: |
261 void DoGetAppOwnedFilesL(CDesCArray& aArrayToFill, TUid aAppUid) const; |
249 void DoGetAppOwnedFilesL(CDesCArray& aArrayToFill, TUid aAppUid) const; |
262 void DoGetAppViewsL(CApaAppViewArray& aArrayToFill, TUid aAppUid) const; |
250 void DoGetAppViewsL(CApaAppViewArray& aArrayToFill, TUid aAppUid) const; |
263 void DoGetAppIconSizesL(TUid aAppUid, CArrayFixFlat<TSize>& aArrayToFill) const; |
251 void DoGetAppIconSizesL(TUid aAppUid, CArrayFixFlat<TSize>& aArrayToFill) const; |
264 TInt DoAppCount(TInt& aCount,TInt aCommand) const; |
252 TInt DoAppCount(TInt& aCount,TInt aCommand) const; |
277 TInt GetNewBufferFromFile(HBufC8*& aBuffer, const TDesC& aFileName) const; |
265 TInt GetNewBufferFromFile(HBufC8*& aBuffer, const TDesC& aFileName) const; |
278 TInt DoStartApp(const CApaCommandLine& aCommandLine, TThreadId* aThreadId, TRequestStatus* aRequestStatusForRendezvous); |
266 TInt DoStartApp(const CApaCommandLine& aCommandLine, TThreadId* aThreadId, TRequestStatus* aRequestStatusForRendezvous); |
279 void DoStartAppL(const CApaCommandLine& aCommandLine, TThreadId* aThreadId, TRequestStatus* aRequestStatusForRendezvous); |
267 void DoStartAppL(const CApaCommandLine& aCommandLine, TThreadId* aThreadId, TRequestStatus* aRequestStatusForRendezvous); |
280 static void GetMainThreadIdL(TThreadId& aThreadId, const RProcess& aProcess); |
268 static void GetMainThreadIdL(TThreadId& aThreadId, const RProcess& aProcess); |
281 static void DeletePointerToPointerToTAny(TAny* aPointerToPointerToTAny); |
269 static void DeletePointerToPointerToTAny(TAny* aPointerToPointerToTAny); |
282 |
|
283 #ifndef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK |
|
284 static CBufFlat* CreateRegFilesBufferL(const RPointerArray<TDesC>& aRegFiles); |
270 static CBufFlat* CreateRegFilesBufferL(const RPointerArray<TDesC>& aRegFiles); |
285 #endif |
|
286 |
|
287 static void CleanupOperation(TAny* aAny); |
271 static void CleanupOperation(TAny* aAny); |
288 |
272 |
289 #ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK |
|
290 CBufFlat* CreateAppUpdateInfoBufferL(RArray<TApaAppUpdateInfo>& aAppUpdateInfo); |
|
291 CBufFlat* CreateForceRegAppInfoBufferL(const RPointerArray<Usif::CApplicationRegistrationData>& aForceRegAppsInfo); |
|
292 #endif |
|
293 private: // data |
273 private: // data |
294 friend class CApaLsSessionExtension; |
274 friend class CApaLsSessionExtension; |
295 CApaLsSessionExtension* iExtension; |
275 CApaLsSessionExtension* iExtension; |
296 }; |
276 }; |
297 |
277 |