diff -r 84a16765cd86 -r 98b66e4fb0be installationservices/swinstallationfw/inc/sifutils.h --- a/installationservices/swinstallationfw/inc/sifutils.h Fri Mar 19 09:33:35 2010 +0200 +++ b/installationservices/swinstallationfw/inc/sifutils.h Fri Apr 16 15:05:20 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of the License "Eclipse Public License v1.0" @@ -25,18 +25,30 @@ #ifndef SIFUTILS_H #define SIFUTILS_H +#include namespace Usif { + /** This function uninstalls a component by removing it from the SCR and deleting its files. This is a synchronous API and therefore doesn't support cancellation. Hence, it is designated - for simple installers that don't require this functionlaity. + for simple installers that don't require this functionality. @param aComponentId The id of a component to be uninstalled @leave System wide error code */ IMPORT_C void UninstallL(TComponentId aComponentId); + + /** + Generate a new AppUid to be used to register non native applications. + + The cenrep file of SCR contains a list of AppUid ranges preallocated to non native apps. + This API can be used to request a new UID from these ranges. + + @return an AppUid if available, else a null object is returned. + */ + IMPORT_C TUid GenerateNewAppUidL(); } #endif // SIFUTILS_H