remotemgmt_plat/devicemgmt_dialogs_api/inc/devicedialogconsts.h
changeset 35 0deca9b72b62
child 44 39aa16f3fdc2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/remotemgmt_plat/devicemgmt_dialogs_api/inc/devicedialogconsts.h	Fri Jun 11 14:27:59 2010 +0300
@@ -0,0 +1,79 @@
+/*
+ * devicedialogconsts.h
+ *
+ *  Created on: Apr 20, 2010
+ *      Author: gnataraj
+ */
+
+#ifndef DEVICEDIALOGCONSTS_H_
+#define DEVICEDIALOGCONSTS_H_
+
+
+/// Number of retries for PIN
+ const TInt KPinRetries = 3;
+ 
+ // PIN Max Length
+ const int KCPPinMaxLength = 20;
+ 
+//Strings for CP PIN Query Dialog
+const QString pinquery = "omacppinquery";
+const QString returnkey = "returnkey";
+
+const char devicedialogtype[] = "com.nokia.hb.devicemanagementdialog/1.0";
+_LIT(KDeviceDialogType, "com.nokia.hb.devicemanagementdialog/1.0");
+
+// Keys for the QVariantMap
+
+const QString keydialog = "Dialog";
+const QString keyparam1 = "Param1";
+const QString keyparam2 = "Param2";
+const QString keyparam3 = "Param3";
+
+// Enumerations to show the type of dialog to be shown from FOTA. The Enumeration ranges from 1 to 100.
+
+enum TFwUpdNoteTypes
+    {
+    //Download related notes
+    EFwDLNeedMoreMemory = 100,
+    EFwDLConnectionFailure,
+    EFwDLGeneralFailure,
+    
+    //Updated related notes	
+    EFwUpdNotEnoughBattery,
+    EFwUpdDeviceBusy,
+		EFwUpdSuccess,
+		EFwUpdNotCompatible,
+    EFwUpdRebootNote,
+    
+		//Download related query
+		EFwUpdResumeDownload,
+		
+		//Update related query    
+    EFwUpdResumeUpdate
+    
+    };
+ 
+ enum TOmaCPPinDialogTypes
+    {
+    //Download related notes
+    EOmaCPPinDialog = 200
+    
+		};  
+ 
+
+enum THbNotifierKeys 
+    {
+    EHbNotifierStatus = 10,
+    EHbNotifierStatusReturn // Return the content of actual status value accepted from UI
+    };
+
+enum TSoftkeys
+    {
+    EHbLSK = 1,
+    EHbMSK,
+    EHbRSK
+    };
+
+
+
+#endif /* DEVICEDIALOGCONSTS_H_ */