|
1 /* |
|
2 * Copyright (c) 2002-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 SendUi |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 NAME SEND |
|
21 |
|
22 #include <eikon.rh> |
|
23 #include <avkon.rh> |
|
24 #include <avkon.rsg> |
|
25 #include <avkon.mbg> |
|
26 #include <avkon.loc> |
|
27 #include <AiwCommon.hrh> |
|
28 #include <AiwCommon.rh> |
|
29 #include <sendnorm.loc> |
|
30 #include <drmcommon.loc> |
|
31 #include <messaging.loc> |
|
32 #include <AvkonIcons.hrh> // AVKON_ICON_FILE |
|
33 |
|
34 RESOURCE RSS_SIGNATURE { } |
|
35 |
|
36 RESOURCE TBUF32 r_sendui_menuitem_send { buf = qtn_options_send_via; } |
|
37 |
|
38 RESOURCE MENU_PANE r_sendui_menu |
|
39 { |
|
40 items = |
|
41 { |
|
42 // will be dynamically populated |
|
43 }; |
|
44 } |
|
45 |
|
46 RESOURCE DIALOG r_sendui_list_query |
|
47 { |
|
48 flags = EGeneralQueryFlags; |
|
49 buttons = R_AVKON_SOFTKEYS_SELECT_CANCEL__SELECT; |
|
50 items = |
|
51 { |
|
52 DLG_LINE |
|
53 { |
|
54 type = EAknCtListQueryControl; |
|
55 id = EListQueryControl; |
|
56 control = AVKON_LIST_QUERY_CONTROL |
|
57 { |
|
58 heading = " "; // needed, otherwise heading is not created at all! |
|
59 listtype = EAknCtSinglePopupMenuListBox; |
|
60 listbox = LISTBOX |
|
61 { |
|
62 flags = EAknListBoxMenuList; |
|
63 height = 3; |
|
64 width = 3; |
|
65 }; |
|
66 }; |
|
67 } |
|
68 }; |
|
69 } |
|
70 |
|
71 |
|
72 RESOURCE DIALOG r_sendui_create_mailbox_confirmation_query |
|
73 { |
|
74 flags = EGeneralQueryFlags; |
|
75 buttons = R_AVKON_SOFTKEYS_YES_NO__YES; |
|
76 items = |
|
77 { |
|
78 DLG_LINE |
|
79 { |
|
80 type = EAknCtQuery; |
|
81 id = EGeneralQuery; |
|
82 control = AVKON_CONFIRMATION_QUERY |
|
83 { |
|
84 layout = EConfirmationQueryLayout; |
|
85 label = qtn_mce_conf_no_mailboxes; |
|
86 }; |
|
87 } |
|
88 }; |
|
89 } |
|
90 |
|
91 RESOURCE DIALOG r_sendui_wait_note |
|
92 { |
|
93 flags = EAknWaitNoteFlags; |
|
94 buttons = R_AVKON_SOFTKEYS_EMPTY; |
|
95 items = |
|
96 { |
|
97 DLG_LINE |
|
98 { |
|
99 type = EAknCtNote; |
|
100 id = 10; |
|
101 control = AVKON_NOTE |
|
102 { |
|
103 layout = EWaitLayout; |
|
104 singular_label = qtn_mail_wait_opening_editor; |
|
105 plural_label = ""; |
|
106 animation = R_QGN_GRAF_WAIT_BAR_ANIM; |
|
107 }; |
|
108 } |
|
109 }; |
|
110 } |
|
111 |
|
112 RESOURCE DIALOG r_sendui_drm_forwardlocked_content_query |
|
113 { |
|
114 flags = EGeneralQueryFlags; |
|
115 buttons = R_AVKON_SOFTKEYS_YES_NO__YES; |
|
116 items = |
|
117 { |
|
118 DLG_LINE |
|
119 { |
|
120 type = EAknCtQuery; |
|
121 id = EGeneralQuery; |
|
122 control = AVKON_CONFIRMATION_QUERY |
|
123 { |
|
124 layout = EConfirmationQueryLayout; |
|
125 }; |
|
126 } |
|
127 }; |
|
128 } |
|
129 |
|
130 // For DRM engine |
|
131 RESOURCE TBUF r_sendui_drm_single_distrutable { buf = qtn_drm_send_wo_rights_sd_1; } |
|
132 RESOURCE TBUF r_sendui_drm_several_distrutable { buf = qtn_drm_send_wo_rights_misc; } |
|
133 RESOURCE TBUF r_sendui_drm_several_locked { buf = qtn_drm_fl_query_send_forbid; } |
|
134 RESOURCE TBUF r_sendui_drm_one_file_deleted { buf = qtn_drm_send_forbid_1; } |
|
135 RESOURCE TBUF r_sendui_drm_all_files_deleted { buf = qtn_drm_send_forbid; } |
|
136 |
|
137 // For MMS Media Resolver |
|
138 RESOURCE TBUF r_sendui_mme_one_too_big { buf = qtn_mms_info_not_inserted; } |
|
139 RESOURCE TBUF r_sendui_mme_many_too_big { buf = qtn_mms_info_all_not_inserted; } |
|
140 RESOURCE TBUF r_sendui_mme_some_files_deleted { buf = qtn_mms_info_some_not_supported; } |
|
141 RESOURCE TBUF r_sendui_mme_file_not_supported { buf = qtn_mms_info_object_not_supported; } |
|
142 RESOURCE TBUF r_sendui_mme_files_not_supported { buf = qtn_mms_info_objects_not_supported; } |
|
143 RESOURCE TBUF r_sendui_mme_none_cannot_ins { buf = qtn_mms_info_cannot_ins; } |
|
144 RESOURCE TBUF r_sendui_mme_some_inserted { buf = qtn_mms_info_only_some_ins; } |
|
145 |
|
146 RESOURCE TBUF r_sendui_settings_not_ok { buf = qtn_mce_error_stand_settings; } |
|
147 RESOURCE TBUF r_sendui_settings_email_not_ok { buf = qtn_mce_error_stand_settings_email; } |
|
148 |
|
149 |
|
150 RESOURCE AIW_INTEREST r_sendui_baseinterest |
|
151 { |
|
152 items= |
|
153 { |
|
154 // This application is interested in printing jpeg images from menu. |
|
155 AIW_CRITERIA_ITEM |
|
156 { |
|
157 id = 200000; |
|
158 serviceCmd = KAiwCmdSend; |
|
159 serviceClass = KAiwClassBase; |
|
160 contentType = "*"; |
|
161 maxProviders = 3; |
|
162 } |
|
163 }; |
|
164 } |
|
165 |
|
166 // For DRM engine |
|
167 RESOURCE TBUF r_sendui_drm_many_sd_items { buf = qtn_drm_send_wo_rights_sd; } |
|
168 RESOURCE TBUF r_sendui_drm_some_locked { buf = qtn_drm_query_send_forbid; } |
|
169 |
|
170 // For MMS upload |
|
171 RESOURCE TBUF r_sendui_mms_upload_file_corrupted { buf = qtn_mms_upload_info_corrupted; } |
|
172 RESOURCE TBUF r_sendui_mms_upload_files_corrupted { buf = qtn_mms_upload_info_corrupted_all; } |
|
173 RESOURCE TBUF r_sendui_mms_upload_some_files_corrupted { buf = qtn_mms_upload_info_corrupted_some; } |
|
174 RESOURCE TBUF r_sendui_mms_upload_one_too_big { buf = qtn_mms_info_size_not_sent; } |
|
175 RESOURCE TBUF r_sendui_mms_upload_many_too_big { buf = qtn_mms_info_size_all_not_sent; } |
|
176 RESOURCE TBUF r_sendui_mms_upload_none_cannot_ins { buf = qtn_mms_info_cannot_send; } |
|
177 RESOURCE TBUF r_sendui_mms_upload_some_inserted { buf = qtn_mms_info_only_some_sent; } |
|
178 RESOURCE TBUF r_sendui_mms_upload_some_files_deleted { buf = qtn_mms_info_some_not_supp_send; } |
|
179 RESOURCE TBUF r_sendui_mms_upload_file_not_supported { buf = qtn_mms_info_obj_not_supp_send; } |
|
180 RESOURCE TBUF r_sendui_mms_upload_files_not_supported { buf = qtn_mms_info_objects_not_supp_send; } |
|
181 RESOURCE TBUF r_sendui_mms_upload_drm_one_sd { buf = qtn_drm_query_mms_upload_one_sd; } |
|
182 RESOURCE TBUF r_sendui_mms_upload_drm_many_sd { buf = qtn_drm_query_mms_upload_all_sd; } |
|
183 RESOURCE TBUF r_sendui_mms_upload_drm_some_sd { buf = qtn_drm_query_mms_upload_some; } |
|
184 RESOURCE TBUF r_sendui_settings_not_ok_many { buf = qtn_mce_error_stand_settings_many; } |
|
185 |
|
186 RESOURCE TBUF r_sendui_list_query_title { buf = qtn_query_heading_send; } |
|
187 |
|
188 // DRM notes |
|
189 RESOURCE TBUF r_sendui_drm_send_forbid_one { buf = qtn_drm_info_send_forbid_one; } |
|
190 RESOURCE TBUF r_sendui_drm_send_forbid_some { buf = qtn_drm_info_send_forbid_some; } |
|
191 |
|
192 // ----------------------------------------------------------------------------- |
|
193 // |
|
194 // r_sendui_confirmable_info |
|
195 // Confirmation query. |
|
196 // |
|
197 // ----------------------------------------------------------------------------- |
|
198 // |
|
199 RESOURCE DIALOG r_sendui_confirmable_info |
|
200 { |
|
201 flags = EGeneralQueryFlags; |
|
202 buttons = R_AVKON_SOFTKEYS_OK_EMPTY__OK; |
|
203 items = |
|
204 { |
|
205 DLG_LINE |
|
206 { |
|
207 type = EAknCtQuery; |
|
208 id = EGeneralQuery; |
|
209 control = AVKON_CONFIRMATION_QUERY |
|
210 { |
|
211 layout = EConfirmationQueryLayout; |
|
212 animation = R_QGN_NOTE_INFO_ANIM; |
|
213 }; |
|
214 } |
|
215 }; |
|
216 } |
|
217 |
|
218 RESOURCE TBUF r_sendui_menuitem_write { buf = qtn_options_write; } |
|
219 RESOURCE TBUF r_sendui_list_query_title_write { buf = qtn_query_heading_write; } |
|
220 RESOURCE TBUF r_sendui_mme_rmode_file_not_supported { buf = qtn_mms_info_rmode_object_not_supported; } |
|
221 RESOURCE TBUF r_sendui_mme_rmode_files_not_supported { buf = qtn_mms_info_rmode_objects_not_supported; } |
|
222 RESOURCE TBUF r_sendui_mme_rmode_some_not_supported { buf = qtn_mms_info_rmode_some_not_supported; } |
|
223 |
|
224 |
|
225 RESOURCE ARRAY r_senduiserviceorder_array |
|
226 { |
|
227 items = |
|
228 { |
|
229 NUMBER_INT32 { value = 0x102072D6; }, // KSenduiMtmUniMessageUidValue, |
|
230 NUMBER_INT32 { value = 0x1020745B; }, // KSenduiMtmAudioMessageUidValue, |
|
231 NUMBER_INT32 { value = 0x10001028; }, // KSenduiMtmSmtpUidValue, |
|
232 NUMBER_INT32 { value = 0x101f7c5c; }, // KSenduiMtmSyncMLEmailUidValue, |
|
233 NUMBER_INT32 { value = 0x10207245; }, // KSenduiMtmPostcardUidValue, |
|
234 NUMBER_INT32 { value = 0x101F8835; }, // KMmsUploadService1, |
|
235 NUMBER_INT32 { value = 0x101F8836; }, // KMmsUploadService2, |
|
236 NUMBER_INT32 { value = 0x101F8837; }, // KMmsUploadService3, |
|
237 NUMBER_INT32 { value = 0x101F8838; }, // KMmsUploadService4, |
|
238 NUMBER_INT32 { value = 0x10009ED5; }, // KSenduiMtmBtUidValue, |
|
239 NUMBER_INT32 { value = 0x100053A4; }, // KSenduiMtmIrUidValue, |
|
240 NUMBER_INT32 { value = 0x10207388; } // KDrmLinkSenderValue |
|
241 }; |
|
242 } |
|
243 |
|
244 // End of File |
|
245 |