remotemgmt_plat/devicemgmt_dialogs_api/inc/devicedialogconsts.h
changeset 44 39aa16f3fdc2
parent 35 0deca9b72b62
child 55 1c556dee8eb1
equal deleted inserted replaced
43:c8e5c3d81b42 44:39aa16f3fdc2
     6  */
     6  */
     7 
     7 
     8 #ifndef DEVICEDIALOGCONSTS_H_
     8 #ifndef DEVICEDIALOGCONSTS_H_
     9 #define DEVICEDIALOGCONSTS_H_
     9 #define DEVICEDIALOGCONSTS_H_
    10 
    10 
       
    11 #include <e32def.h>
       
    12 #include <qstring.h>
    11 
    13 
    12 /// Number of retries for PIN
    14 /// Number of retries for PIN
    13  const TInt KPinRetries = 3;
    15  const TInt KPinRetries = 3;
    14  
    16  
    15  // PIN Max Length
    17  // PIN Max Length
    16  const int KCPPinMaxLength = 20;
    18  const TInt KCPPinMaxLength = 20;
    17  
    19  
    18 //Strings for CP PIN Query Dialog
    20 //Strings for CP PIN Query Dialog
    19 const QString pinquery = "omacppinquery";
    21 const QString pinquery = "omacppinquery";
    20 const QString returnkey = "returnkey";
       
    21 
    22 
    22 const char devicedialogtype[] = "com.nokia.hb.devicemanagementdialog/1.0";
    23 const char devicedialogtype[] = "com.nokia.hb.devicemanagementdialog/1.0";
    23 _LIT(KDeviceDialogType, "com.nokia.hb.devicemanagementdialog/1.0");
    24 _LIT(KDeviceDialogType, "com.nokia.hb.devicemanagementdialog/1.0");
    24 
    25 
    25 // Keys for the QVariantMap
    26 // Keys for the QVariantMap
    26 
    27 
    27 const QString keydialog = "Dialog";
    28 const QString keydialog = "Dialog";
    28 const QString keyparam1 = "Param1";
    29 const QString keyparam1 = "Param1";
    29 const QString keyparam2 = "Param2";
    30 const QString keyparam2 = "Param2";
    30 const QString keyparam3 = "Param3";
    31 const QString keyparam3 = "Param3";
       
    32 const QString keyparam4 = "Param4";
       
    33 const QString returnkey = "returnkey";
       
    34 
       
    35 _LIT(KKeyDialog, "Dialog");
       
    36 _LIT(KKeyParam1, "Param1");
       
    37 _LIT(KKeyParam2, "Param2");
       
    38 _LIT(KKeyParam3, "Param3");
       
    39 _LIT(KKeyParam4, "Param4");
       
    40 _LIT(KResult,"returnkey");
    31 
    41 
    32 // Enumerations to show the type of dialog to be shown from FOTA. The Enumeration ranges from 1 to 100.
    42 // Enumerations to show the type of dialog to be shown from FOTA. The Enumeration ranges from 1 to 100.
    33 
    43 
    34 enum TFwUpdNoteTypes
    44 enum TFwUpdNoteTypes
    35     {
    45     {
    36     //Download related notes
    46     //Download related notes
    37     EFwDLNeedMoreMemory = 100,
    47     EFwDLNeedMoreMemory = 100,
    38     EFwDLConnectionFailure,
    48     EFwDLConnectionFailure,
    39     EFwDLGeneralFailure,
    49     EFwDLGeneralFailure,
       
    50     EFwDLNonResumableFailure,
    40     
    51     
    41     //Updated related notes	
    52     //Updated related notes	
    42     EFwUpdNotEnoughBattery,
    53     EFwUpdNotEnoughBattery,
    43     EFwUpdDeviceBusy,
    54     EFwUpdDeviceBusy,
    44 		EFwUpdSuccess,
    55 		EFwUpdSuccess,