79
|
1 |
/*
|
|
2 |
* Copyright (c) 2002 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:
|
|
15 |
* This file contains all the resources for the module.
|
|
16 |
*
|
|
17 |
*/
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
// RESOURCE IDENTIFIER
|
|
22 |
NAME SMSV
|
|
23 |
|
|
24 |
// INCLUDES
|
|
25 |
#include <eikon.rh>
|
|
26 |
#include <eikon.rsg>
|
|
27 |
#include <avkon.rsg>
|
|
28 |
#include <avkon.hrh>
|
|
29 |
#include <avkon.rh>
|
|
30 |
#include <avkon.mbg>
|
|
31 |
#include <muiu.mbg>
|
|
32 |
#include <avkon.loc>
|
|
33 |
#include <appinfo.rh>
|
|
34 |
#include <messaging.loc>
|
|
35 |
|
|
36 |
#include <MsgEditor.rh>
|
|
37 |
|
|
38 |
#include "MsgSmsViewer.hrh"
|
|
39 |
#include <smsviewer.loc>
|
|
40 |
|
|
41 |
#include <bldvariant.hrh>
|
|
42 |
#include <finditem.hrh>
|
|
43 |
#include <data_caging_paths_strings.hrh>
|
|
44 |
|
|
45 |
#include <AiwCommon.rh>
|
|
46 |
#include <AiwGenericParam.hrh>
|
|
47 |
|
|
48 |
#include <MsgEditor.hrh>
|
|
49 |
#include <muiu.mbg> // title icon
|
|
50 |
#include <aknsconstants.hrh>
|
|
51 |
// RESOURCES
|
|
52 |
|
|
53 |
RESOURCE RSS_SIGNATURE { }
|
|
54 |
|
|
55 |
// Default name for file save?
|
|
56 |
RESOURCE TBUF { buf = "SmsV"; }
|
|
57 |
|
|
58 |
// RESOURCE DEFINITIONS
|
|
59 |
// ---------------------------------------------------------
|
|
60 |
//
|
|
61 |
// eik_app_info
|
|
62 |
// Application resource info
|
|
63 |
//
|
|
64 |
// ---------------------------------------------------------
|
|
65 |
//
|
|
66 |
RESOURCE EIK_APP_INFO
|
|
67 |
{
|
|
68 |
menubar = r_smsv_optionsmenubar;
|
|
69 |
status_pane = r_smsviewer_status_pane;
|
|
70 |
cba = R_SMSVIEWER_SOFTKEYS_OPTIONS_BACK__CONTEXTOPTIONS;
|
|
71 |
}
|
|
72 |
|
|
73 |
// ---------------------------------------------------------
|
|
74 |
//
|
|
75 |
// r_smsviewer_app_info_extension
|
|
76 |
// Application resource info extension
|
|
77 |
//
|
|
78 |
// ---------------------------------------------------------
|
|
79 |
//
|
|
80 |
RESOURCE EIK_APP_INFO_EXT r_smsviewer_app_info_extension
|
|
81 |
{
|
|
82 |
popup_toolbar = r_smsviewer_app_toolbar;
|
|
83 |
}
|
|
84 |
|
|
85 |
// RESOURCE DEFINITIONS
|
|
86 |
// ---------------------------------------------------------
|
|
87 |
//
|
|
88 |
// r_smsviewer_status_pane
|
|
89 |
// Status pane resource
|
|
90 |
//
|
|
91 |
// ---------------------------------------------------------
|
|
92 |
//
|
|
93 |
RESOURCE STATUS_PANE_APP_MODEL r_smsviewer_status_pane
|
|
94 |
{
|
|
95 |
layout = R_AVKON_STATUS_PANE_LAYOUT_USUAL;
|
|
96 |
panes=
|
|
97 |
{
|
|
98 |
SPANE_PANE
|
|
99 |
{
|
|
100 |
id = EEikStatusPaneUidTitle;
|
|
101 |
type = EAknCtTitlePane;
|
|
102 |
resource = r_smsviewer_app_name;
|
|
103 |
}
|
|
104 |
};
|
|
105 |
}
|
|
106 |
//----------------------------------------------------
|
|
107 |
//
|
|
108 |
// r_smsviewer_app_toolbar - CAknToolbar
|
|
109 |
// Application toolbar
|
|
110 |
//
|
|
111 |
//----------------------------------------------------
|
|
112 |
//
|
|
113 |
// Needed by skinning. In toolbar resource definition skin support and bitmap methods are used, in case skin
|
|
114 |
// does not support toolbar icons
|
|
115 |
RESOURCE AVKON_BUTTON_STATE_EXTENSION r_smsviewer_reply_button_state_extension
|
|
116 |
{
|
|
117 |
bmbSkinIdMajor= EAknsMajorGeneric;
|
|
118 |
bmbSkinIdMinor= EAknsMinorGenericQgnIndiTbMsgReply;
|
|
119 |
}
|
|
120 |
|
|
121 |
RESOURCE AVKON_BUTTON_STATE_EXTENSION r_smsviewer_forward_button_state_extension
|
|
122 |
{
|
|
123 |
bmbSkinIdMajor= EAknsMajorGeneric;
|
|
124 |
bmbSkinIdMinor= EAknsMinorGenericQgnIndiTbMsgForward;
|
|
125 |
}
|
|
126 |
|
|
127 |
RESOURCE AVKON_BUTTON_STATE_EXTENSION r_smsviewer_delete_button_state_extension
|
|
128 |
{
|
|
129 |
bmbSkinIdMajor= EAknsMajorGeneric;
|
|
130 |
bmbSkinIdMinor= EAknsMinorGenericQgnIndiMgTbDelete;
|
|
131 |
}
|
|
132 |
|
|
133 |
RESOURCE AVKON_TOOLBAR r_smsviewer_app_toolbar
|
|
134 |
{
|
|
135 |
flags = KAknToolbarFixed;
|
|
136 |
items =
|
|
137 |
{
|
|
138 |
TBAR_CTRL
|
|
139 |
{
|
|
140 |
type = EAknCtButton;
|
|
141 |
id = ESmsViewerToolbarReply;
|
|
142 |
control = AVKON_BUTTON
|
|
143 |
{
|
|
144 |
flags = KAknButtonSizeFitText;
|
|
145 |
states =
|
|
146 |
{
|
|
147 |
AVKON_BUTTON_STATE
|
|
148 |
{
|
|
149 |
helptxt = qtn_sms_tb_tooltip_reply;
|
|
150 |
bmpfile = BITMAP_DIR"\\muiu.mif";
|
|
151 |
bmpid = EMbmMuiuQgn_indi_tb_msg_reply;
|
|
152 |
bmpmask = EMbmMuiuQgn_indi_tb_msg_reply_mask;
|
|
153 |
extension = r_smsviewer_reply_button_state_extension;
|
|
154 |
}
|
|
155 |
};
|
|
156 |
};
|
|
157 |
},
|
|
158 |
TBAR_CTRL
|
|
159 |
{
|
|
160 |
type = EAknCtButton;
|
|
161 |
id = ESmsViewerToolbarForward;
|
|
162 |
control = AVKON_BUTTON
|
|
163 |
{
|
|
164 |
flags = KAknButtonSizeFitText;
|
|
165 |
states =
|
|
166 |
{
|
|
167 |
AVKON_BUTTON_STATE
|
|
168 |
{
|
|
169 |
helptxt = qtn_sms_tb_tooltip_forward;
|
|
170 |
bmpfile = BITMAP_DIR"\\muiu.mif";
|
|
171 |
bmpid = EMbmMuiuQgn_indi_tb_msg_forward;
|
|
172 |
bmpmask = EMbmMuiuQgn_indi_tb_msg_forward_mask;
|
|
173 |
extension = r_smsviewer_forward_button_state_extension;
|
|
174 |
}
|
|
175 |
};
|
|
176 |
};
|
|
177 |
},
|
|
178 |
TBAR_CTRL
|
|
179 |
{
|
|
180 |
type = EAknCtButton;
|
|
181 |
id = ESmsViewerToolbarDelete;
|
|
182 |
control = AVKON_BUTTON
|
|
183 |
{
|
|
184 |
flags = KAknButtonSizeFitText;
|
|
185 |
states =
|
|
186 |
{
|
|
187 |
AVKON_BUTTON_STATE
|
|
188 |
{
|
|
189 |
helptxt = qtn_sms_tb_tooltip_delete;
|
|
190 |
bmpfile = BITMAP_DIR"\\muiu.mif";
|
|
191 |
bmpid = EMbmMuiuQgn_indi_mg_tb_delete;
|
|
192 |
bmpmask = EMbmMuiuQgn_indi_mg_tb_delete;
|
|
193 |
extension = r_smsviewer_delete_button_state_extension;
|
|
194 |
}
|
|
195 |
};
|
|
196 |
};
|
|
197 |
}
|
|
198 |
};
|
|
199 |
}
|
|
200 |
|
|
201 |
|
|
202 |
|
|
203 |
|
|
204 |
// RESOURCE DEFINITIONS
|
|
205 |
// ---------------------------------------------------------
|
|
206 |
//
|
|
207 |
// r_smsviewer_app_name - titlepane
|
|
208 |
// Title pane for SMS Viewer
|
|
209 |
//
|
|
210 |
// ---------------------------------------------------------
|
|
211 |
//
|
|
212 |
RESOURCE TITLE_PANE r_smsviewer_app_name
|
|
213 |
{
|
|
214 |
txt = " "; // title is set when message type is known
|
|
215 |
//bmpfile = APP_BITMAP_DIR"\\muiu.mif";
|
|
216 |
//bmpid = EMbmMuiuQgn_prop_mce_sms_title;
|
|
217 |
//bmpmask = EMbmMuiuQgn_prop_mce_sms_title_mask;
|
|
218 |
}
|
|
219 |
|
|
220 |
|
|
221 |
// RESOURCE DEFINITIONS
|
|
222 |
// ---------------------------------------------------------
|
|
223 |
//
|
|
224 |
// R_SMSVIEWER_SOFTKEYS_OPTIONS_BACK__CONTEXTOPTIONS
|
|
225 |
// SmsViewer softkeys
|
|
226 |
//
|
|
227 |
// ---------------------------------------------------------
|
|
228 |
//
|
|
229 |
RESOURCE CBA R_SMSVIEWER_SOFTKEYS_OPTIONS_BACK__CONTEXTOPTIONS
|
|
230 |
{
|
|
231 |
buttons =
|
|
232 |
{
|
|
233 |
CBA_BUTTON {id=EAknSoftkeyOptions; txt = text_softkey_option;},
|
|
234 |
CBA_BUTTON {id=EAknSoftkeyBack; txt = text_softkey_back; },
|
|
235 |
CBA_BUTTON {id=EAknSoftkeyContextOptions; txt = text_softkey_option; }
|
|
236 |
};
|
|
237 |
}
|
|
238 |
|
|
239 |
|
|
240 |
|
|
241 |
// RESOURCE DEFINITIONS
|
|
242 |
// ---------------------------------------------------------
|
|
243 |
//
|
|
244 |
// R_SMSVIEWER_CLASS0_SOFTKEYS_OPTIONS_EXIT__CONTEXTOPTIONS
|
|
245 |
// SmsViewer softkeys when Class0-message
|
|
246 |
//
|
|
247 |
// ---------------------------------------------------------
|
|
248 |
//
|
|
249 |
RESOURCE CBA R_SMSVIEWER_CLASS0_SOFTKEYS_OPTIONS_EXIT__CONTEXTOPTIONS
|
|
250 |
{
|
|
251 |
buttons =
|
|
252 |
{
|
|
253 |
CBA_BUTTON {id=EAknSoftkeyOptions; txt = text_softkey_option;},
|
|
254 |
CBA_BUTTON {id=EAknSoftkeyExit; txt = text_softkey_exit; },
|
|
255 |
CBA_BUTTON {id=EAknSoftkeyContextOptions; txt = text_softkey_option; }
|
|
256 |
};
|
|
257 |
}
|
|
258 |
|
|
259 |
|
|
260 |
|
|
261 |
// RESOURCE DEFINITIONS
|
|
262 |
// ---------------------------------------------------------
|
|
263 |
//
|
|
264 |
// r_smse_optionsmenubar - menubar
|
|
265 |
// Options mainmenu titles
|
|
266 |
//
|
|
267 |
// ---------------------------------------------------------
|
|
268 |
//
|
|
269 |
RESOURCE MENU_BAR r_smsv_optionsmenubar
|
|
270 |
{
|
|
271 |
titles =
|
|
272 |
{
|
|
273 |
MENU_TITLE
|
|
274 |
{
|
|
275 |
menu_pane = r_smsv_optionsmenupane;
|
|
276 |
}
|
|
277 |
};
|
|
278 |
}
|
|
279 |
|
|
280 |
// RESOURCE DEFINITIONS
|
|
281 |
// ---------------------------------------------------------
|
|
282 |
//
|
|
283 |
// r_smse_optionsmenupane - menupane
|
|
284 |
// Options mainmenu items
|
|
285 |
//
|
|
286 |
// ---------------------------------------------------------
|
|
287 |
//
|
|
288 |
RESOURCE MENU_PANE r_smsv_optionsmenupane
|
|
289 |
{
|
|
290 |
items =
|
|
291 |
{
|
|
292 |
MENU_ITEM
|
|
293 |
{
|
|
294 |
command = KAiwCmdSaveToCalendar;
|
|
295 |
txt = " "; //dynamically loaded!!
|
|
296 |
},
|
|
297 |
MENU_ITEM
|
|
298 |
{
|
|
299 |
command = ESmsViewerReply;
|
|
300 |
txt = qtn_sms_reply;
|
|
301 |
cascade = r_smsv_reply_menu;
|
|
302 |
},
|
|
303 |
MENU_ITEM
|
|
304 |
{
|
|
305 |
command = ESmsViewerReplyNoSubMenu;
|
|
306 |
txt = qtn_sms_reply;
|
|
307 |
flags=EEikMenuItemDimmed;
|
|
308 |
},
|
|
309 |
MENU_ITEM
|
|
310 |
{
|
|
311 |
command = ESmsViewerForward;
|
|
312 |
txt = qtn_sms_forward;
|
|
313 |
},
|
|
314 |
MENU_ITEM
|
|
315 |
{
|
|
316 |
command = ESmsViewerCallBack;
|
|
317 |
txt = qtn_sms_call_back;
|
|
318 |
},
|
|
319 |
MENU_ITEM
|
|
320 |
{
|
|
321 |
command = ESmsViewerDelete;
|
|
322 |
txt = qtn_msg_om_delete;
|
|
323 |
},
|
|
324 |
MENU_ITEM
|
|
325 |
{
|
|
326 |
command = EFindItemMenuPlaceHolder;
|
|
327 |
txt = ""; // constructed dynamically
|
|
328 |
},
|
|
329 |
MENU_ITEM
|
|
330 |
{
|
|
331 |
command = ESmsViewerMessInfo;
|
|
332 |
txt = qtn_msg_om_message_info;
|
|
333 |
},
|
|
334 |
MENU_ITEM
|
|
335 |
{
|
|
336 |
command = ESmsViewerMove;
|
|
337 |
txt = qtn_sms_move_to_folder;
|
|
338 |
},
|
|
339 |
MENU_ITEM
|
|
340 |
{
|
|
341 |
command = ESmsViewerCreateCC;
|
|
342 |
txt = " "; // <- dynamically loaded!!
|
|
343 |
// Request AIW to place the menu into submenu
|
|
344 |
cascade = AIW_CASCADE_ID;
|
|
345 |
},
|
|
346 |
MENU_ITEM { command = ESmsViewerSubmenuZoomCommands;
|
|
347 |
txt = qtn_options_text_size;
|
|
348 |
cascade = r_smsviewer_zoom_submenu;
|
|
349 |
},
|
|
350 |
MENU_ITEM
|
|
351 |
{
|
|
352 |
command = EAknCmdHelp;
|
|
353 |
txt = qtn_options_help;
|
|
354 |
},
|
|
355 |
MENU_ITEM
|
|
356 |
{
|
|
357 |
command = EAknCmdExit;
|
|
358 |
txt = qtn_options_exit;
|
|
359 |
}
|
|
360 |
};
|
|
361 |
}
|
|
362 |
|
|
363 |
// RESOURCE DEFINITIONS
|
|
364 |
//----------------------------------------------------
|
|
365 |
//
|
|
366 |
// r_smsviewer_zoom_submenu
|
|
367 |
//
|
|
368 |
//----------------------------------------------------
|
|
369 |
//
|
|
370 |
RESOURCE MENU_PANE r_smsviewer_zoom_submenu
|
|
371 |
{
|
|
372 |
items=
|
|
373 |
{
|
|
374 |
|
|
375 |
MENU_ITEM { command = EMsgDispSizeAutomatic;
|
|
376 |
txt = qtn_options_auto;
|
|
377 |
flags = EEikMenuItemRadioStart;
|
|
378 |
}
|
|
379 |
,
|
|
380 |
MENU_ITEM { command = EMsgDispSizeLarge;
|
|
381 |
txt = qtn_options_large;
|
|
382 |
flags = EEikMenuItemRadioMiddle;
|
|
383 |
}
|
|
384 |
,
|
|
385 |
MENU_ITEM { command = EMsgDispSizeNormal;
|
|
386 |
txt = qtn_options_normal;
|
|
387 |
flags = EEikMenuItemRadioMiddle;
|
|
388 |
}
|
|
389 |
,
|
|
390 |
MENU_ITEM { command = EMsgDispSizeSmall;
|
|
391 |
txt = qtn_options_small;
|
|
392 |
flags = EEikMenuItemRadioEnd;
|
|
393 |
}
|
|
394 |
};
|
|
395 |
}
|
|
396 |
// ---------------------------------------------------------
|
|
397 |
//
|
|
398 |
// r_smsv_reply_menu
|
|
399 |
// Menu items in Reply submenu
|
|
400 |
//
|
|
401 |
// ---------------------------------------------------------
|
|
402 |
//
|
|
403 |
RESOURCE MENU_PANE r_smsv_reply_menu
|
|
404 |
{
|
|
405 |
items=
|
|
406 |
{
|
|
407 |
MENU_ITEM { command = ESmsViewerReplyViaMessage; txt=qtn_mms_sm_via_message; },
|
|
408 |
MENU_ITEM { command = ESmsViewerReplyNormal; txt=qtn_mms_sm_via_sms; },
|
|
409 |
MENU_ITEM { command = ESmsViewerReplyViaMms; txt=qtn_sms_reply_via_mms; },
|
|
410 |
MENU_ITEM { command = ESmsViewerReplyViaAudio; txt=qtn_msg_reply_via_audio_message; flags=EEikMenuItemDimmed; },
|
|
411 |
MENU_ITEM { command = ESmsViewerReplyViaEmail; txt=qtn_mms_sm_via_mail; flags=EEikMenuItemDimmed;}
|
|
412 |
};
|
|
413 |
}
|
|
414 |
|
|
415 |
// RESOURCE DEFINITIONS
|
|
416 |
// ---------------------------------------------------------
|
|
417 |
//
|
|
418 |
// r_smsv_contextmenubar - menubar
|
|
419 |
// Contextmenu titles
|
|
420 |
//
|
|
421 |
// ---------------------------------------------------------
|
|
422 |
//
|
|
423 |
RESOURCE MENU_BAR r_smsv_contextmenubar
|
|
424 |
{
|
|
425 |
titles =
|
|
426 |
{
|
|
427 |
MENU_TITLE
|
|
428 |
{
|
|
429 |
menu_pane = r_smsv_contextmenupane;
|
|
430 |
}
|
|
431 |
};
|
|
432 |
}
|
|
433 |
|
|
434 |
// RESOURCE DEFINITIONS
|
|
435 |
// ---------------------------------------------------------
|
|
436 |
//
|
|
437 |
// r_smsv_contextmenupane - menupane
|
|
438 |
// Context menu items
|
|
439 |
//
|
|
440 |
// ---------------------------------------------------------
|
|
441 |
//
|
|
442 |
RESOURCE MENU_PANE r_smsv_contextmenupane
|
|
443 |
{
|
|
444 |
items =
|
|
445 |
{
|
|
446 |
MENU_ITEM
|
|
447 |
{
|
|
448 |
command = EFindItemContextMenuPlaceHolder;
|
|
449 |
txt=""; // constucted dynamically
|
|
450 |
}
|
|
451 |
};
|
|
452 |
}
|
|
453 |
|
|
454 |
// RESOURCE DEFINITIONS
|
|
455 |
// ---------------------------------------------------------
|
|
456 |
//
|
|
457 |
// r_smsv_from - msgeditoraddresscontrol
|
|
458 |
// A text inside 'from'-field
|
|
459 |
//
|
|
460 |
// ---------------------------------------------------------
|
|
461 |
//
|
|
462 |
RESOURCE MSG_EDITOR_ADDRESS_CONTROL r_smsv_from
|
|
463 |
{
|
|
464 |
prompt = qtn_msg_from;
|
|
465 |
id = EMsgComponentIdFrom;
|
|
466 |
distance = 0;
|
|
467 |
}
|
|
468 |
|
|
469 |
// RESOURCE DEFINITIONS
|
|
470 |
// ---------------------------------------------------------
|
|
471 |
//
|
|
472 |
// r_smsv_to - msgeditoraddresscontrol
|
|
473 |
// A text inside 'to'-field
|
|
474 |
//
|
|
475 |
// ---------------------------------------------------------
|
|
476 |
//
|
|
477 |
RESOURCE MSG_EDITOR_ADDRESS_CONTROL r_smsv_to
|
|
478 |
{
|
|
479 |
prompt = qtn_msg_to;
|
|
480 |
id = EMsgComponentIdTo;
|
|
481 |
distance = 0;
|
|
482 |
}
|
|
483 |
|
|
484 |
// RESOURCE DEFINITIONS
|
|
485 |
// ---------------------------------------------------------
|
|
486 |
//
|
|
487 |
// r_smsv_replypath - msgeditoraddresscontrol
|
|
488 |
// An indication of "replypath provided"
|
|
489 |
//
|
|
490 |
// ---------------------------------------------------------
|
|
491 |
//
|
|
492 |
RESOURCE MSG_EDITOR_EXPANDABLE_CONTROL r_smsv_replypath
|
|
493 |
{
|
|
494 |
id = EMsgComponentIdCc;
|
|
495 |
fontid = 1; // 1 = LatinPlain12
|
|
496 |
}
|
|
497 |
|
|
498 |
// RESOURCE DEFINITIONS
|
|
499 |
// ---------------------------------------------------------
|
|
500 |
//
|
|
501 |
// r_deletemsgconf_query - dialog
|
|
502 |
// Query when deleting a current message
|
|
503 |
//
|
|
504 |
// ---------------------------------------------------------
|
|
505 |
//
|
|
506 |
RESOURCE DIALOG r_deletemsgconf_query
|
|
507 |
{
|
|
508 |
flags=EGeneralQueryFlags;
|
|
509 |
buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
|
|
510 |
items=
|
|
511 |
{
|
|
512 |
DLG_LINE
|
|
513 |
{
|
|
514 |
type=EAknCtQuery;
|
|
515 |
id=EGeneralQuery;
|
|
516 |
control= AVKON_CONFIRMATION_QUERY
|
|
517 |
{
|
|
518 |
layout = EConfirmationLayout;
|
|
519 |
};
|
|
520 |
}
|
|
521 |
};
|
|
522 |
}
|
|
523 |
|
|
524 |
// RESOURCE DEFINITIONS
|
|
525 |
// ---------------------------------------------------------
|
|
526 |
//
|
|
527 |
// r_smsv_optionsmenubar_class0 - menubar
|
|
528 |
// Class 0 titles
|
|
529 |
//
|
|
530 |
// ---------------------------------------------------------
|
|
531 |
//
|
|
532 |
RESOURCE MENU_BAR r_smsv_optionsmenubar_class0
|
|
533 |
{
|
|
534 |
titles =
|
|
535 |
{
|
|
536 |
MENU_TITLE
|
|
537 |
{
|
|
538 |
menu_pane = r_smsv_optionsmenupane_class0;
|
|
539 |
}
|
|
540 |
};
|
|
541 |
}
|
|
542 |
|
|
543 |
// RESOURCE DEFINITIONS
|
|
544 |
// ---------------------------------------------------------
|
|
545 |
//
|
|
546 |
// r_smsv_optionsmenupane_class0 - menupane
|
|
547 |
// Class 0 titles
|
|
548 |
//
|
|
549 |
// ---------------------------------------------------------
|
|
550 |
//
|
|
551 |
RESOURCE MENU_PANE r_smsv_optionsmenupane_class0
|
|
552 |
{
|
|
553 |
items =
|
|
554 |
{
|
|
555 |
MENU_ITEM
|
|
556 |
{
|
|
557 |
command = ESmsViewerSave;
|
|
558 |
txt = qtn_sms_save;
|
|
559 |
},
|
|
560 |
MENU_ITEM
|
|
561 |
{
|
|
562 |
command = EFindItemMenuPlaceHolder;
|
|
563 |
txt = ""; // constructed dynamically
|
|
564 |
}
|
|
565 |
};
|
|
566 |
}
|
|
567 |
|
|
568 |
// RESOURCE DEFINITIONS
|
|
569 |
// ---------------------------------------------------------
|
|
570 |
//
|
|
571 |
// r_smsv_optionscontextmenubar_class0 - menubar
|
|
572 |
// Class 0 Context menutitles
|
|
573 |
//
|
|
574 |
// ---------------------------------------------------------
|
|
575 |
//
|
|
576 |
RESOURCE MENU_BAR r_smsv_optionscontextmenubar_class0
|
|
577 |
{
|
|
578 |
titles =
|
|
579 |
{
|
|
580 |
MENU_TITLE
|
|
581 |
{
|
|
582 |
menu_pane = r_smsv_optionscontextmenupane_class0;
|
|
583 |
}
|
|
584 |
};
|
|
585 |
}
|
|
586 |
|
|
587 |
// RESOURCE DEFINITIONS
|
|
588 |
// ---------------------------------------------------------
|
|
589 |
//
|
|
590 |
// r_smsv_optionscontextmenupane_class0 - menupane
|
|
591 |
// Class 0 context menutitles
|
|
592 |
//
|
|
593 |
// ---------------------------------------------------------
|
|
594 |
//
|
|
595 |
RESOURCE MENU_PANE r_smsv_optionscontextmenupane_class0
|
|
596 |
{
|
|
597 |
items =
|
|
598 |
{
|
|
599 |
MENU_ITEM
|
|
600 |
{
|
|
601 |
command = EFindItemContextMenuPlaceHolder;
|
|
602 |
txt = ""; // constructed dynamically
|
|
603 |
}
|
|
604 |
};
|
|
605 |
}
|
|
606 |
|
|
607 |
|
|
608 |
// RESOURCE DEFINITIONS
|
|
609 |
//-----------------------------------------------------
|
|
610 |
// R_SMS_VIEWER_SUBJECT
|
|
611 |
//
|
|
612 |
// 'Subject' field in sms viewer.
|
|
613 |
//-----------------------------------------------------
|
|
614 |
|
|
615 |
RESOURCE MSG_EDITOR_EXPANDABLE_CONTROL r_sms_viewer_subject
|
|
616 |
{
|
|
617 |
prompt = qtn_msg_subject; // Subject
|
|
618 |
id = EMsgComponentIdSubject;
|
|
619 |
distance = 0;
|
|
620 |
//maxchars = 998;
|
|
621 |
default_case = EAknEditorLowerCase;
|
|
622 |
//allowed_case_modes = EAknEditorAllCaseModes;
|
|
623 |
default_input_mode = EAknEditorNullInputMode;
|
|
624 |
//allowed_input_modes = EAknEditorTextInputMode | EAknEditorNumericInputMode;
|
|
625 |
//avkon_flags = EAknEditorFlagUseSCTNumericCharmap;
|
|
626 |
}
|
|
627 |
|
|
628 |
|
|
629 |
// RESOURCE DEFINITIONS
|
|
630 |
// ---------------------------------------------------------
|
|
631 |
//
|
|
632 |
// r_smsviewer_localisable_app_info
|
|
633 |
// Application resource info
|
|
634 |
//
|
|
635 |
// ---------------------------------------------------------
|
|
636 |
//
|
|
637 |
RESOURCE LOCALISABLE_APP_INFO r_smsviewer_localisable_app_info
|
|
638 |
{
|
|
639 |
short_caption = qtn_apps_sms_grid;
|
|
640 |
caption_and_icon =
|
|
641 |
CAPTION_AND_ICON_INFO
|
|
642 |
{
|
|
643 |
caption = qtn_title_sms;
|
|
644 |
#ifdef __SCALABLE_ICONS
|
|
645 |
number_of_icons = 1;
|
|
646 |
icon_file = APP_BITMAP_DIR"\\smsviewer_aif.mif";
|
|
647 |
#else
|
|
648 |
number_of_icons = 1;
|
|
649 |
icon_file = APP_BITMAP_DIR"\\smsviewer_aif.mbm";
|
|
650 |
#endif
|
|
651 |
};
|
|
652 |
}
|
|
653 |
|
|
654 |
// RESOURCE DEFINITIONS
|
|
655 |
// ---------------------------------------------------------
|
|
656 |
//
|
|
657 |
// r_smsv_aiw_contact_interest
|
|
658 |
// AIW interest for contact create/update
|
|
659 |
//
|
|
660 |
// ---------------------------------------------------------
|
|
661 |
//
|
|
662 |
RESOURCE AIW_INTEREST r_smsv_aiw_contact_interest
|
|
663 |
{
|
|
664 |
items=
|
|
665 |
{
|
|
666 |
AIW_CRITERIA_ITEM
|
|
667 |
{
|
|
668 |
id = ESmsViewerCreateCC;
|
|
669 |
serviceCmd = KAiwCmdAssign;
|
|
670 |
contentType = EGenericParamContactItemStr;
|
|
671 |
serviceClass = KAiwClassMenu;
|
|
672 |
// Default service provider Phonebook2
|
|
673 |
defaultProvider = 0x101F87BE; // KPbk2UIServicesUID
|
|
674 |
maxProviders = 1;
|
|
675 |
}
|
|
676 |
};
|
|
677 |
}
|
|
678 |
|
|
679 |
// RESOURCE DEFINITIONS
|
|
680 |
// ---------------------------------------------------------
|
|
681 |
//
|
|
682 |
// r_smsv_aiw_calendar_interest
|
|
683 |
// AIW interest for add calender
|
|
684 |
//
|
|
685 |
// ---------------------------------------------------------
|
|
686 |
//
|
|
687 |
RESOURCE AIW_INTEREST r_smsv_aiw_calendar_interest
|
|
688 |
{
|
|
689 |
items=
|
|
690 |
{
|
|
691 |
AIW_CRITERIA_ITEM
|
|
692 |
{
|
|
693 |
id = KAiwCmdSaveToCalendar;
|
|
694 |
serviceCmd = KAiwCmdSaveToCalendar;
|
|
695 |
contentType = "*";
|
|
696 |
serviceClass = KAiwClassMenu;
|
|
697 |
defaultProvider = 0x2002A506;
|
|
698 |
maxProviders = 1;
|
|
699 |
}
|
|
700 |
};
|
|
701 |
}
|
|
702 |
|
|
703 |
//
|
|
704 |
// Used texts. Notice that there is no TBUF-lengths, so usage of dynamic loading is strongly
|
|
705 |
// recommended.
|
|
706 |
//
|
|
707 |
RESOURCE TBUF r_qtn_mce_move_move_to { buf = qtn_mce_move_move_to; }
|
|
708 |
RESOURCE TBUF r_qtn_query_common_conf_delete_me { buf = qtn_query_common_conf_delete_me ;}
|
|
709 |
RESOURCE TBUF r_qtn_mce_conf_message_saved { buf = qtn_mce_conf_message_saved ;}
|
|
710 |
RESOURCE TBUF r_qtn_sm_title_picture_message { buf = qtn_sm_title_picture_message; }
|
|
711 |
RESOURCE TBUF r_qtn_sm_picture_name { buf = qtn_sm_picture_name; }
|
|
712 |
RESOURCE TBUF r_qtn_title_sms { buf = qtn_title_sms; }
|
|
713 |
RESOURCE TBUF r_qtn_sms_heading_reply_path { buf = qtn_sms_heading_reply_path; }
|
|
714 |
RESOURCE TBUF r_qtn_sms_replyformat { buf = qtn_msg_mail_re; }
|
|
715 |
|
|
716 |
#ifdef __PROTOCOL_CDMA
|
|
717 |
#include "SmsViewerCDMA.rss"
|
|
718 |
#endif
|
|
719 |
|
|
720 |
// End of File
|