28
|
1 |
/*
|
|
2 |
* Copyright (c) 2007-2007 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 CSC
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
NAME SECO
|
|
20 |
|
|
21 |
#include <eikon.rh>
|
|
22 |
#include <avkon.rh>
|
|
23 |
#include <avkon.rsg>
|
|
24 |
#include <avkon.loc>
|
|
25 |
#include <appinfo.rh>
|
|
26 |
|
|
27 |
#include <csc.loc>
|
|
28 |
#include "csc.hrh"
|
|
29 |
|
|
30 |
|
|
31 |
// -----------------------------------------------------------------------------
|
|
32 |
//
|
|
33 |
// Define the resource file signature
|
|
34 |
// This resource should be empty
|
|
35 |
//
|
|
36 |
// -----------------------------------------------------------------------------
|
|
37 |
//
|
|
38 |
RESOURCE RSS_SIGNATURE
|
|
39 |
{
|
|
40 |
}
|
|
41 |
|
|
42 |
// -----------------------------------------------------------------------------
|
|
43 |
//
|
|
44 |
// Default Document Name
|
|
45 |
//
|
|
46 |
// -----------------------------------------------------------------------------
|
|
47 |
//
|
|
48 |
RESOURCE TBUF r_default_document_name
|
|
49 |
{
|
|
50 |
buf="";
|
|
51 |
}
|
|
52 |
|
|
53 |
// -----------------------------------------------------------------------------
|
|
54 |
//
|
|
55 |
// Define default menu and status pane
|
|
56 |
//
|
|
57 |
// -----------------------------------------------------------------------------
|
|
58 |
//
|
|
59 |
RESOURCE EIK_APP_INFO
|
|
60 |
{
|
|
61 |
}
|
|
62 |
|
|
63 |
|
|
64 |
// -----------------------------------------------------------------------------
|
|
65 |
//
|
|
66 |
// r_csc_service_view_title
|
|
67 |
//
|
|
68 |
// -----------------------------------------------------------------------------
|
|
69 |
//
|
|
70 |
RESOURCE TBUF r_csc_service_view_title
|
|
71 |
{
|
|
72 |
buf = qtn_voip_csc_title;
|
|
73 |
}
|
|
74 |
|
|
75 |
// -----------------------------------------------------------------------------
|
|
76 |
//
|
|
77 |
// r_csc_serviceview_menubar
|
|
78 |
// Menubar for CSC service view
|
|
79 |
//
|
|
80 |
// -----------------------------------------------------------------------------
|
|
81 |
//
|
|
82 |
RESOURCE MENU_BAR r_csc_serviceview_menubar
|
|
83 |
{
|
|
84 |
titles =
|
|
85 |
{
|
|
86 |
MENU_TITLE
|
|
87 |
{
|
|
88 |
menu_pane = r_csc_serviceview_menu;
|
|
89 |
}
|
|
90 |
};
|
|
91 |
}
|
|
92 |
|
|
93 |
|
|
94 |
// -----------------------------------------------------------------------------
|
|
95 |
//
|
|
96 |
// r_csc_serviceview_menu
|
|
97 |
// Menu for CSC service view "Options"
|
|
98 |
//
|
|
99 |
// -----------------------------------------------------------------------------
|
|
100 |
//
|
|
101 |
RESOURCE MENU_PANE r_csc_serviceview_menu
|
|
102 |
{
|
|
103 |
items =
|
|
104 |
{
|
|
105 |
MENU_ITEM
|
|
106 |
{
|
|
107 |
command = EAknSoftkeyOpen;
|
|
108 |
txt = qtn_options_open;
|
|
109 |
flags = EEikMenuItemAction;
|
|
110 |
},
|
|
111 |
MENU_ITEM
|
|
112 |
{
|
|
113 |
command = EAknSoftkeySelect;
|
|
114 |
txt = qtn_cffh_options_select;
|
|
115 |
flags = EEikMenuItemAction;
|
|
116 |
},
|
|
117 |
MENU_ITEM
|
|
118 |
{
|
|
119 |
command = ECSCCommandDelete;
|
|
120 |
txt = qtn_voip_csc_option_delete_service;
|
|
121 |
},
|
|
122 |
MENU_ITEM
|
|
123 |
{
|
|
124 |
command = EAknCmdHelp;
|
|
125 |
txt = qtn_options_help;
|
|
126 |
},
|
|
127 |
MENU_ITEM
|
|
128 |
{
|
|
129 |
command = EAknSoftkeyExit;
|
|
130 |
txt = qtn_options_exit;
|
|
131 |
}
|
|
132 |
};
|
|
133 |
}
|
|
134 |
|
|
135 |
|
|
136 |
// -----------------------------------------------------------------------------
|
|
137 |
//
|
|
138 |
// r_csc_view_service
|
|
139 |
// Service view resource
|
|
140 |
//
|
|
141 |
// -----------------------------------------------------------------------------
|
|
142 |
//
|
|
143 |
RESOURCE AVKON_VIEW r_csc_view_service
|
|
144 |
{
|
|
145 |
menubar = r_csc_serviceview_menubar;
|
|
146 |
cba = R_AVKON_SOFTKEYS_OPTIONS_BACK;
|
|
147 |
}
|
|
148 |
|
|
149 |
//----------------------------------------------------
|
|
150 |
//
|
|
151 |
// r_csc_softkeys_options_exit_open
|
|
152 |
// Text association with MSK ( OPEN )
|
|
153 |
//
|
|
154 |
//----------------------------------------------------
|
|
155 |
//
|
|
156 |
RESOURCE CBA r_csc_softkeys_options_exit_open
|
|
157 |
{
|
|
158 |
buttons =
|
|
159 |
{
|
|
160 |
CBA_BUTTON
|
|
161 |
{
|
|
162 |
id=EAknSoftkeyOptions;
|
|
163 |
txt = text_softkey_option;
|
|
164 |
},
|
|
165 |
CBA_BUTTON
|
|
166 |
{
|
|
167 |
id=EAknSoftkeyExit;
|
|
168 |
txt = text_softkey_exit;
|
|
169 |
},
|
|
170 |
CBA_BUTTON
|
|
171 |
{
|
|
172 |
id=ECSCCmdOpen;
|
|
173 |
txt = qtn_msk_open;
|
|
174 |
}
|
|
175 |
};
|
|
176 |
}
|
|
177 |
|
|
178 |
// -----------------------------------------------------------------------------
|
|
179 |
//
|
|
180 |
// r_csc_msk_open
|
|
181 |
// Middle softkey label: open.
|
|
182 |
//
|
|
183 |
// -----------------------------------------------------------------------------
|
|
184 |
//
|
|
185 |
RESOURCE TBUF r_csc_msk_open
|
|
186 |
{
|
|
187 |
buf = qtn_msk_open;
|
|
188 |
}
|
|
189 |
|
|
190 |
// -----------------------------------------------------------------------------
|
|
191 |
//
|
|
192 |
// r_csc_msk_select
|
|
193 |
// Middle softkey label: select.
|
|
194 |
//
|
|
195 |
// -----------------------------------------------------------------------------
|
|
196 |
//
|
|
197 |
RESOURCE TBUF r_csc_msk_select
|
|
198 |
{
|
|
199 |
buf = qtn_msk_select;
|
|
200 |
}
|
|
201 |
|
|
202 |
// -----------------------------------------------------------------------------
|
|
203 |
//
|
|
204 |
// r_csc_configure_service_query
|
|
205 |
// Configure service query.
|
|
206 |
//
|
|
207 |
// -----------------------------------------------------------------------------
|
|
208 |
//
|
|
209 |
RESOURCE DIALOG r_csc_configure_service_query
|
|
210 |
{
|
|
211 |
flags = EGeneralQueryFlags;
|
|
212 |
buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
|
|
213 |
items =
|
|
214 |
{
|
|
215 |
DLG_LINE
|
|
216 |
{
|
|
217 |
type = EAknCtQuery;
|
|
218 |
id = EGeneralQuery;
|
|
219 |
control= AVKON_CONFIRMATION_QUERY
|
|
220 |
{
|
|
221 |
layout = EConfirmationLayout;
|
|
222 |
label = r_qtn_csc_configure_service_query;
|
|
223 |
};
|
|
224 |
}
|
|
225 |
};
|
|
226 |
}
|
|
227 |
|
|
228 |
// -----------------------------------------------------------------------------
|
|
229 |
//
|
|
230 |
// r_csc_delete_service_query
|
|
231 |
// Delete service confirmation query.
|
|
232 |
//
|
|
233 |
// -----------------------------------------------------------------------------
|
|
234 |
//
|
|
235 |
RESOURCE DIALOG r_csc_delete_service_query
|
|
236 |
{
|
|
237 |
flags = EGeneralQueryFlags;
|
|
238 |
buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
|
|
239 |
items =
|
|
240 |
{
|
|
241 |
DLG_LINE
|
|
242 |
{
|
|
243 |
type = EAknCtQuery;
|
|
244 |
id = EGeneralQuery;
|
|
245 |
control= AVKON_CONFIRMATION_QUERY
|
|
246 |
{
|
|
247 |
layout = EConfirmationLayout;
|
|
248 |
label = r_qtn_csc_delete_service_query;
|
|
249 |
};
|
|
250 |
}
|
|
251 |
};
|
|
252 |
}
|
|
253 |
|
|
254 |
|
|
255 |
//**RESOURCE STRINGS**
|
|
256 |
|
|
257 |
RESOURCE TBUF r_qtn_csc_service_listbox_item
|
|
258 |
{
|
|
259 |
buf=qtn_voip_csc_service_settings;
|
|
260 |
}
|
|
261 |
|
|
262 |
RESOURCE TBUF r_qtn_csc_configure_service_query
|
|
263 |
{
|
|
264 |
buf=qtn_voip_csc_query_configure_service;
|
|
265 |
}
|
|
266 |
|
|
267 |
RESOURCE TBUF r_qtn_csc_delete_service_query
|
|
268 |
{
|
|
269 |
buf=qtn_voip_csc_delete_service_settings;
|
|
270 |
}
|
|
271 |
|
|
272 |
RESOURCE TBUF r_qtn_csc_unable_to_configure_note
|
|
273 |
{
|
|
274 |
buf=qtn_voip_csc_error_note_unable_to_configure;
|
|
275 |
}
|
|
276 |
|
|
277 |
RESOURCE TBUF r_qtn_csc_unable_to_delete_note
|
|
278 |
{
|
|
279 |
buf=qtn_voip_csc_error_note_unable_to_delete;
|
|
280 |
}
|
|
281 |
|
|
282 |
RESOURCE TBUF r_qtn_csc_removing_service
|
|
283 |
{
|
|
284 |
buf=qtn_voip_csc_removing_service;
|
|
285 |
}
|
|
286 |
|
|
287 |
RESOURCE TBUF r_qtn_csc_no_services_installed
|
|
288 |
{
|
|
289 |
buf=qtn_voip_csc_no_services_installed;
|
|
290 |
}
|
|
291 |
|
|
292 |
//**RESOURCE STRINGS END**
|
|
293 |
|
|
294 |
// -----------------------------------------------------------------------------
|
|
295 |
//
|
|
296 |
// r_csc_localisable_app_info
|
|
297 |
// Defines caption and icon
|
|
298 |
//
|
|
299 |
// -----------------------------------------------------------------------------
|
|
300 |
//
|
|
301 |
RESOURCE LOCALISABLE_APP_INFO r_csc_localisable_app_info
|
|
302 |
{
|
|
303 |
short_caption = qtn_set_folder_conn_service_configurator;
|
|
304 |
caption_and_icon =
|
|
305 |
CAPTION_AND_ICON_INFO
|
|
306 |
{
|
|
307 |
caption = qtn_set_folder_conn_service_configurator;
|
|
308 |
#ifdef __SCALABLE_ICONS
|
|
309 |
number_of_icons = 1;
|
|
310 |
icon_file = "//resource//apps//csc_aif.mif";
|
|
311 |
#else
|
|
312 |
number_of_icons = 2;
|
|
313 |
icon_file = "//resource//apps//csc_aif.mbm";
|
|
314 |
#endif // __SCALABLE_ICONS
|
|
315 |
};
|
|
316 |
}
|
|
317 |
|