21 // SifUi plugin literal and variant map key names defined as _LIT macros. |
21 // SifUi plugin literal and variant map key names defined as _LIT macros. |
22 // Note that _LIT macros defined in this file must match to the definitions |
22 // Note that _LIT macros defined in this file must match to the definitions |
23 // in sifuidevicedialogdefinitions.h and sifuiinstallindicatorparams.h files. |
23 // in sifuidevicedialogdefinitions.h and sifuiinstallindicatorparams.h files. |
24 // Symbian code needs descriptor constants, as Qt code uses QString constants. |
24 // Symbian code needs descriptor constants, as Qt code uses QString constants. |
25 |
25 |
26 // TODO: split this file into two, export install indicator parameters for Java |
|
27 |
|
28 _LIT( KSifUiDeviceDialog, "com.nokia.sifui/1.0" ); |
26 _LIT( KSifUiDeviceDialog, "com.nokia.sifui/1.0" ); |
29 _LIT( KSifUiInstallIndicatorType, "com.nokia.sifui.indi/1.0" ); |
|
30 |
27 |
31 enum TSifUiDeviceDialogType |
28 enum TSifUiDeviceDialogType |
32 { |
29 { |
33 ESifUiConfirmationQuery = 1, |
30 ESifUiConfirmationQuery = 1, |
34 ESifUiProgressNote = 2, |
31 ESifUiProgressNote = 2, |
56 _LIT( KSifUiApplicationIconMaskHandle, "mask" ); // integer, bitmap handle |
53 _LIT( KSifUiApplicationIconMaskHandle, "mask" ); // integer, bitmap handle |
57 _LIT( KSifUiApplicationVersion, "ver" ); // descriptor |
54 _LIT( KSifUiApplicationVersion, "ver" ); // descriptor |
58 _LIT( KSifUiApplicationSize, "size" ); // integer |
55 _LIT( KSifUiApplicationSize, "size" ); // integer |
59 _LIT( KSifUiApplicationDetails, "details" ); // descriptor array |
56 _LIT( KSifUiApplicationDetails, "details" ); // descriptor array |
60 _LIT( KSifUiMemorySelection, "mem" ); // descriptor (comma separated drive letters) |
57 _LIT( KSifUiMemorySelection, "mem" ); // descriptor (comma separated drive letters) |
61 _LIT( KSifUiCertificates, "cert" ); // binary |
58 _LIT( KSifUiCertificates, "cert" ); // binary (CSifUiCertificateInfo) |
62 |
59 |
63 // Variant map keys for "progress note" dialog parameters |
60 // Variant map keys for "progress note" dialog parameters |
64 _LIT( KSifUiProgressNoteText, "txt" ); // string |
61 _LIT( KSifUiProgressNoteText, "txt" ); // string |
65 _LIT( KSifUiProgressNoteFinalValue, "fin" ); // integer |
62 _LIT( KSifUiProgressNoteFinalValue, "fin" ); // integer |
66 _LIT( KSifUiProgressNoteValue, "val" ); // integer |
63 _LIT( KSifUiProgressNoteValue, "val" ); // integer |
71 _LIT( KSifUiProgressNoteIsCancelButtonHidden, "cancelbtn" ); // boolean |
68 _LIT( KSifUiProgressNoteIsCancelButtonHidden, "cancelbtn" ); // boolean |
72 _LIT( KSifUiCompleteNoteIsShowButtonHidden, "showbtn" ); // boolean |
69 _LIT( KSifUiCompleteNoteIsShowButtonHidden, "showbtn" ); // boolean |
73 _LIT( KSifUiErrorNoteIsDetailsButtonHidden, "errdtlbtn" ); // boolean |
70 _LIT( KSifUiErrorNoteIsDetailsButtonHidden, "errdtlbtn" ); // boolean |
74 |
71 |
75 // Variant map keys for "error" dialog parameters |
72 // Variant map keys for "error" dialog parameters |
76 _LIT( KSifUiErrorCode, "err" ); // integer |
73 _LIT( KSifUiErrorCategory, "errcat" ); // enum Usif::TErrorCategory |
77 _LIT( KSifUiErrorMessage, "msg" ); // string |
74 _LIT( KSifUiErrorCode, "errcode" ); // integer |
78 _LIT( KSifUiErrorDetails, "det" ); // string |
75 _LIT( KSifUiErrorCodeExtended, "errext" ); // integer |
|
76 _LIT( KSifUiErrorMessage, "errmsg" ); // string |
|
77 _LIT( KSifUiErrorDetails, "errdet" ); // string |
79 |
78 |
80 // Variant map keys for "install indicator" parameters |
79 // Variant map keys for "grant capabilities" dialog parameters |
81 _LIT( KSifUiInstallIndicatorAppName, "name" ); // string |
80 _LIT( KSifUiGrantCapabilities, "grcap" ); // binary (TCapabilitySet) |
82 _LIT( KSifUiInstallIndicatorPhase, "phase" ); // int CSifUi::TInstallingPhase |
|
83 _LIT( KSifUiInstallIndicatorProgress, "prog" ); // int (0..100), shown as percentage |
|
84 _LIT( KSifUiInstallIndicatorIcon, "icon" ); // TODO: TBD |
|
85 |
81 |
86 #endif // SIFUIDEFS_H |
82 #endif // SIFUIDEFS_H |
87 |
83 |