|
1 /* |
|
2 * Copyright (c) 2005-2009 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 "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: javautils pskey definitions |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef JAVADOMAINPSKEY_H |
|
19 #define JAVADOMAINPSKEY_H |
|
20 |
|
21 /** |
|
22 * This header provides info about Java environment PS keys. |
|
23 * |
|
24 * During Java application installation the JavaInstaller updates the |
|
25 * installation state to P&S keys. The states are changed as follows: |
|
26 * |
|
27 * Installation (or upgrade) begins: iUid = 0, iProgress = 0, iState = INSTALLING |
|
28 * Installation proceeds: iUid = no_change, iProgress = xx%, iState = no_change |
|
29 * Installation completes: iUid = suiteUid, iProgress = 100, iState = INSTALL_OK |
|
30 * Installation fails: iUid = suiteUid, iProgress = 0, iState = INSTALL_FAIL |
|
31 * |
|
32 * Uninstallation begins: iUid = 0, iProgress = 0, iState = UNINSTALLING |
|
33 * Uninstallation proceeds: iUid = no_change, iProgress = xx%, iState = no_change |
|
34 * Uninstallation completes: iUid = suiteUid, iProgress = 100, iState = UNINSTALL_OK |
|
35 * Uninstallation fails: iUid = suiteUid, iProgress = 0, iState = UNINSTALL_FAIL |
|
36 * |
|
37 * |
|
38 * |
|
39 * P&S keys that are updated: |
|
40 * |
|
41 * iUid ==> KPSUidJavaLatestInstallation |
|
42 * iProgress ==> KPSUidJavaLatestInstallationProgress |
|
43 * iState ==> KPSUidJavaLatestInstallationState |
|
44 * |
|
45 * Values for the P&S keys: |
|
46 * |
|
47 * INSTALLING = 0x100; |
|
48 * INSTALL_OK = 0x101; |
|
49 * INSTALL_FAIL = 0x102; |
|
50 * UNINSTALLING = 0x200; |
|
51 * UNINSTALL_OK = 0x201; |
|
52 * UNINSTALL_FAIL = 0x202; |
|
53 */ |
|
54 |
|
55 #ifndef KPSUidJavaLatestInstallation |
|
56 /** PS flag for the most recent installed Java application. */ |
|
57 #define KPSUidJavaLatestInstallation 0x10282567 |
|
58 #endif |
|
59 |
|
60 #ifndef KPSUidJavaLatestInstallationProgress |
|
61 /** PS flag for indicating JavaInstaller installation progress. */ |
|
62 #define KPSUidJavaLatestInstallationProgress 0x20019546 |
|
63 #endif |
|
64 |
|
65 #ifndef KPSUidJavaLatestInstallationState |
|
66 /** PS flag for JavaInstaller latest installation state. */ |
|
67 #define KPSUidJavaLatestInstallationState 0x20019547 |
|
68 #endif |
|
69 |
|
70 #endif //JAVADOMAINPSKEY_H |
|
71 |