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 MsChapv2 UI resource file
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
/*
|
|
19 |
* %version: 16 %
|
|
20 |
*/
|
|
21 |
|
|
22 |
CHARACTER_SET UTF8
|
|
23 |
|
|
24 |
// RESOURCE IDENTIFIER
|
|
25 |
NAME EPLM
|
|
26 |
|
|
27 |
|
|
28 |
// INCLUDES
|
|
29 |
#include <eikon.rh>
|
|
30 |
#include "EapMschapv2Ui.hrh" // Enums for these resources
|
|
31 |
#include <eapmschapv2ui.loc> // Localisation file
|
|
32 |
#include <wlaneapsettingsui.loc>
|
|
33 |
#include <eikon.rsg>
|
|
34 |
#include <avkon.rsg>
|
|
35 |
#include <avkon.rh>
|
|
36 |
#include <avkon.mbg>
|
|
37 |
#include <avkon.loc>
|
|
38 |
|
|
39 |
|
|
40 |
// CONSTANTS
|
|
41 |
#define KUsernameMaxNameLength 255
|
|
42 |
|
|
43 |
|
|
44 |
// RESOURCE DEFINITIONS
|
|
45 |
|
|
46 |
RESOURCE RSS_SIGNATURE { }
|
|
47 |
|
|
48 |
|
|
49 |
RESOURCE TBUF16 { buf = ""; }
|
|
50 |
|
|
51 |
RESOURCE CBA r_mschap_ui_softkeys_options_back_edit
|
|
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 = EMschapv2UiCmdChange; txt = qtn_msk_change; }
|
|
58 |
};
|
|
59 |
}
|
|
60 |
|
|
61 |
RESOURCE DIALOG r_mschapv2_setting_dialog
|
|
62 |
{
|
|
63 |
flags = EAknDialogSelectionList | EEikDialogFlagWait;
|
|
64 |
buttons = r_mschap_ui_softkeys_options_back_edit;
|
|
65 |
items =
|
|
66 |
{
|
|
67 |
DLG_LINE
|
|
68 |
{
|
|
69 |
id = EMschapv2SettingsListBox;
|
|
70 |
type = EAknCtSettingListBox;
|
|
71 |
control = LISTBOX
|
|
72 |
{
|
|
73 |
flags = EAknListBoxMenuList;
|
|
74 |
};
|
|
75 |
}
|
|
76 |
};
|
|
77 |
}
|
|
78 |
|
|
79 |
|
|
80 |
RESOURCE AVKON_SETTING_PAGE r_mschapv2_username_page
|
|
81 |
{
|
|
82 |
softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
|
|
83 |
label = qtn_wlan_eap_sett_username;
|
|
84 |
type = EEikCtEdwin;
|
|
85 |
editor_resource_id = r_mschapv2_setting_edwin;
|
|
86 |
}
|
|
87 |
|
|
88 |
|
|
89 |
RESOURCE AVKON_SETTING_PAGE r_mschapv2_password_page
|
|
90 |
{
|
|
91 |
softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
|
|
92 |
label = qtn_wlan_eap_sett_password;
|
|
93 |
type = EEikCtSecretEd;
|
|
94 |
editor_resource_id = r_mschapv2_setting_password;
|
|
95 |
}
|
|
96 |
|
|
97 |
|
|
98 |
RESOURCE SECRETED r_mschapv2_setting_password
|
|
99 |
{
|
|
100 |
num_letters = KUsernameMaxNameLength;
|
|
101 |
}
|
|
102 |
|
|
103 |
|
|
104 |
RESOURCE EDWIN r_mschapv2_setting_edwin
|
|
105 |
{
|
|
106 |
width = 9;
|
|
107 |
lines = 5;
|
|
108 |
maxlength=KUsernameMaxNameLength;
|
|
109 |
allowed_input_modes = EAknEditorTextInputMode | EAknEditorNumericInputMode;
|
|
110 |
default_input_mode = EAknEditorTextInputMode;
|
|
111 |
flags = EEikEdwinAutoSelection | EEikEdwinNoLineOrParaBreaks;
|
|
112 |
}
|
|
113 |
|
|
114 |
|
|
115 |
RESOURCE MENU_BAR r_mschapv2_menubar
|
|
116 |
{
|
|
117 |
titles =
|
|
118 |
{
|
|
119 |
MENU_TITLE { menu_pane = r_mschapv2_menu_pane; txt = ""; }
|
|
120 |
};
|
|
121 |
}
|
|
122 |
|
|
123 |
|
|
124 |
RESOURCE MENU_PANE r_mschapv2_menu_pane
|
|
125 |
{
|
|
126 |
items =
|
|
127 |
{
|
|
128 |
MENU_ITEM
|
|
129 |
{
|
|
130 |
command = EMschapv2UiCmdChange;
|
|
131 |
txt = qtn_options_change;
|
|
132 |
flags = EEikMenuItemAction;
|
|
133 |
},
|
|
134 |
|
|
135 |
MENU_ITEM
|
|
136 |
{
|
|
137 |
command = EAknCmdHelp;
|
|
138 |
txt = qtn_options_help;
|
|
139 |
},
|
|
140 |
|
|
141 |
MENU_ITEM
|
|
142 |
{
|
|
143 |
command = EAknCmdExit;
|
|
144 |
txt = qtn_options_exit;
|
|
145 |
}
|
|
146 |
};
|
|
147 |
}
|
|
148 |
|
|
149 |
|
|
150 |
// Resource strings
|
|
151 |
RESOURCE TBUF r_mschapv2_settings_title { buf = qtn_wlan_eap_mschapv2_title; }
|
|
152 |
RESOURCE TBUF r_plain_mschapv2_settings_title { buf = qtn_wlan_eap_plain_mschapv2_title; }
|
|
153 |
RESOURCE TBUF r_mschapv2_username_string { buf = qtn_wlan_eap_sett_username; }
|
|
154 |
RESOURCE TBUF r_mschapv2_passprompt_string { buf = qtn_wlan_eap_sett_passprompt; }
|
|
155 |
RESOURCE TBUF r_mschapv2_password_string { buf = qtn_wlan_eap_sett_password; }
|
|
156 |
RESOURCE TBUF r_mschapv2_passprompt_on { buf = qtn_wlan_eap_sett_passprompt_on; }
|
|
157 |
RESOURCE TBUF r_mschapv2_passprompt_off { buf = qtn_wlan_eap_sett_passprompt_off; }
|
|
158 |
|
|
159 |
|
|
160 |
|
|
161 |
RESOURCE AVKON_POPUP_SETTING_TEXTS r_mschapv2_yesno_texts
|
|
162 |
{
|
|
163 |
setting_texts_resource = r_mschapv2_yes_no_texts_resource;
|
|
164 |
popped_up_texts_resource = r_mschapv2_yes_no_array;
|
|
165 |
}
|
|
166 |
|
|
167 |
|
|
168 |
RESOURCE ARRAY r_mschapv2_yes_no_texts_resource
|
|
169 |
{
|
|
170 |
items=
|
|
171 |
{
|
|
172 |
AVKON_ENUMERATED_TEXT
|
|
173 |
{
|
|
174 |
value = 0;
|
|
175 |
text = qtn_wlan_eap_sett_passprompt_off;
|
|
176 |
},
|
|
177 |
|
|
178 |
AVKON_ENUMERATED_TEXT
|
|
179 |
{
|
|
180 |
value = 1;
|
|
181 |
text = qtn_wlan_eap_sett_passprompt_on;
|
|
182 |
}
|
|
183 |
};
|
|
184 |
}
|
|
185 |
|
|
186 |
|
|
187 |
RESOURCE ARRAY r_mschapv2_yes_no_array
|
|
188 |
{
|
|
189 |
items=
|
|
190 |
{
|
|
191 |
LBUF { txt = qtn_wlan_eap_sett_passprompt_off; },
|
|
192 |
LBUF { txt = qtn_wlan_eap_sett_passprompt_on; }
|
|
193 |
};
|
|
194 |
}
|
|
195 |
|
|
196 |
|
|
197 |
RESOURCE AVKON_SETTING_PAGE r_mschapv2_display_yesno_page
|
|
198 |
{
|
|
199 |
softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
|
|
200 |
label = qtn_wlan_eap_sett_passprompt;
|
|
201 |
type = EAknCtPopupSettingList;
|
|
202 |
editor_resource_id = r_mschapv2_setting_enumerated_popup;
|
|
203 |
}
|
|
204 |
|
|
205 |
|
|
206 |
RESOURCE POPUP_SETTING_LIST r_mschapv2_setting_enumerated_popup
|
|
207 |
{
|
|
208 |
flags = EAknPopupSettingListFlagInitialised;
|
|
209 |
}
|
|
210 |
|
|
211 |
|
|
212 |
// End of File
|