remotemgmt_plat/devicemgmt_dialogs_api/inc/devicedialogconsts.h
author hgs
Tue, 13 Jul 2010 09:26:23 +0530
changeset 49 689a71addb96
parent 47 dd41e7de3375
child 44 39aa16f3fdc2
permissions -rw-r--r--
201025

/*
 * 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_ */