equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2008-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 the License "Eclipse Public License v1.0" |
5 * under the terms of the License "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". |
23 @released |
23 @released |
24 */ |
24 */ |
25 |
25 |
26 #ifndef SIFUTILS_H |
26 #ifndef SIFUTILS_H |
27 #define SIFUTILS_H |
27 #define SIFUTILS_H |
|
28 #include <e32cmn.h> |
28 |
29 |
29 namespace Usif |
30 namespace Usif |
30 { |
31 { |
|
32 |
31 /** |
33 /** |
32 This function uninstalls a component by removing it from the SCR and deleting its files. |
34 This function uninstalls a component by removing it from the SCR and deleting its files. |
33 This is a synchronous API and therefore doesn't support cancellation. Hence, it is designated |
35 This is a synchronous API and therefore doesn't support cancellation. Hence, it is designated |
34 for simple installers that don't require this functionlaity. |
36 for simple installers that don't require this functionality. |
35 |
37 |
36 @param aComponentId The id of a component to be uninstalled |
38 @param aComponentId The id of a component to be uninstalled |
37 @leave System wide error code |
39 @leave System wide error code |
38 */ |
40 */ |
39 IMPORT_C void UninstallL(TComponentId aComponentId); |
41 IMPORT_C void UninstallL(TComponentId aComponentId); |
|
42 |
|
43 /** |
|
44 Generate a new AppUid to be used to register non native applications. |
|
45 |
|
46 The cenrep file of SCR contains a list of AppUid ranges preallocated to non native apps. |
|
47 This API can be used to request a new UID from these ranges. |
|
48 |
|
49 @return an AppUid if available, else a null object is returned. |
|
50 */ |
|
51 IMPORT_C TUid GenerateNewAppUidL(); |
40 } |
52 } |
41 |
53 |
42 #endif // SIFUTILS_H |
54 #endif // SIFUTILS_H |