equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * This file defines a SIF utility library. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 /** |
|
21 @file |
|
22 @publishedAll |
|
23 @released |
|
24 */ |
|
25 |
|
26 #ifndef SIFUTILS_H |
|
27 #define SIFUTILS_H |
|
28 #include <e32cmn.h> |
|
29 |
|
30 namespace Usif |
|
31 { |
|
32 |
|
33 /** |
|
34 This function uninstalls a component by removing it from the SCR and deleting its files. |
|
35 This is a synchronous API and therefore doesn't support cancellation. Hence, it is designated |
|
36 for simple installers that don't require this functionality. |
|
37 |
|
38 @param aComponentId The id of a component to be uninstalled |
|
39 @leave System wide error code |
|
40 */ |
|
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(); |
|
52 } |
|
53 |
|
54 #endif // SIFUTILS_H |
|