author | Simon Howkins <simonh@symbian.org> |
Mon, 29 Nov 2010 11:47:03 +0000 | |
branch | RCL_3 |
changeset 78 | dbcb928abe9c |
parent 75 | 01504893d9cb |
permissions | -rw-r--r-- |
60 | 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 |
||
75
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
155 |
RESOURCE MENU_BAR r_multiselect_ok_menubar |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
156 |
{ |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
157 |
titles= |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
158 |
{ |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
159 |
MENU_TITLE { menu_pane=r_multiselect_ok_menu; txt=""; } |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
160 |
}; |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
161 |
} |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
162 |
|
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
163 |
|
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
164 |
RESOURCE MENU_PANE r_multiselect_ok_menu |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
165 |
{ |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
166 |
items= |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
167 |
{ |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
168 |
MENU_ITEM |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
169 |
{ |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
170 |
command=EAknSoftkeySelect; |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
171 |
txt = qtn_cffh_options_select; |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
172 |
}, |
60 | 173 |
|
75
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
174 |
MENU_ITEM |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
175 |
{ |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
176 |
command=EGlxCmdSelectMarked; |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
177 |
txt = qtn_cffh_select_marked; |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
178 |
}, |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
179 |
MENU_ITEM |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
180 |
{ |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
181 |
command = EGlxCmdStartMultipleMarking; |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
182 |
txt = qtn_lgal_options_mark_multi; |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
183 |
}, |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
184 |
MENU_ITEM |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
185 |
{ |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
186 |
command=EGlxCmdMarkingSubmenu; |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
187 |
txt = qtn_options_list; |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
188 |
cascade = r_multiselect_marking_submenu; |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
189 |
} |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
190 |
}; |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
191 |
} |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
192 |
|
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
193 |
|
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
194 |
//End of MultiSelect |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
195 |
|
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
196 |
RESOURCE DIALOG r_modal_single_dialog |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
197 |
{ |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
198 |
// blocking dialog with CBA and no border please |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
199 |
flags=EEikDialogFlagNoDrag | EEikDialogFlagFillAppClientRect | |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
200 |
EEikDialogFlagCbaButtons | EEikDialogFlagWait | |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
201 |
EEikDialogFlagNoBackgroundFade |EEikDialogFlagNoBorder; |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
202 |
buttons = R_AVKON_SOFTKEYS_CANCEL; |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
203 |
// Do not add any items |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
204 |
} |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
205 |
|
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
206 |
RESOURCE DIALOG r_modal_multi_dialog |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
207 |
{ |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
208 |
// blocking dialog with CBA and no border please |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
209 |
flags=EEikDialogFlagNoDrag | EEikDialogFlagFillAppClientRect | |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
210 |
EEikDialogFlagCbaButtons | EEikDialogFlagWait | |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
211 |
EEikDialogFlagNoBackgroundFade |EEikDialogFlagNoBorder; |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
212 |
buttons = R_AVKON_SOFTKEYS_CANCEL; |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
213 |
// Do not add any items |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
214 |
} |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
215 |
|
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
216 |
RESOURCE TBUF r_glx_softkey_cancel { buf = text_softkey_cancel; } |
60 | 217 |
|
218 |
RESOURCE TBUF r_glx_marking_mark |
|
75
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
219 |
{ buf=qtn_msk_mark; } |
60 | 220 |
|
75
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
221 |
// custom CBA resource for options - ok options menu - cancel |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
222 |
RESOURCE CBA r_glx_softkeys_options_cancel_context |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
223 |
{ |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
224 |
buttons = |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
225 |
{ |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
226 |
CBA_BUTTON { id=EAknSoftkeyOptions; txt = text_softkey_option; }, |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
227 |
CBA_BUTTON { id=EAknSoftkeyCancel; txt = text_softkey_cancel; }, |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
228 |
CBA_BUTTON { id=EAknSoftkeyContextOptions; txt = text_softkey_option; } |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
229 |
}; |
01504893d9cb
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
60
diff
changeset
|
230 |
} |