|
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: Common macros for menu options in Tag Grid view, Captured Grid view and Album Grid view. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 // Macros to provide common options for the menus in Album Grid view, Captured Grid view and Tag Grid view respectively. |
|
22 #include <bldvariant.hrh> |
|
23 |
|
24 // if show images & show videos only feature is enabled, add it to the menu |
|
25 #ifdef GLX_GRID_VIEW_IMAGES_OR_VIDEOS_ONLY_FILTERING |
|
26 |
|
27 #define GLX_CONTAINER_OPTIONS_LIST1 MENU_ITEM { command = EGlxCmdDrmMoreInfoOnline;\ |
|
28 txt=qtn_drm_options_more_info; },\ |
|
29 MENU_ITEM { command = EGlxCmdDelete;\ |
|
30 txt = qtn_lgal_options_delete; },\ |
|
31 MENU_ITEM { command=EGlxCmdHideUI;\ |
|
32 txt=qtn_lgal_options_toolbar_off; },\ |
|
33 MENU_ITEM { command = EGlxCmdSlideshow;\ |
|
34 txt = qtn_lgal_options_slideshow;\ |
|
35 cascade = r_grid_shw_menu;},\ |
|
36 MENU_ITEM { command = EGlxCmdSend;\ |
|
37 txt = qtn_options_send_via;},\ |
|
38 MENU_ITEM { command = EGlxCmdMarkingSubmenu;\ |
|
39 txt = qtn_options_list;\ |
|
40 cascade = r_viu_editlist_menu;},\ |
|
41 MENU_ITEM { command = EGlxCmdShow; \ |
|
42 txt = qtn_lgal_options_show; \ |
|
43 cascade = r_grid_show_menu;}, \ |
|
44 MENU_ITEM { command = EGlxCmdAiwShowMap;\ |
|
45 txt = qtn_lgal_option_show_on_map;\ |
|
46 cascade = AIW_INTELLIGENT_CASCADE_ID|AIW_LOCK_SUBMENU_TITLE; },\ |
|
47 MENU_ITEM { command = EGlxCmdDetails;\ |
|
48 txt = qtn_lgal_options_details;},\ |
|
49 MENU_ITEM { command = EGlxCmdAddTag;\ |
|
50 txt = qtn_lgal_options_properties_add_tags; },\ |
|
51 MENU_ITEM { command = EGlxCmdAddToAlbum;\ |
|
52 txt = qtn_lgal_options_add_to_album; }, |
|
53 #else |
|
54 |
|
55 #define GLX_CONTAINER_OPTIONS_LIST1 MENU_ITEM { command = EGlxCmdDrmMoreInfoOnline;\ |
|
56 txt=qtn_drm_options_more_info; },\ |
|
57 MENU_ITEM { command = EGlxCmdDelete;\ |
|
58 txt = qtn_lgal_options_delete; },\ |
|
59 MENU_ITEM { command=EGlxCmdHideUI;\ |
|
60 txt=qtn_lgal_options_toolbar_off; },\ |
|
61 MENU_ITEM { command = EGlxCmdSlideshow;\ |
|
62 txt = qtn_lgal_options_slideshow;\ |
|
63 cascade = r_grid_shw_menu;},\ |
|
64 MENU_ITEM { command = EGlxCmdMarkingSubmenu;\ |
|
65 txt = qtn_options_list;\ |
|
66 cascade = r_viu_editlist_menu;},\ |
|
67 MENU_ITEM { command = EGlxCmdAiwShowMap;\ |
|
68 txt = qtn_lgal_option_show_on_map;\ |
|
69 cascade = AIW_INTELLIGENT_CASCADE_ID|AIW_LOCK_SUBMENU_TITLE; },\ |
|
70 MENU_ITEM { command = EGlxCmdDetails;\ |
|
71 txt = qtn_lgal_options_details;},\ |
|
72 MENU_ITEM { command = EGlxCmdAddTag;\ |
|
73 txt = qtn_lgal_options_properties_add_tags; },\ |
|
74 MENU_ITEM { command = EGlxCmdAddToAlbum;\ |
|
75 txt = qtn_lgal_options_add_to_album; }, |
|
76 #endif |
|
77 |
|
78 #define GLX_CONTAINER_OPTIONS_LIST2 MENU_ITEM { command = EGlxCmdAiwPrint;\ |
|
79 txt = qtn_lgal_options_print_menu;\ |
|
80 cascade = AIW_INTELLIGENT_CASCADE_ID|AIW_LOCK_SUBMENU_TITLE; },\ |
|
81 MENU_ITEM { command = EGlxCmdAiwEdit;\ |
|
82 txt = qtn_lgal_options_edit;\ |
|
83 cascade = AIW_INTELLIGENT_CASCADE_ID|AIW_LOCK_SUBMENU_TITLE; },\ |
|
84 MENU_ITEM { command = EGlxCmdAiwAssign;\ |
|
85 txt = qtn_lgal_options_use_items;\ |
|
86 cascade = AIW_INTELLIGENT_CASCADE_ID|AIW_LOCK_SUBMENU_TITLE; },\ |
|
87 MENU_ITEM { command = EGlxCmdCopyMoveSubmenu;\ |
|
88 txt = qtn_lgal_move_copy;\ |
|
89 cascade = r_grid_copy_move_menu; },\ |
|
90 MENU_ITEM { command = EGlxHomeNetworkSubmenu;\ |
|
91 txt = qtn_lgal_options_home_network;\ |
|
92 cascade = r_home_network_menu; },\ |
|
93 MENU_ITEM { command=EGlxShowViaUpnp; txt=qtn_lgal_options_show_ext; },\ |
|
94 MENU_ITEM { command=EGlxStopShowing; txt=qtn_lgal_options_stop_show; },\ |
|
95 MENU_ITEM { command = EAknCmdHelp;\ |
|
96 txt = qtn_options_help; },\ |
|
97 MENU_ITEM { command = EAknCmdExit;\ |
|
98 txt = qtn_options_exit; } |