XDMSettingsUI/inc/XDMPlugin.hrh
changeset 26 04ca1926b01c
parent 20 76bddcd072ba
child 28 d9861ae9169c
child 32 32463a6c57b3
equal deleted inserted replaced
20:76bddcd072ba 26:04ca1926b01c
     1 /*
       
     2 * Copyright (c) 2009 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:  XDM Settings enumerations
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef XDM_PLUGIN_HRH
       
    20 #define XDM_PLUGIN_HRH
       
    21 
       
    22 /**
       
    23  * TSettingItems - identifiers for individual setting items
       
    24  */
       
    25 enum TSettingItems
       
    26     {
       
    27     ESettingItemSettingName = 1,
       
    28     ESettingItemAccessPoint,
       
    29     ESettingItemServerAddress,
       
    30     ESettingItemSipURL,
       
    31     ESettingItemUserID,
       
    32     ESettingItemPassword  
       
    33     };
       
    34     
       
    35 /**
       
    36  * TGSXDMPluginCommandIds - GSXDMPlugin menu commands
       
    37  */
       
    38 enum TGSXDMPluginCommandIds
       
    39     {
       
    40     EGSXDMPluginCmdChange = 0x06000,
       
    41     EGSXDMPluginCmdEdit,
       
    42     EGSXDMPluginCmdNewSettings,
       
    43     EGSXDMPluginCmdNewExisting,
       
    44     EGSXDMPluginCmdNewDefault,
       
    45     EGSXDMPluginCmdDelete,
       
    46     EGSXDMPluginCmdExitFromSL
       
    47     };
       
    48     
       
    49 /**
       
    50  * TXDMSettingsViewType - Used inside UI to differentiate
       
    51  * different kinds of editing
       
    52  */ 
       
    53 enum TXDMSettingsViewType
       
    54     {
       
    55     EEditExisting,
       
    56     ENewDefault,
       
    57     ENewFromExisting        
       
    58     };
       
    59 
       
    60 /**
       
    61  * Constants used in application
       
    62  */
       
    63 enum TXDMSettingsIndex
       
    64     {
       
    65     ESettingNameIndex = 0,
       
    66     EAccessPointIndex,    
       
    67     EServerAddressIndex,
       
    68     ESipURLIndex,
       
    69     EUserIDIndex,
       
    70     EPasswordIndex
       
    71     };
       
    72     
       
    73 /**
       
    74  * Constants used in resources and in application
       
    75  */
       
    76 #define KMaxSettingSetNameLength 30
       
    77 #define KMaxSettingSetNameArrayGran 10
       
    78 #define KMaxUserIDLength 100
       
    79 #define KMaxServerAddressLength 100
       
    80 #define KMaxPasswordLength 100
       
    81 #define KMaxSIPURLLength 100
       
    82 #define KMaxAccessPointNameLength 30
       
    83 #define KMaxAccessPointDesLength 30
       
    84 #define KMaxMessageToDisplayLength 100
       
    85 
       
    86 
       
    87 #endif // XDM_PLUGIN_HRH