47
|
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 |
|
|
12 |
/// Number of retries for PIN
|
|
13 |
const TInt KPinRetries = 3;
|
|
14 |
|
|
15 |
// PIN Max Length
|
|
16 |
const int KCPPinMaxLength = 20;
|
|
17 |
|
|
18 |
//Strings for CP PIN Query Dialog
|
|
19 |
const QString pinquery = "omacppinquery";
|
|
20 |
const QString returnkey = "returnkey";
|
|
21 |
|
|
22 |
const char devicedialogtype[] = "com.nokia.hb.devicemanagementdialog/1.0";
|
|
23 |
_LIT(KDeviceDialogType, "com.nokia.hb.devicemanagementdialog/1.0");
|
|
24 |
|
|
25 |
// Keys for the QVariantMap
|
|
26 |
|
|
27 |
const QString keydialog = "Dialog";
|
|
28 |
const QString keyparam1 = "Param1";
|
|
29 |
const QString keyparam2 = "Param2";
|
|
30 |
const QString keyparam3 = "Param3";
|
|
31 |
|
|
32 |
// Enumerations to show the type of dialog to be shown from FOTA. The Enumeration ranges from 1 to 100.
|
|
33 |
|
|
34 |
enum TFwUpdNoteTypes
|
|
35 |
{
|
|
36 |
//Download related notes
|
|
37 |
EFwDLNeedMoreMemory = 100,
|
|
38 |
EFwDLConnectionFailure,
|
|
39 |
EFwDLGeneralFailure,
|
|
40 |
|
|
41 |
//Updated related notes
|
|
42 |
EFwUpdNotEnoughBattery,
|
|
43 |
EFwUpdDeviceBusy,
|
|
44 |
EFwUpdSuccess,
|
|
45 |
EFwUpdNotCompatible,
|
|
46 |
EFwUpdRebootNote,
|
|
47 |
|
|
48 |
//Download related query
|
|
49 |
EFwUpdResumeDownload,
|
|
50 |
|
|
51 |
//Update related query
|
|
52 |
EFwUpdResumeUpdate
|
|
53 |
|
|
54 |
};
|
|
55 |
|
|
56 |
enum TOmaCPPinDialogTypes
|
|
57 |
{
|
|
58 |
//Download related notes
|
|
59 |
EOmaCPPinDialog = 200
|
|
60 |
|
|
61 |
};
|
|
62 |
|
|
63 |
|
|
64 |
enum THbNotifierKeys
|
|
65 |
{
|
|
66 |
EHbNotifierStatus = 10,
|
|
67 |
EHbNotifierStatusReturn // Return the content of actual status value accepted from UI
|
|
68 |
};
|
|
69 |
|
|
70 |
enum TSoftkeys
|
|
71 |
{
|
|
72 |
EHbLSK = 1,
|
|
73 |
EHbMSK,
|
|
74 |
EHbRSK
|
|
75 |
};
|
|
76 |
|
|
77 |
|
|
78 |
|
|
79 |
#endif /* DEVICEDIALOGCONSTS_H_ */
|