|
1 /* |
|
2 * Copyright (c) 2008-2009 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 Fetcher Plugin |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 // RESOURCE IDENTIFIER |
|
22 NAME GLFP // 4 letter ID |
|
23 |
|
24 // INCLUDES |
|
25 #include "glxcommandhandlers.hrh" |
|
26 #include <eikon.rh> |
|
27 #include <avkon.rh> |
|
28 #include <avkon.loc> |
|
29 #include <avkon.rsg> |
|
30 #include <appinfo.rh> |
|
31 #include <photos.loc> |
|
32 |
|
33 // RESOURCE DEFINITIONS |
|
34 // ----------------------------------------------------------------------------- |
|
35 // |
|
36 // Define the resource file signature |
|
37 // This resource should be empty. |
|
38 // |
|
39 // ----------------------------------------------------------------------------- |
|
40 // |
|
41 RESOURCE RSS_SIGNATURE { } |
|
42 |
|
43 RESOURCE TBUF { buf="FETC"; } |
|
44 |
|
45 RESOURCE AVKON_VIEW r_fetcher_dialog |
|
46 { |
|
47 menubar = r_fetcher_menubar; |
|
48 } |
|
49 |
|
50 RESOURCE MENU_BAR r_fetcher_menubar |
|
51 { |
|
52 titles = |
|
53 { |
|
54 MENU_TITLE {menu_pane=r_fetcher_menu; txt="";} |
|
55 }; |
|
56 } |
|
57 |
|
58 RESOURCE MENU_PANE r_fetcher_menu |
|
59 { |
|
60 items= |
|
61 { |
|
62 }; |
|
63 } |
|
64 |
|
65 RESOURCE TBUF r_fetcher_dialog_title_image |
|
66 { |
|
67 buf = qtn_lgal_title_fetcher_select_image; |
|
68 } |
|
69 |
|
70 RESOURCE TBUF r_fetcher_dialog_title_video |
|
71 { |
|
72 buf = qtn_lgal_title_fetcher_select_video; |
|
73 } |
|
74 |
|
75 //MultiSelect |
|
76 |
|
77 RESOURCE MENU_BAR r_multiselect_fetcher_menubar |
|
78 { |
|
79 titles = |
|
80 { |
|
81 MENU_TITLE {menu_pane=r_multiselect_fetcher_menu; txt="";} |
|
82 }; |
|
83 } |
|
84 |
|
85 RESOURCE MENU_PANE r_multiselect_fetcher_menu |
|
86 { |
|
87 items= |
|
88 { |
|
89 |
|
90 //should be Select Select marked |
|
91 MENU_ITEM |
|
92 { |
|
93 command=EAknSoftkeySelect; |
|
94 txt = qtn_cffh_options_select; |
|
95 }, |
|
96 |
|
97 MENU_ITEM |
|
98 { |
|
99 command=EGlxCmdSelectMarked; |
|
100 txt = qtn_cffh_select_marked; |
|
101 }, |
|
102 |
|
103 MENU_ITEM |
|
104 { |
|
105 command=EGlxCmdMarkingSubmenu; |
|
106 txt = qtn_options_list; |
|
107 cascade = r_multiselect_marking_submenu; |
|
108 }, |
|
109 |
|
110 MENU_ITEM |
|
111 { |
|
112 command=EAknCmdHelp; |
|
113 txt = qtn_options_help; |
|
114 } |
|
115 }; |
|
116 } |
|
117 |
|
118 RESOURCE TBUF r_fetcher_dialog_title_images |
|
119 { |
|
120 buf = qtn_lgal_title_fetcher_select_images; |
|
121 } |
|
122 |
|
123 RESOURCE TBUF r_fetcher_dialog_title_videos |
|
124 { |
|
125 buf = qtn_lgal_title_fetcher_select_videos; |
|
126 } |
|
127 |
|
128 RESOURCE MENU_PANE r_multiselect_marking_submenu |
|
129 { |
|
130 items= |
|
131 { |
|
132 MENU_ITEM |
|
133 { |
|
134 command = EAknCmdMark; |
|
135 txt = qtn_options_list_mark_one; |
|
136 }, |
|
137 MENU_ITEM |
|
138 { |
|
139 command = EAknMarkAll; |
|
140 txt = qtn_options_list_mark_all; |
|
141 }, |
|
142 MENU_ITEM |
|
143 { |
|
144 command = EAknCmdUnmark; |
|
145 txt = qtn_options_list_unmark_one; |
|
146 }, |
|
147 MENU_ITEM |
|
148 { |
|
149 command = EAknUnmarkAll; |
|
150 txt = qtn_options_list_unmark_all; |
|
151 } |
|
152 }; |
|
153 } |
|
154 |
|
155 RESOURCE DIALOG r_glx_fetcher_dialog |
|
156 { |
|
157 // blocking dialog with CBA and no border please |
|
158 flags=EEikDialogFlagNoDrag | EEikDialogFlagFillAppClientRect | |
|
159 EEikDialogFlagCbaButtons | EEikDialogFlagWait | |
|
160 EEikDialogFlagNoBackgroundFade |EEikDialogFlagNoBorder; |
|
161 buttons = R_AVKON_SOFTKEYS_CANCEL; |
|
162 // Do not add any items |
|
163 } |
|
164 |
|
165 RESOURCE TBUF r_glx_softkey_cancel |
|
166 {buf = text_softkey_cancel;} |
|
167 |
|
168 RESOURCE TBUF r_glx_marking_mark |
|
169 {buf=qtn_msk_mark;} |
|
170 |