appinstall_plat/sifui_api/inc/sifuidefs.h
changeset 55 ac7f90a6ff4c
parent 42 d17dc5398051
child 58 67f2119dc623
equal deleted inserted replaced
50:c6e8afe0ba85 55:ac7f90a6ff4c
    20 
    20 
    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 
       
    26 // TODO: split this file into two, export install indicator parameters for Java
    25 
    27 
    26 _LIT( KSifUiDeviceDialog, "com.nokia.sifui/1.0" );
    28 _LIT( KSifUiDeviceDialog, "com.nokia.sifui/1.0" );
    27 _LIT( KSifUiInstallIndicatorType, "com.nokia.sifui.indi/1.0" );
    29 _LIT( KSifUiInstallIndicatorType, "com.nokia.sifui.indi/1.0" );
    28 
    30 
    29 enum TSifUiDeviceDialogType
    31 enum TSifUiDeviceDialogType
    60 
    62 
    61 // Variant map keys for "progress note" dialog parameters
    63 // Variant map keys for "progress note" dialog parameters
    62 _LIT( KSifUiProgressNoteText, "txt" );              // string
    64 _LIT( KSifUiProgressNoteText, "txt" );              // string
    63 _LIT( KSifUiProgressNoteFinalValue, "fin" );        // integer
    65 _LIT( KSifUiProgressNoteFinalValue, "fin" );        // integer
    64 _LIT( KSifUiProgressNoteValue, "val" );             // integer
    66 _LIT( KSifUiProgressNoteValue, "val" );             // integer
       
    67 _LIT( KSifUiProgressNotePhase, "phase" );           // enum CSifUi::TInstallingPhase
    65 
    68 
    66 // Variant map keys for "progress note" and "installation complete note" buttons
    69 // Variant map keys for "progress note" and "installation complete note" buttons
    67 _LIT( KSifUiProgressNoteIsHideButtonHidden, "hidebtn" );        // boolean
    70 _LIT( KSifUiProgressNoteIsHideButtonHidden, "hidebtn" );        // boolean
    68 _LIT( KSifUiProgressNoteIsCancelButtonHidden, "cancelbtn" );    // boolean
    71 _LIT( KSifUiProgressNoteIsCancelButtonHidden, "cancelbtn" );    // boolean
    69 _LIT( KSifUiCompleteNoteIsShowButtonHidden, "showbtn" );        // boolean
    72 _LIT( KSifUiCompleteNoteIsShowButtonHidden, "showbtn" );        // boolean
    72 // Variant map keys for "error" dialog parameters
    75 // Variant map keys for "error" dialog parameters
    73 _LIT( KSifUiErrorCode, "err" );                     // integer
    76 _LIT( KSifUiErrorCode, "err" );                     // integer
    74 _LIT( KSifUiErrorMessage, "msg" );                  // string
    77 _LIT( KSifUiErrorMessage, "msg" );                  // string
    75 _LIT( KSifUiErrorDetails, "det" );                  // string
    78 _LIT( KSifUiErrorDetails, "det" );                  // string
    76 
    79 
       
    80 // Variant map keys for "install indicator" parameters
       
    81 _LIT( KSifUiInstallIndicatorAppName, "name" );      // string
       
    82 _LIT( KSifUiInstallIndicatorPhase, "phase" );       // int CSifUi::TInstallingPhase
       
    83 _LIT( KSifUiInstallIndicatorProgress, "prog" );     // int (0..100), shown as percentage
       
    84 _LIT( KSifUiInstallIndicatorIcon, "icon" );         // TODO: TBD
       
    85 
    77 #endif  // SIFUIDEFS_H
    86 #endif  // SIFUIDEFS_H
    78 
    87