cmmanager/cmmgr/Plugins/cmpluginpacketdata/data/cmpacketdataui.rss
branchRCL_3
changeset 57 05bc53fe583b
parent 55 fc7b30ed2058
child 58 83ca720e2b9a
equal deleted inserted replaced
55:fc7b30ed2058 57:05bc53fe583b
     1 /*
       
     2 * Copyright (c) 2006 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:  Resource definitions for project cmpluginpacketdata
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 NAME    PDPL
       
    20 
       
    21 // INCLUDES
       
    22 #include <avkon.rsg>
       
    23 #include <avkon.rh>    
       
    24 #include <avkon.loc>
       
    25 #include <uikon.rh>
       
    26 #include <eikon.rh>
       
    27 #include <cmpsettingsconsts.h>
       
    28 #include <eikon.rsg>
       
    29 #include <AvkonIcons.hrh>
       
    30 #include <cmmanager.loc>
       
    31 #include <cmmanager.rsg>
       
    32 
       
    33 #include <cmpluginpacketdata.loc>
       
    34 
       
    35 // RESOURCE IDENTIFIERS
       
    36 
       
    37 RESOURCE RSS_SIGNATURE { }
       
    38 
       
    39 RESOURCE TBUF { buf = "cmpacketdataplugin"; }
       
    40 
       
    41 // CONSTANTS
       
    42 
       
    43 //For Ip address editor
       
    44 #define IPADDRESS_MIN_FIRST_FIELD_VALUE     0
       
    45 #define IPADDRESS_MIN_SECOND_FIELD_VALUE    0
       
    46 #define IPADDRESS_MIN_THIRD_FIELD_VALUE     0
       
    47 #define IPADDRESS_MIN_FOURTH_FIELD_VALUE    0
       
    48 #define IPADDRESS_MAX_FIRST_FIELD_VALUE     255
       
    49 #define IPADDRESS_MAX_SECOND_FIELD_VALUE    255
       
    50 #define IPADDRESS_MAX_THIRD_FIELD_VALUE     255
       
    51 #define IPADDRESS_MAX_FOURTH_FIELD_VALUE    255
       
    52 
       
    53 
       
    54 // RESOURCE DEFINITIONS
       
    55 
       
    56 // ---------------------------------------------------------------------------
       
    57 // r_gprs_plugin_view_ap_name
       
    58 // localised string
       
    59 // ---------------------------------------------------------------------------
       
    60 RESOURCE TBUF r_gprs_plugin_view_ap_name                              
       
    61     {
       
    62     buf = qtn_set_access_point_name;
       
    63     }
       
    64                 
       
    65 // ---------------------------------------------------------------------------
       
    66 // r_gprs_plugin_sett_val_field_none
       
    67 // localised string
       
    68 // ---------------------------------------------------------------------------
       
    69 RESOURCE TBUF r_gprs_plugin_sett_val_field_none
       
    70     {
       
    71     buf = qtn_selec_sett_val_field_none;
       
    72     }
       
    73                 
       
    74 // ---------------------------------------------------------------------------
       
    75 // r_gprs_plugin_view_pdp_type
       
    76 // localised string
       
    77 // ---------------------------------------------------------------------------
       
    78 RESOURCE TBUF r_gprs_plugin_view_pdp_type
       
    79     {
       
    80     buf = qtn_set_network_type;
       
    81     }
       
    82 
       
    83 // ---------------------------------------------------------------------------
       
    84 // r_gprs_plugin_view_pdp_type_ipv4
       
    85 // localised string
       
    86 // ---------------------------------------------------------------------------
       
    87 RESOURCE TBUF r_gprs_plugin_view_pdp_type_ipv4
       
    88     {
       
    89     buf = qtn_set_nw_type_ipv4;
       
    90     }
       
    91 
       
    92 // ---------------------------------------------------------------------------
       
    93 // r_gprs_plugin_view_pdp_type_ipv6
       
    94 // localised string
       
    95 // ---------------------------------------------------------------------------
       
    96 RESOURCE TBUF r_gprs_plugin_view_pdp_type_ipv6
       
    97     {
       
    98     buf = qtn_set_nw_type_ipv6;
       
    99     }
       
   100 
       
   101 // ---------------------------------------------------------------------------
       
   102 // r_gprs_plugin_apn_prompt
       
   103 // localised string
       
   104 // ---------------------------------------------------------------------------
       
   105 RESOURCE TBUF r_gprs_plugin_apn_prompt             
       
   106     {
       
   107     buf = qtn_netw_conset_prmpt_packet_data_apn;
       
   108     }
       
   109 
       
   110 // ---------------------------------------------------------------------------
       
   111 // r_qtn_netw_conset_bearer_supported_packet_data
       
   112 // localised string
       
   113 // ---------------------------------------------------------------------------
       
   114 RESOURCE TBUF r_qtn_netw_conset_bearer_supported_packet_data
       
   115     {
       
   116     buf = qtn_netw_conset_bearer_supported_packet_data;
       
   117     }
       
   118 
       
   119 // ---------------------------------------------------------------------------
       
   120 // r_qtn_netw_conset_bearer_available_packet_data
       
   121 // localised string
       
   122 // ---------------------------------------------------------------------------
       
   123 RESOURCE TBUF r_qtn_netw_conset_bearer_available_packet_data
       
   124     {
       
   125     buf = qtn_netw_conset_bearer_available_packet_data;
       
   126     }
       
   127 
       
   128 // ---------------------------------------------------------------------------
       
   129 // r_qtn_netw_conset_packet_data_available
       
   130 // localised string
       
   131 // ---------------------------------------------------------------------------
       
   132 RESOURCE TBUF r_qtn_netw_conset_packet_data_available
       
   133     {
       
   134     buf = qtn_netw_conset_packet_data_available;
       
   135     }
       
   136 
       
   137 // ---------------------------------------------------------------------------
       
   138 // r_gprs_plugin_view_set_bearer_packet_data
       
   139 // localised string
       
   140 // ---------------------------------------------------------------------------
       
   141 RESOURCE TBUF r_gprs_plugin_view_set_bearer_packet_data
       
   142     {
       
   143     buf = qtn_set_bearer_packet_data;
       
   144     }
       
   145 
       
   146 // ---------------------------------------------------------------------------
       
   147 // r_qtn_netw_conset_popup_bearer_packet_data
       
   148 // localised string
       
   149 // ---------------------------------------------------------------------------
       
   150 RESOURCE TBUF r_qtn_netw_conset_popup_bearer_packet_data
       
   151     {
       
   152     buf = qtn_netw_conset_popup_bearer_packet_data;
       
   153     }
       
   154                 
       
   155 // ---------------------------------------------------------------------------
       
   156 // r_qtn_set_bearer_packet_data
       
   157 // localised string
       
   158 // ---------------------------------------------------------------------------
       
   159 RESOURCE TBUF r_qtn_set_bearer_packet_data
       
   160     {
       
   161     buf = qtn_set_bearer_packet_data;
       
   162     }
       
   163 
       
   164 // ---------------------------------------------------------------------------
       
   165 // r_setting_app_edwin_gprsap_name
       
   166 // edwin for packet data access point name setting page
       
   167 // ---------------------------------------------------------------------------
       
   168 RESOURCE EDWIN r_setting_app_edwin_gprsap_name
       
   169     {
       
   170     width=KGprsApNameWidth;
       
   171     lines=KGprsApNameLines;
       
   172     maxlength=KMaxGprsApNameLength;
       
   173     allowed_input_modes = EAknEditorTextInputMode | EAknEditorNumericInputMode;
       
   174     default_input_mode = EAknEditorTextInputMode;
       
   175     default_case = EAknEditorLowerCase;
       
   176     avkon_flags = EAknEditorFlagLatinInputModesOnly;
       
   177     flags = EEikEdwinAutoSelection | EEikEdwinNoLineOrParaBreaks;
       
   178     }
       
   179 
       
   180 // ---------------------------------------------------------------------------
       
   181 // r_text_setting_page_gprsap_name
       
   182 // setting page for packet data access point name
       
   183 // ---------------------------------------------------------------------------
       
   184 RESOURCE AVKON_SETTING_PAGE r_text_setting_page_gprsap_name
       
   185     {
       
   186     number= EAknSettingPageNoOrdinalDisplayed;
       
   187     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   188     label= qtn_set_access_point_name;
       
   189     type = EEikCtEdwin;
       
   190     editor_resource_id = r_setting_app_edwin_gprsap_name;
       
   191     }
       
   192 
       
   193 // ---------------------------------------------------------------------------
       
   194 // r_apn_name_query
       
   195 // 
       
   196 // ---------------------------------------------------------------------------
       
   197 RESOURCE DIALOG r_apn_name_query
       
   198     {
       
   199     flags = EGeneralQueryFlags | EEikDialogFlagNoShadow;
       
   200     buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   201     items =
       
   202         {
       
   203         DLG_LINE
       
   204             {
       
   205             type = EAknCtQuery;
       
   206             id = EGeneralQuery;
       
   207             control = AVKON_DATA_QUERY 
       
   208                 { 
       
   209                 layout = EDataLayoutAllowEmptyInput;
       
   210                 control = EDWIN
       
   211                     {
       
   212                     maxlength=KMaxGprsApNameLength;
       
   213                     allowed_input_modes = EAknEditorTextInputMode | EAknEditorNumericInputMode;
       
   214                     default_input_mode = EAknEditorTextInputMode;
       
   215                     avkon_flags = EAknEditorFlagLatinInputModesOnly;
       
   216                     flags = EEikEdwinNoHorizScrolling;
       
   217                     default_case = EAknEditorLowerCase;
       
   218                     };
       
   219                 };
       
   220             }
       
   221         };
       
   222     }