1 /* |
|
2 * Copyright (c) 2010 Ixonos Plc. |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the "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 * Ixonos Plc |
|
14 * |
|
15 * Description: |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 // ==================================================================== |
|
21 // File: TrimForMms.rss |
|
22 // Created: 04/18/06 |
|
23 // Author: |
|
24 // |
|
25 // ==================================================================== */ |
|
26 |
|
27 NAME TRIM |
|
28 |
|
29 #include <appinfo.rh> |
|
30 #include <eikon.rh> |
|
31 #include <eikon.rsg> |
|
32 #include <avkon.rh> |
|
33 #include <avkon.rsg> |
|
34 #include <avkon.hrh> |
|
35 #include <e32keys.h> |
|
36 #include <AvkonIcons.hrh> |
|
37 #include <avkon.mbg> |
|
38 |
|
39 #include "TrimForMms.hrh" |
|
40 #include "manualvideoeditor.loc" |
|
41 |
|
42 // --------------------------------------------------------- |
|
43 // |
|
44 // Define the resource file signature |
|
45 // This resource should be empty. |
|
46 // |
|
47 // --------------------------------------------------------- |
|
48 // |
|
49 RESOURCE RSS_SIGNATURE { } |
|
50 |
|
51 // --------------------------------------------------------- |
|
52 // |
|
53 // Default Document Name |
|
54 // |
|
55 // --------------------------------------------------------- |
|
56 // |
|
57 RESOURCE TBUF r_default_document_name { buf=""; } |
|
58 |
|
59 // --------------------------------------------------------- |
|
60 // |
|
61 // Define default menu and CBA key. |
|
62 // |
|
63 // --------------------------------------------------------- |
|
64 // |
|
65 RESOURCE EIK_APP_INFO |
|
66 { |
|
67 menubar = r_TrimForMms_menubar; |
|
68 cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT; |
|
69 } |
|
70 |
|
71 RESOURCE LOCALISABLE_APP_INFO r_trim_for_mms_localisable_app_info |
|
72 { |
|
73 short_caption = qtn_app_short_caption_string; |
|
74 caption_and_icon = |
|
75 { |
|
76 CAPTION_AND_ICON_INFO |
|
77 { |
|
78 caption=qtn_app_caption_string; |
|
79 number_of_icons=0; |
|
80 //icon_file=APP_BITMAP_DIR"\\TrimForMms_aif.mif"; |
|
81 } |
|
82 }; |
|
83 } |
|
84 |
|
85 // --------------------------------------------------------- |
|
86 // |
|
87 // r_TrimForMms_menubar |
|
88 // Menubar for TrimForMms example |
|
89 // |
|
90 // --------------------------------------------------------- |
|
91 // |
|
92 RESOURCE MENU_BAR r_TrimForMms_menubar |
|
93 { |
|
94 titles = |
|
95 { |
|
96 MENU_TITLE {menu_pane = r_TrimForMms_menu;} |
|
97 }; |
|
98 } |
|
99 |
|
100 |
|
101 // --------------------------------------------------------- |
|
102 // |
|
103 // r_TrimForMms_menu |
|
104 // Menu for "Options" |
|
105 // |
|
106 // --------------------------------------------------------- |
|
107 // |
|
108 RESOURCE MENU_PANE r_TrimForMms_menu |
|
109 { |
|
110 items = |
|
111 { |
|
112 MENU_ITEM {command = EAknSoftkeyExit; txt = "Exit";} |
|
113 }; |
|
114 } |
|
115 |
|
116 RESOURCE HOTKEYS r_vei_hotkeys |
|
117 { |
|
118 control= |
|
119 { |
|
120 HOTKEY { command=EAknCmdExit; key='e'; } |
|
121 }; |
|
122 } |
|
123 |
|
124 RESOURCE MENU_BAR r_vei_menubar_trim_for_mms_view |
|
125 { |
|
126 titles= |
|
127 { |
|
128 MENU_TITLE |
|
129 { |
|
130 menu_pane=r_vei_menu_pane_trim_for_mms_view; |
|
131 txt=""; |
|
132 } |
|
133 }; |
|
134 } |
|
135 |
|
136 RESOURCE MENU_PANE r_vei_menu_pane_trim_for_mms_view |
|
137 { |
|
138 items= |
|
139 { |
|
140 MENU_ITEM { command=EVeiCmdSendViaMms; txt=qtn_vei_menu_send_via_mms; }, |
|
141 MENU_ITEM { command=EVeiCmdPreview; txt=qtn_vei_menu_preview; }, |
|
142 // MENU_ITEM { command=EVeiCmdVideoLength; txt=qtn_vei_menu_video_length; }, |
|
143 MENU_ITEM { command=EVeiCmdTrimForMmsViewHelp; txt=qtn_clipb_litxt_help; } |
|
144 }; |
|
145 } |
|
146 |
|
147 // --------------------------------------------------------- |
|
148 // |
|
149 // r_vei_trim_for_mms_view |
|
150 // View |
|
151 // |
|
152 // --------------------------------------------------------- |
|
153 // |
|
154 RESOURCE AVKON_VIEW r_vei_trim_for_mms_view |
|
155 { |
|
156 hotkeys=r_vei_hotkeys; |
|
157 menubar=r_vei_menubar_trim_for_mms_view; |
|
158 cba=R_AVKON_SOFTKEYS_OPTIONS_BACK; |
|
159 } |
|
160 |
|
161 RESOURCE TBUF r_ved_thumbnail_start_text |
|
162 { |
|
163 buf = qtn_ved_trim_start; |
|
164 } |
|
165 |
|
166 |
|
167 RESOURCE TBUF r_ved_thumbnail_end_text |
|
168 { |
|
169 buf = qtn_ved_trim_end; |
|
170 } |
|
171 |
|
172 RESOURCE AVKON_SKEY_LIST r_ved_left_right_silent_skey_list |
|
173 { |
|
174 list = |
|
175 { |
|
176 AVKON_SKEY_INFO |
|
177 { |
|
178 key = EStdKeyRightArrow; |
|
179 sid = EAvkonSIDNoSound; |
|
180 type = ESKeyTypeLong; |
|
181 }, |
|
182 AVKON_SKEY_INFO |
|
183 { |
|
184 key = EStdKeyRightArrow; |
|
185 sid = EAvkonSIDNoSound; |
|
186 type = ESKeyTypeRepeat; |
|
187 }, |
|
188 AVKON_SKEY_INFO |
|
189 { |
|
190 key = EStdKeyLeftArrow; |
|
191 sid = EAvkonSIDNoSound; |
|
192 type =ESKeyTypeLong; |
|
193 }, |
|
194 AVKON_SKEY_INFO |
|
195 { |
|
196 key = EStdKeyLeftArrow; |
|
197 sid = EAvkonSIDNoSound; |
|
198 type =ESKeyTypeRepeat; |
|
199 } |
|
200 }; |
|
201 } |
|
202 |
|
203 RESOURCE TBUF r_ved_processing_for_mms |
|
204 { |
|
205 buf = qtn_ved_processing_for_mms; |
|
206 } |
|
207 |
|
208 RESOURCE TBUF128 r_vei_progress_note_processing |
|
209 { |
|
210 buf = qtn_ved_processing_movie; |
|
211 } |
|
212 |
|
213 RESOURCE DIALOG r_vei_progress_note |
|
214 { |
|
215 flags = EAknProgressNoteFlags; |
|
216 buttons = R_AVKON_SOFTKEYS_EMPTY; |
|
217 items = |
|
218 { |
|
219 DLG_LINE |
|
220 { |
|
221 type = EAknCtNote; |
|
222 id = EGeneralNote; |
|
223 control = AVKON_NOTE |
|
224 { |
|
225 layout = EProgressLayout; |
|
226 singular_label = qtn_vei_progress_note_processing; |
|
227 imagefile = AVKON_ICON_FILE; |
|
228 imageid = EMbmAvkonQgn_note_progress; |
|
229 imagemask = EMbmAvkonQgn_note_progress_mask; |
|
230 }; |
|
231 } |
|
232 }; |
|
233 } |
|
234 |
|
235 RESOURCE TITLE_PANE r_vei_trim_for_mms_view_title_name |
|
236 { |
|
237 txt = qtn_vei_trim_mms_title; |
|
238 } |
|
239 |
|
240 // SETTINGS |
|
241 RESOURCE TBUF128 r_vei_settings_view_settings_item_value |
|
242 { |
|
243 buf = qtn_vei_settings_value1_movie; |
|
244 } |
|
245 |
|
246 RESOURCE TBUF128 r_vei_settings_view_settings_item2_value |
|
247 { |
|
248 buf = qtn_vei_settings_value2_snapshot; |
|
249 } |
|
250 |
|
251 |
|