remotemgmt_plat/devicemgmt_dialogs_api/inc/devicedialogconsts.h
branchGCC_SURGE
changeset 53 b3a7d8e28262
parent 44 39aa16f3fdc2
child 55 1c556dee8eb1
equal deleted inserted replaced
39:ac7f88fb2797 53:b3a7d8e28262
       
     1 /*
       
     2  * devicedialogconsts.h
       
     3  *
       
     4  *  Created on: Apr 20, 2010
       
     5  *      Author: gnataraj
       
     6  */
       
     7 
       
     8 #ifndef DEVICEDIALOGCONSTS_H_
       
     9 #define DEVICEDIALOGCONSTS_H_
       
    10 
       
    11 #include <e32def.h>
       
    12 #include <qstring.h>
       
    13 
       
    14 /// Number of retries for PIN
       
    15  const TInt KPinRetries = 3;
       
    16  
       
    17  // PIN Max Length
       
    18  const TInt KCPPinMaxLength = 20;
       
    19  
       
    20 //Strings for CP PIN Query Dialog
       
    21 const QString pinquery = "omacppinquery";
       
    22 
       
    23 const char devicedialogtype[] = "com.nokia.hb.devicemanagementdialog/1.0";
       
    24 _LIT(KDeviceDialogType, "com.nokia.hb.devicemanagementdialog/1.0");
       
    25 
       
    26 // Keys for the QVariantMap
       
    27 
       
    28 const QString keydialog = "Dialog";
       
    29 const QString keyparam1 = "Param1";
       
    30 const QString keyparam2 = "Param2";
       
    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");
       
    41 
       
    42 // Enumerations to show the type of dialog to be shown from FOTA. The Enumeration ranges from 1 to 100.
       
    43 
       
    44 enum TFwUpdNoteTypes
       
    45     {
       
    46     //Download related notes
       
    47     EFwDLNeedMoreMemory = 100,
       
    48     EFwDLConnectionFailure,
       
    49     EFwDLGeneralFailure,
       
    50     EFwDLNonResumableFailure,
       
    51     
       
    52     //Updated related notes	
       
    53     EFwUpdNotEnoughBattery,
       
    54     EFwUpdDeviceBusy,
       
    55 		EFwUpdSuccess,
       
    56 		EFwUpdNotCompatible,
       
    57     EFwUpdRebootNote,
       
    58     
       
    59 		//Download related query
       
    60 		EFwUpdResumeDownload,
       
    61 		
       
    62 		//Update related query    
       
    63     EFwUpdResumeUpdate
       
    64     
       
    65     };
       
    66  
       
    67  enum TOmaCPPinDialogTypes
       
    68     {
       
    69     //Download related notes
       
    70     EOmaCPPinDialog = 200
       
    71     
       
    72 		};  
       
    73  
       
    74 
       
    75 enum THbNotifierKeys 
       
    76     {
       
    77     EHbNotifierStatus = 10,
       
    78     EHbNotifierStatusReturn // Return the content of actual status value accepted from UI
       
    79     };
       
    80 
       
    81 enum TSoftkeys
       
    82     {
       
    83     EHbLSK = 1,
       
    84     EHbMSK,
       
    85     EHbRSK
       
    86     };
       
    87 
       
    88 
       
    89 
       
    90 #endif /* DEVICEDIALOGCONSTS_H_ */