remotemgmt_plat/devicemgmt_dialogs_api/inc/devicedialogconsts.h
branchRCL_3
changeset 26 19bba8228ff0
parent 25 b183ec05bd8c
child 27 5cc2995847ea
equal deleted inserted replaced
25:b183ec05bd8c 26:19bba8228ff0
     1 /*
       
     2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Orbit specific constants for the device dialog.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef DEVICEDIALOGCONSTS_H_
       
    19 #define DEVICEDIALOGCONSTS_H_
       
    20 
       
    21 #include <e32def.h>
       
    22 #include <qstring.h>
       
    23 
       
    24 /// Number of retries for PIN
       
    25  const TInt KPinRetries = 3;
       
    26  
       
    27  // PIN Max Length
       
    28  const TInt KCPPinMaxLength = 20;
       
    29  
       
    30 //Strings for CP PIN Query Dialog
       
    31 const QString pinquery = "omacppinquery";
       
    32 
       
    33 const char devicedialogtype[] = "com.nokia.hb.devicemanagementdialog/1.0";
       
    34 _LIT(KDeviceDialogType, "com.nokia.hb.devicemanagementdialog/1.0");
       
    35 
       
    36 // Keys for the QVariantMap
       
    37 
       
    38 const QString keydialog = "Dialog";
       
    39 const QString keyparam1 = "Param1";
       
    40 const QString keyparam2 = "Param2";
       
    41 const QString keyparam3 = "Param3";
       
    42 const QString keyparam4 = "Param4";
       
    43 const QString returnkey = "returnkey";
       
    44 
       
    45 _LIT(KKeyDialog, "Dialog");
       
    46 _LIT(KKeyParam1, "Param1");
       
    47 _LIT(KKeyParam2, "Param2");
       
    48 _LIT(KKeyParam3, "Param3");
       
    49 _LIT(KKeyParam4, "Param4");
       
    50 _LIT(KResult,"returnkey");
       
    51 
       
    52 // Enumerations to show the type of dialog to be shown from FOTA. The Enumeration ranges from 1 to 100.
       
    53 
       
    54 enum TFwUpdNoteTypes
       
    55     {
       
    56     //Download related notes
       
    57     EFwDLNeedMoreMemory = 100,
       
    58     EFwDLConnectionFailure,
       
    59     EFwDLGeneralFailure,
       
    60     EFwDLNonResumableFailure,
       
    61     
       
    62     //Updated related notes	
       
    63     EFwUpdNotEnoughBattery,
       
    64     EFwUpdDeviceBusy,
       
    65 		EFwUpdSuccess,
       
    66 		EFwUpdNotCompatible,
       
    67     EFwUpdRebootNote,
       
    68     
       
    69 		//Download related query
       
    70 		EFwUpdResumeDownload,
       
    71 		
       
    72 		//Update related query    
       
    73     EFwUpdResumeUpdate
       
    74     
       
    75     };
       
    76  
       
    77  enum TOmaCPPinDialogTypes
       
    78     {
       
    79     //Download related notes
       
    80     EOmaCPPinDialog = 200
       
    81     
       
    82 		};  
       
    83  
       
    84 
       
    85 enum THbNotifierKeys 
       
    86     {
       
    87     EHbNotifierStatus = 10,
       
    88     EHbNotifierStatusReturn // Return the content of actual status value accepted from UI
       
    89     };
       
    90 
       
    91 enum TSoftkeys
       
    92     {
       
    93     EHbLSK = 1,
       
    94     EHbMSK,
       
    95     EHbRSK
       
    96     };
       
    97 
       
    98 
       
    99 
       
   100 #endif /* DEVICEDIALOGCONSTS_H_ */