cmmanager/gsconnsettingsplugin/inc/gsconnsettingsplugin.hrh
changeset 23 7ec726f93df1
parent 20 9c97ad6591ae
child 25 d840bfde7d40
child 27 489cf6208544
equal deleted inserted replaced
20:9c97ad6591ae 23:7ec726f93df1
     1 /*
       
     2 * Copyright (c) 2005 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:  Contains common definitions for Connectivity Settings plugin
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef GSCONNECTIVITYSETTINGSPLUGIN_HRH
       
    20 #define GSCONNECTIVITYSETTINGSPLUGIN_HRH
       
    21 
       
    22 // commands
       
    23 enum TMenuCommands
       
    24     {     // GS plugin commands starts from 500
       
    25     EGSConnSettMenuOpen = 550, // Menu command Open
       
    26     EGSConnSettMenuChange,     // Menu command change
       
    27     EGSConnSettMskGeneral,     // MSK general in main view. Can be either 'Change' or 'Open'
       
    28     EGSConnSettMenuExit        // 'Exit' menu command. Overridden to take control of exit
       
    29     };
       
    30 
       
    31 // Main view item identifiers
       
    32 enum {
       
    33     EGSSettIdUsageOfWlan,
       
    34     EGSSettIdDataUsageHomeNw,
       
    35     EGSSettIdDataUsageAbroad,
       
    36     EGSExtPluginsListItemId
       
    37     };
       
    38 
       
    39 //Indexes for usage of new WLAN values
       
    40 //These have to match to the order of r_usage_of_wlan_setting_page_lbx
       
    41 //resource in gsconnsettingsplugin.rss
       
    42 enum {
       
    43     EUsageOfWlanKnown = 0,
       
    44     EUsageOfNewWlanManual = 1
       
    45     };
       
    46 
       
    47 //Indexes for data usage abroad values
       
    48 //These have to match to the order of r_data_usage_abroad_setting_page_lbx
       
    49 //resource in gsconnsettingsplugin.rss
       
    50 enum {
       
    51     EDataUsageAbroadAutomatic = 0,
       
    52     EDataUsageAbroadConfirm = 1,
       
    53     EDataUsageAbroadWlanOnly = 2,
       
    54     EDataUsageAbroadDisabled = 3
       
    55     };
       
    56 
       
    57 //Indexes for data usage in home NW values
       
    58 //These have to match to the order of r_data_usage_home_nw_setting_page_lbx
       
    59 //resource in gsconnsettingsplugin.rss
       
    60 enum {
       
    61     EDataUsageHomeNwAutomatic = 0,
       
    62     EDataUsageHomeNwConfirm = 1,
       
    63     EDataUsageHomeNwWlanOnly = 2,
       
    64     EDataUsageHomeNwDisabled = 3
       
    65     };
       
    66 
       
    67 #endif //  GSCONNECTIVITYSETTINGSPLUGIN_HRH
       
    68 
       
    69 //End of File