XDMSettingsUI/inc/XDMPlugin.hrh
author William Roberts <williamr@symbian.org>
Fri, 11 Jun 2010 16:25:22 +0100
branchGCC_SURGE
changeset 21 3d8d26de97dd
parent 0 c8caa15ef882
child 25 e53c01f160bc
permissions -rw-r--r--
Branch for GCC_SURGE fixes

/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  XDM Settings enumerations
*
*/


#ifndef XDM_PLUGIN_HRH
#define XDM_PLUGIN_HRH

/**
 * TSettingItems - identifiers for individual setting items
 */
enum TSettingItems
    {
    ESettingItemSettingName = 1,
    ESettingItemAccessPoint,
    ESettingItemServerAddress,
    ESettingItemSipURL,
    ESettingItemUserID,
    ESettingItemPassword  
    };
    
/**
 * TGSXDMPluginCommandIds - GSXDMPlugin menu commands
 */
enum TGSXDMPluginCommandIds
    {
    EGSXDMPluginCmdChange = 0x06000,
    EGSXDMPluginCmdEdit,
    EGSXDMPluginCmdNewSettings,
    EGSXDMPluginCmdNewExisting,
    EGSXDMPluginCmdNewDefault,
    EGSXDMPluginCmdDelete,
    EGSXDMPluginCmdExitFromSL
    };
    
/**
 * TXDMSettingsViewType - Used inside UI to differentiate
 * different kinds of editing
 */ 
enum TXDMSettingsViewType
    {
    EEditExisting,
    ENewDefault,
    ENewFromExisting        
    };

/**
 * Constants used in application
 */
enum TXDMSettingsIndex
    {
    ESettingNameIndex = 0,
    EAccessPointIndex,    
    EServerAddressIndex,
    ESipURLIndex,
    EUserIDIndex,
    EPasswordIndex
    };
    
/**
 * Constants used in resources and in application
 */
#define KMaxSettingSetNameLength 30
#define KMaxSettingSetNameArrayGran 10
#define KMaxUserIDLength 100
#define KMaxServerAddressLength 100
#define KMaxPasswordLength 100
#define KMaxSIPURLLength 100
#define KMaxAccessPointNameLength 30
#define KMaxAccessPointDesLength 30
#define KMaxMessageToDisplayLength 100


#endif // XDM_PLUGIN_HRH