1 /* |
|
2 * Copyright (c) 2007 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 file defintion for project Location Centre Application |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // RESOURCE IDENTIFIER |
|
20 NAME LCAP // 4 letter ID |
|
21 |
|
22 // SYSTEM INCLUDES |
|
23 #include <eikon.rh> |
|
24 #include <appinfo.rh> |
|
25 #include <avkon.rsg> |
|
26 #include <avkon.rh> |
|
27 #include <avkon.mbg> |
|
28 #include <bldvariant.hrh> |
|
29 #include <avkon.hrh> |
|
30 #include <avkon.loc> |
|
31 #include <data_caging_paths_strings.hrh> |
|
32 |
|
33 // USER INCLUDES |
|
34 #include <lc.loc> |
|
35 #include "lcapp.hrh" |
|
36 |
|
37 // CONSTANT DEFINTIONS |
|
38 #define LC_ICON_FILE_NAME APP_RESOURCE_DIR"\\lcapp_aif.mif" |
|
39 |
|
40 // RESOURCE DEFINITIONS |
|
41 |
|
42 // --------------------------------------------------------------------------- |
|
43 // RESOURCE RSS_SIGNATURE |
|
44 // --------------------------------------------------------------------------- |
|
45 // |
|
46 RESOURCE RSS_SIGNATURE |
|
47 { |
|
48 } |
|
49 |
|
50 // --------------------------------------------------------------------------- |
|
51 // RESOURCE RSS_SIGNATURE |
|
52 // --------------------------------------------------------------------------- |
|
53 // |
|
54 RESOURCE TBUF |
|
55 { |
|
56 buf="lcapp"; |
|
57 } |
|
58 |
|
59 // --------------------------------------------------------------------------- |
|
60 // RESOURCE RSS_SIGNATURE |
|
61 // --------------------------------------------------------------------------- |
|
62 // |
|
63 RESOURCE EIK_APP_INFO |
|
64 { |
|
65 } |
|
66 |
|
67 |
|
68 RESOURCE LOCALISABLE_APP_INFO r_lcapp_localisable_app_info |
|
69 { |
|
70 short_caption = qtn_apps_location_grid; |
|
71 caption_and_icon = CAPTION_AND_ICON_INFO |
|
72 { |
|
73 caption = qtn_apps_location_list; |
|
74 number_of_icons = 1; |
|
75 icon_file = LC_ICON_FILE_NAME; |
|
76 }; |
|
77 } |
|
78 |
|
79 RESOURCE AVKON_VIEW r_lc_view |
|
80 { |
|
81 menubar = r_lc_menubar; |
|
82 cba = r_lc_cba; |
|
83 } |
|
84 |
|
85 RESOURCE MENU_BAR r_lc_menubar |
|
86 { |
|
87 titles= |
|
88 { |
|
89 MENU_TITLE |
|
90 { |
|
91 menu_pane = r_lc_menu; |
|
92 txt = ""; |
|
93 } |
|
94 }; |
|
95 } |
|
96 |
|
97 RESOURCE MENU_PANE r_lc_menu |
|
98 { |
|
99 items= |
|
100 { |
|
101 MENU_ITEM |
|
102 { |
|
103 command = ELcOpen; |
|
104 txt = qtn_options_open; |
|
105 flags = EEikMenuItemAction; |
|
106 }, |
|
107 MENU_ITEM |
|
108 { |
|
109 command = EAknCmdHelp; |
|
110 txt = qtn_options_help; |
|
111 }, |
|
112 MENU_ITEM |
|
113 { |
|
114 command = EAknCmdExit; |
|
115 txt = qtn_options_exit; |
|
116 } |
|
117 }; |
|
118 } |
|
119 |
|
120 RESOURCE CBA r_lc_cba |
|
121 { |
|
122 flags = 0; |
|
123 buttons = |
|
124 { |
|
125 CBA_BUTTON |
|
126 { |
|
127 id = EAknSoftkeyOptions; |
|
128 txt = text_softkey_option; |
|
129 }, |
|
130 CBA_BUTTON |
|
131 { |
|
132 id = EAknSoftkeyExit; |
|
133 txt = text_softkey_exit; |
|
134 }, |
|
135 CBA_BUTTON |
|
136 { |
|
137 id = ELcOpen; |
|
138 txt = qtn_msk_open; |
|
139 } |
|
140 }; |
|
141 } |
|
142 |
|
143 RESOURCE CBA r_lc_cba_empty |
|
144 { |
|
145 flags = 0; |
|
146 buttons = |
|
147 { |
|
148 CBA_BUTTON |
|
149 { |
|
150 id = EAknSoftkeyOptions; |
|
151 txt = text_softkey_option; |
|
152 }, |
|
153 CBA_BUTTON |
|
154 { |
|
155 id = EAknSoftkeyExit; |
|
156 txt = text_softkey_exit; |
|
157 }, |
|
158 CBA_BUTTON |
|
159 { |
|
160 id = ELcCommandNone; |
|
161 } |
|
162 }; |
|
163 } |
|
164 |
|
165 RESOURCE HOTKEYS r_lcapp_hotkeys |
|
166 { |
|
167 control= |
|
168 { |
|
169 }; |
|
170 } |
|
171 |
|
172 RESOURCE LISTBOX r_lc_listbox |
|
173 { |
|
174 flags = EAknListBoxSelectionList; |
|
175 } |
|
176 |
|
177 RESOURCE TBUF r_loc_title_centre |
|
178 { |
|
179 buf = qtn_loc_title_centre; |
|
180 } |
|