46
|
1 |
/*
|
|
2 |
* Copyright (c) 2001-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 the License "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: EAP LEAP UI resource file
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
/*
|
|
19 |
* %version: 17 %
|
|
20 |
*/
|
|
21 |
|
|
22 |
CHARACTER_SET UTF8
|
|
23 |
|
|
24 |
// RESOURCE IDENTIFIER
|
|
25 |
NAME EPSI
|
|
26 |
|
|
27 |
// INCLUDES
|
|
28 |
#include <eikon.rh>
|
|
29 |
#include "EapSimUi.hrh" // Enums for these resources
|
|
30 |
#include <eapsimui.loc> // Localisation file
|
|
31 |
#include <wlaneapsettingsui.loc>
|
|
32 |
#include <eikon.rsg>
|
|
33 |
#include <avkon.rsg>
|
|
34 |
#include <avkon.rh>
|
|
35 |
#include <avkon.mbg>
|
|
36 |
#include <avkon.loc>
|
|
37 |
|
|
38 |
|
|
39 |
// CONSTANTS
|
|
40 |
#define KUsernameMaxNameLength 255
|
|
41 |
|
|
42 |
|
|
43 |
// RESOURCE DEFINITIONS
|
|
44 |
|
|
45 |
RESOURCE RSS_SIGNATURE { }
|
|
46 |
|
|
47 |
|
|
48 |
RESOURCE TBUF16 { buf = ""; }
|
|
49 |
|
|
50 |
|
|
51 |
RESOURCE CBA r_sim_softkeys_options_back_change
|
|
52 |
{
|
|
53 |
buttons =
|
|
54 |
{
|
|
55 |
CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; },
|
|
56 |
CBA_BUTTON { id = EAknSoftkeyBack; txt = text_softkey_back; },
|
|
57 |
CBA_BUTTON { id = ESimUiCmdChange; txt = qtn_msk_change; }
|
|
58 |
};
|
|
59 |
}
|
|
60 |
|
|
61 |
|
|
62 |
RESOURCE DIALOG r_sim_setting_dialog
|
|
63 |
{
|
|
64 |
flags = EAknDialogSelectionList | EEikDialogFlagWait;
|
|
65 |
buttons = r_sim_softkeys_options_back_change;
|
|
66 |
items =
|
|
67 |
{
|
|
68 |
DLG_LINE
|
|
69 |
{
|
|
70 |
id = ESimSettingsListBox;
|
|
71 |
type = EAknCtSettingListBox;
|
|
72 |
control = LISTBOX
|
|
73 |
{
|
|
74 |
flags = EAknListBoxMenuList;
|
|
75 |
};
|
|
76 |
}
|
|
77 |
};
|
|
78 |
}
|
|
79 |
|
|
80 |
|
|
81 |
RESOURCE AVKON_SETTING_PAGE r_sim_username_page
|
|
82 |
{
|
|
83 |
softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
|
|
84 |
label = qtn_wlan_eap_sett_username;
|
|
85 |
type = EEikCtEdwin;
|
|
86 |
editor_resource_id = r_sim_setting_edwin;
|
|
87 |
}
|
|
88 |
|
|
89 |
|
|
90 |
RESOURCE AVKON_SETTING_PAGE r_sim_realm_page
|
|
91 |
{
|
|
92 |
softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
|
|
93 |
label = qtn_wlan_eap_sett_realm;
|
|
94 |
type = EEikCtEdwin;
|
|
95 |
editor_resource_id = r_sim_setting_edwin;
|
|
96 |
}
|
|
97 |
|
|
98 |
|
|
99 |
RESOURCE EDWIN r_sim_setting_edwin
|
|
100 |
{
|
|
101 |
width = 9;
|
|
102 |
lines = 5;
|
|
103 |
maxlength = KUsernameMaxNameLength;
|
|
104 |
allowed_input_modes = EAknEditorTextInputMode | EAknEditorNumericInputMode;
|
|
105 |
default_input_mode = EAknEditorTextInputMode;
|
|
106 |
flags = EEikEdwinAutoSelection | EEikEdwinNoLineOrParaBreaks;
|
|
107 |
}
|
|
108 |
|
|
109 |
|
|
110 |
RESOURCE MENU_BAR r_sim_menubar
|
|
111 |
{
|
|
112 |
titles =
|
|
113 |
{
|
|
114 |
MENU_TITLE { menu_pane = r_sim_menu_pane; txt = ""; }
|
|
115 |
};
|
|
116 |
}
|
|
117 |
|
|
118 |
|
|
119 |
RESOURCE MENU_PANE r_sim_menu_pane
|
|
120 |
{
|
|
121 |
items =
|
|
122 |
{
|
|
123 |
MENU_ITEM
|
|
124 |
{
|
|
125 |
command = ESimUiCmdChange;
|
|
126 |
txt = qtn_options_change;
|
|
127 |
flags = EEikMenuItemAction;
|
|
128 |
},
|
|
129 |
MENU_ITEM
|
|
130 |
{
|
|
131 |
command = EAknCmdHelp;
|
|
132 |
txt = qtn_options_help;
|
|
133 |
},
|
|
134 |
MENU_ITEM
|
|
135 |
{
|
|
136 |
command = EAknCmdExit;
|
|
137 |
txt = qtn_options_exit;
|
|
138 |
}
|
|
139 |
};
|
|
140 |
}
|
|
141 |
|
|
142 |
|
|
143 |
// Resource strings
|
|
144 |
RESOURCE TBUF r_sim_settings_title { buf = qtn_wlan_eap_sim_title; }
|
|
145 |
RESOURCE TBUF r_sim_username_inusestring \
|
|
146 |
{ buf = qtn_wlan_eap_sett_username_inuse; }
|
|
147 |
RESOURCE TBUF r_sim_username_inusestring_auto \
|
|
148 |
{ buf = qtn_wlan_eap_sett_username_inuse_from_sim; }
|
|
149 |
RESOURCE TBUF r_sim_username_inusestring_conf \
|
|
150 |
{ buf = qtn_wlan_eap_sett_username_inuse_user; }
|
|
151 |
RESOURCE TBUF r_sim_username_string { buf = qtn_wlan_eap_sett_username; }
|
|
152 |
RESOURCE TBUF r_sim_realm_inusestring \
|
|
153 |
{ buf = qtn_wlan_eap_sett_realm_inuse; }
|
|
154 |
RESOURCE TBUF r_sim_realm_inusestring_auto \
|
|
155 |
{ buf = qtn_wlan_eap_sett_realm_inuse_from_sim; }
|
|
156 |
RESOURCE TBUF r_sim_realm_inusestring_conf \
|
|
157 |
{ buf = qtn_wlan_eap_sett_realm_inuse_user; }
|
|
158 |
RESOURCE TBUF r_sim_realm_string { buf = qtn_wlan_eap_sett_realm; }
|
|
159 |
|
|
160 |
|
|
161 |
RESOURCE AVKON_POPUP_SETTING_TEXTS r_sim_username_autouseconf_texts
|
|
162 |
{
|
|
163 |
setting_texts_resource = r_sim_username_autouseconf_texts_resource;
|
|
164 |
popped_up_texts_resource = r_sim_username_automatic_useconfigured_array;
|
|
165 |
}
|
|
166 |
|
|
167 |
|
|
168 |
RESOURCE ARRAY r_sim_username_autouseconf_texts_resource
|
|
169 |
{
|
|
170 |
items =
|
|
171 |
{
|
|
172 |
AVKON_ENUMERATED_TEXT
|
|
173 |
{
|
|
174 |
value = 0;
|
|
175 |
text = qtn_wlan_eap_sett_username_inuse_from_sim;
|
|
176 |
},
|
|
177 |
|
|
178 |
AVKON_ENUMERATED_TEXT
|
|
179 |
{
|
|
180 |
value = 1;
|
|
181 |
text = qtn_wlan_eap_sett_username_inuse_user;
|
|
182 |
}
|
|
183 |
};
|
|
184 |
}
|
|
185 |
|
|
186 |
|
|
187 |
RESOURCE ARRAY r_sim_username_automatic_useconfigured_array
|
|
188 |
{
|
|
189 |
items =
|
|
190 |
{
|
|
191 |
LBUF { txt = qtn_wlan_eap_sett_username_inuse_from_sim; },
|
|
192 |
LBUF { txt = qtn_wlan_eap_sett_username_inuse_user; }
|
|
193 |
};
|
|
194 |
}
|
|
195 |
|
|
196 |
|
|
197 |
RESOURCE AVKON_POPUP_SETTING_TEXTS r_sim_realm_autouseconf_texts
|
|
198 |
{
|
|
199 |
setting_texts_resource = r_sim_realm_autouseconf_texts_resource;
|
|
200 |
popped_up_texts_resource = r_sim_realm_automatic_useconfigured_array;
|
|
201 |
}
|
|
202 |
|
|
203 |
|
|
204 |
RESOURCE ARRAY r_sim_realm_autouseconf_texts_resource
|
|
205 |
{
|
|
206 |
items=
|
|
207 |
{
|
|
208 |
AVKON_ENUMERATED_TEXT
|
|
209 |
{
|
|
210 |
value = 0;
|
|
211 |
text = qtn_wlan_eap_sett_realm_inuse_from_sim;
|
|
212 |
},
|
|
213 |
|
|
214 |
AVKON_ENUMERATED_TEXT
|
|
215 |
{
|
|
216 |
value = 1;
|
|
217 |
text = qtn_wlan_eap_sett_realm_inuse_user;
|
|
218 |
}
|
|
219 |
};
|
|
220 |
}
|
|
221 |
|
|
222 |
|
|
223 |
RESOURCE ARRAY r_sim_realm_automatic_useconfigured_array
|
|
224 |
{
|
|
225 |
items=
|
|
226 |
{
|
|
227 |
LBUF { txt = qtn_wlan_eap_sett_realm_inuse_from_sim; },
|
|
228 |
LBUF { txt = qtn_wlan_eap_sett_realm_inuse_user; }
|
|
229 |
};
|
|
230 |
}
|
|
231 |
|
|
232 |
|
|
233 |
RESOURCE AVKON_SETTING_PAGE r_sim_display_autouseconf_page
|
|
234 |
{
|
|
235 |
softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
|
|
236 |
label = qtn_wlan_eap_sett_realm_inuse;
|
|
237 |
type = EAknCtPopupSettingList;
|
|
238 |
editor_resource_id = r_sim_setting_enumerated_popup;
|
|
239 |
}
|
|
240 |
|
|
241 |
|
|
242 |
RESOURCE POPUP_SETTING_LIST r_sim_setting_enumerated_popup
|
|
243 |
{
|
|
244 |
flags = EAknPopupSettingListFlagInitialised;
|
|
245 |
}
|
|
246 |
|
|
247 |
|
|
248 |
// End of File
|