diff -r 0818dd463d41 -r 924385140d98 appfw/apparchitecture/inc/APGCLI.H --- a/appfw/apparchitecture/inc/APGCLI.H Thu Aug 19 10:05:08 2010 +0300 +++ b/appfw/apparchitecture/inc/APGCLI.H Tue Aug 31 15:24:25 2010 +0300 @@ -1,4 +1,4 @@ -// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 1997-2010 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available // under the terms of "Eclipse Public License v1.0" @@ -24,6 +24,12 @@ #include #include +#ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK +#include "apgupdate.h" +//#include +#include +#endif + // classes referenced class RFile; class MArrayFiller; @@ -65,7 +71,6 @@ RPointerArray iItems; }; - /** A session with the application architecture server. The server provides access to a cached list of the applications on the device. @@ -234,6 +239,7 @@ IMPORT_C TInt RollbackNonNativeApplicationsUpdates(); IMPORT_C TInt GetAppType(TUid& aTypeUid, TUid aAppUid) const; IMPORT_C TInt ForceRegistration(const RPointerArray& aRegFiles); + private: // Reserved for future use IMPORT_C virtual void RApaLsSession_Reserved1(); IMPORT_C virtual void RApaLsSession_Reserved2(); @@ -245,6 +251,12 @@ */ IMPORT_C void ForceCommitNonNativeApplicationsUpdatesL(); +#ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK + IMPORT_C TInt UpdateAppListL(RArray& aAppUpdateInfo); + IMPORT_C TInt ForceRegistration(const RPointerArray& aForceRegAppsInfo); + IMPORT_C TInt UpdatedAppsInfoL(RArray& aUpdatedApps); +#endif + private: void DoGetAppOwnedFilesL(CDesCArray& aArrayToFill, TUid aAppUid) const; void DoGetAppViewsL(CApaAppViewArray& aArrayToFill, TUid aAppUid) const; @@ -267,9 +279,17 @@ void DoStartAppL(const CApaCommandLine& aCommandLine, TThreadId* aThreadId, TRequestStatus* aRequestStatusForRendezvous); static void GetMainThreadIdL(TThreadId& aThreadId, const RProcess& aProcess); static void DeletePointerToPointerToTAny(TAny* aPointerToPointerToTAny); + +#ifndef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK static CBufFlat* CreateRegFilesBufferL(const RPointerArray& aRegFiles); +#endif + static void CleanupOperation(TAny* aAny); +#ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK + CBufFlat* CreateAppUpdateInfoBufferL(RArray& aAppUpdateInfo); + CBufFlat* CreateForceRegAppInfoBufferL(const RPointerArray& aForceRegAppsInfo); +#endif private: // data friend class CApaLsSessionExtension; CApaLsSessionExtension* iExtension;