|
1 /* |
|
2 * Copyright (c) 2004 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: |
|
15 * Resource definitions. |
|
16 * |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 // RESOURCE IDENTIFIER |
|
22 |
|
23 NAME ROAP |
|
24 |
|
25 // INCLUDES |
|
26 |
|
27 #include <eikon.rh> |
|
28 #include <DrmCommon.loc> |
|
29 #include "RoapApp.hrh" |
|
30 #include "eikon.rsg" |
|
31 #include <avkon.loc> |
|
32 #include <avkon.rsg> |
|
33 #include <avkon.rh> |
|
34 #include <avkon.mbg> |
|
35 #include <appinfo.rh> |
|
36 #include <AvkonIcons.hrh> |
|
37 |
|
38 // RESOURCE DEFINITIONS |
|
39 |
|
40 RESOURCE RSS_SIGNATURE { } |
|
41 |
|
42 RESOURCE TBUF { buf = "Activation"; } |
|
43 |
|
44 RESOURCE EIK_APP_INFO |
|
45 { |
|
46 cba = R_AVKON_SOFTKEYS_BACK; |
|
47 } |
|
48 |
|
49 RESOURCE LOCALISABLE_APP_INFO r_roap_app_localisable_app_info |
|
50 { |
|
51 short_caption = qtn_drm_roap_title; |
|
52 caption_and_icon = CAPTION_AND_ICON_INFO { caption = qtn_drm_roap_title; }; |
|
53 } |
|
54 |
|
55 RESOURCE LABEL r_roap_app_label |
|
56 { |
|
57 txt = ""; |
|
58 } |
|
59 |
|
60 RESOURCE CBA r_roap_app_cba_empty_cancel |
|
61 { |
|
62 buttons = |
|
63 { |
|
64 CBA_BUTTON { id = 0; txt = ""; }, |
|
65 CBA_BUTTON { id = ERoapAppCmdCancel; txt = text_softkey_cancel; } |
|
66 }; |
|
67 } |
|
68 |
|
69 RESOURCE DIALOG r_roap_app_wait_note |
|
70 { |
|
71 flags = EAknWaitNoteFlags; |
|
72 buttons = r_roap_app_cba_empty_cancel; |
|
73 items = |
|
74 { |
|
75 DLG_LINE |
|
76 { |
|
77 type = EAknCtNote; |
|
78 id = EGeneralNote; |
|
79 control = AVKON_NOTE |
|
80 { |
|
81 layout = EWaitLayout; |
|
82 singular_label = qtn_drm_wait_getting_key; // Dynamically set runtime. |
|
83 animation = R_QGN_GRAF_WAIT_BAR_ANIM; |
|
84 }; |
|
85 } |
|
86 }; |
|
87 } |
|
88 |
|
89 RESOURCE DIALOG r_roap_app_confirm_query |
|
90 { |
|
91 flags = EAknDialogGenericQueryFlags; |
|
92 buttons = R_AVKON_SOFTKEYS_YES_NO__YES; |
|
93 items = |
|
94 { |
|
95 DLG_LINE |
|
96 { |
|
97 type = EAknCtQuery; |
|
98 id = EGeneralQuery; |
|
99 control = AVKON_CONFIRMATION_QUERY |
|
100 { |
|
101 layout = EConfirmationQueryLayout; |
|
102 label = ""; // Dynamically set runtime. |
|
103 }; |
|
104 } |
|
105 }; |
|
106 } |
|
107 |
|
108 RESOURCE CBA r_roap_app_cba_register_cancel |
|
109 { |
|
110 buttons = |
|
111 { |
|
112 CBA_BUTTON { id = EAknSoftkeyYes; txt = qtn_drm_sk1_register; }, |
|
113 CBA_BUTTON { id = EAknSoftkeyCancel; txt = text_softkey_cancel; }, |
|
114 CBA_BUTTON { id = EAknSoftkeyYes; txt = qtn_drm_sk1_register; } |
|
115 }; |
|
116 } |
|
117 |
|
118 |
|
119 |
|
120 RESOURCE DIALOG r_roap_registercancel_query |
|
121 { |
|
122 flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow; |
|
123 buttons = r_roap_app_cba_register_cancel; |
|
124 items= |
|
125 { |
|
126 DLG_LINE |
|
127 { |
|
128 type = EAknCtPopupHeadingPane; |
|
129 id = EAknMessageQueryHeaderId; |
|
130 control = AVKON_HEADING |
|
131 { |
|
132 headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE; |
|
133 }; |
|
134 }, |
|
135 DLG_LINE |
|
136 { |
|
137 type = EAknCtMessageQuery; |
|
138 id = EAknMessageQueryContentId; |
|
139 control = AVKON_MESSAGE_QUERY |
|
140 { |
|
141 }; |
|
142 } |
|
143 }; |
|
144 } |
|
145 |
|
146 |
|
147 RESOURCE DIALOG r_roap_register_cancel_ok_info |
|
148 { |
|
149 flags = EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar | |
|
150 EEikDialogFlagCbaButtons | EEikDialogFlagWait; |
|
151 buttons=R_AVKON_SOFTKEYS_OK_EMPTY__OK; |
|
152 items = |
|
153 { |
|
154 DLG_LINE |
|
155 { |
|
156 type = EAknCtNote; |
|
157 id = EGeneralNote; |
|
158 control = AVERELL_NOTE |
|
159 { |
|
160 layout = EGeneralLayout; |
|
161 singular_label = ""; |
|
162 plural_label = ""; |
|
163 imagefile = AVKON_ICON_FILE; |
|
164 imageid = EMbmAvkonQgn_note_info; |
|
165 imagemask = EMbmAvkonQgn_note_info_mask; |
|
166 }; |
|
167 } |
|
168 }; |
|
169 } |
|
170 |
|
171 |
|
172 |
|
173 |
|
174 // Wait note texts |
|
175 |
|
176 RESOURCE TBUF r_qtn_drm_wait_registering_device |
|
177 { buf = qtn_drm_wait_registering_device; } |
|
178 |
|
179 RESOURCE TBUF r_qtn_drm_wait_joining_domain |
|
180 { buf = qtn_drm_wait_joining_domain; } |
|
181 |
|
182 RESOURCE TBUF r_qtn_drm_wait_getting_key |
|
183 { buf = qtn_drm_wait_getting_key; } |
|
184 |
|
185 RESOURCE TBUF r_qtn_drm_wait_updating_account |
|
186 { buf = qtn_drm_wait_updating_account; } |
|
187 |
|
188 RESOURCE TBUF r_qtn_drm_wait_remove_fr_account |
|
189 { buf = qtn_drm_wait_remove_fr_account; } |
|
190 |
|
191 RESOURCE TBUF r_qtn_drm_wait_update_metering_info |
|
192 { buf = qtn_drm_wait_update_metering_info; } |
|
193 // Messages |
|
194 |
|
195 RESOURCE TBUF r_qtn_drm_conf_joined_to_domain |
|
196 { buf = qtn_drm_conf_joined_to_domain; } |
|
197 |
|
198 RESOURCE TBUF r_qtn_drm_info_act_key_received |
|
199 { buf = qtn_drm_info_act_key_received; } |
|
200 |
|
201 RESOURCE TBUF r_qtn_drm_query_key_received_open |
|
202 { buf = qtn_drm_query_key_received_open; } |
|
203 |
|
204 RESOURCE TBUF r_qtn_drm_conf_account_updated |
|
205 { buf = qtn_drm_conf_account_updated; } |
|
206 |
|
207 RESOURCE TBUF r_qtn_drm_info_remove_fr_account |
|
208 { buf = qtn_drm_info_remove_fr_account; } |
|
209 |
|
210 RESOURCE TBUF r_qtn_drm_conf_device_registered |
|
211 { buf = qtn_drm_conf_device_registered; } |
|
212 |
|
213 RESOURCE TBUF r_qtn_drm_info_getting_key_failed |
|
214 { buf = qtn_drm_info_getting_key_failed; } |
|
215 |
|
216 RESOURCE TBUF r_qtn_drm_get_key_failed_retry |
|
217 { buf = qtn_drm_get_key_failed_retry; } |
|
218 |
|
219 RESOURCE TBUF r_qtn_drm_info_update_domain_fail |
|
220 { buf = qtn_drm_info_update_domain_fail; } |
|
221 |
|
222 RESOURCE TBUF r_qtn_drm_info_account_is_full |
|
223 { buf = qtn_drm_info_account_is_full; } |
|
224 |
|
225 RESOURCE TBUF r_qtn_drm_remove_fr_account_fail |
|
226 { buf = qtn_drm_remove_fr_account_fail; } |
|
227 |
|
228 RESOURCE TBUF r_qtn_drm_info_device_regist_fail |
|
229 { buf = qtn_drm_info_device_regist_fail; } |
|
230 |
|
231 RESOURCE TBUF r_qtn_drm_info_registration_failed |
|
232 { buf = qtn_drm_info_registration_failed; } |
|
233 |
|
234 RESOURCE TBUF r_qtn_drm_info_phone_not_register |
|
235 { buf = qtn_drm_info_phone_not_register; } |
|
236 |
|
237 RESOURCE TBUF r_qtn_drm_account_not_recognised |
|
238 { buf = qtn_drm_account_not_recognised; } |
|
239 |
|
240 RESOURCE TBUF r_qtn_drm_query_register_with_u |
|
241 { buf = qtn_drm_query_register_with_u; } |
|
242 |
|
243 RESOURCE TBUF r_qtn_drm_query_register_with_cp |
|
244 { buf = qtn_drm_query_register_with_cp; } |
|
245 |
|
246 RESOURCE TBUF r_qtn_drm_msq_qry_title_registrat |
|
247 { buf = qtn_drm_msq_qry_title_registrat; } |
|
248 |
|
249 RESOURCE TBUF r_qtn_drm_msq_query_registration |
|
250 { buf = qtn_drm_msq_query_registration; } |
|
251 |
|
252 RESOURCE TBUF r_qtn_drm_msq_query_link_more_inf |
|
253 { buf = qtn_drm_msq_query_link_more_inf; } |