|
1 /* |
|
2 * Copyright (c) 2005 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 Map and Navigation AIW Provider |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include <eikon.rh> |
|
20 #include <avkon.rsg> |
|
21 #include <avkon.rh> |
|
22 |
|
23 NAME MNAP |
|
24 RESOURCE RSS_SIGNATURE { } |
|
25 RESOURCE TBUF { buf=""; } |
|
26 |
|
27 #include "mnaiwmenus.hrh" |
|
28 #include <mnaiwprovider.loc> |
|
29 |
|
30 // --------------------------------------------------------------------------- |
|
31 // r_mn_aiwmenu_showonmap |
|
32 // Show on map AIW menu item |
|
33 // --------------------------------------------------------------------------- |
|
34 // |
|
35 RESOURCE MENU_PANE r_mn_aiwmenu_show_on_map |
|
36 { |
|
37 items = |
|
38 { |
|
39 MENU_ITEM |
|
40 { |
|
41 command = EMnAiwMenuCmdShowOnMap; |
|
42 txt = qtn_mnn_option_show_on_map; |
|
43 } |
|
44 }; |
|
45 } |
|
46 |
|
47 // --------------------------------------------------------------------------- |
|
48 // r_mn_aiwmenu_navigateto |
|
49 // Navigate To AIW menu item |
|
50 // --------------------------------------------------------------------------- |
|
51 // |
|
52 RESOURCE MENU_PANE r_mn_aiwmenu_navigate_to |
|
53 { |
|
54 items = |
|
55 { |
|
56 MENU_ITEM |
|
57 { |
|
58 command = EMnAiwMenuCmdNavigateTo; |
|
59 txt = qtn_mnn_option_navigate_to; |
|
60 } |
|
61 }; |
|
62 } |
|
63 |
|
64 // --------------------------------------------------------------------------- |
|
65 // r_mn_aiwmenu_selectfrommap |
|
66 // Select From Map AIW menu item |
|
67 // --------------------------------------------------------------------------- |
|
68 // |
|
69 RESOURCE MENU_PANE r_mn_aiwmenu_select_from_map |
|
70 { |
|
71 items = |
|
72 { |
|
73 MENU_ITEM |
|
74 { |
|
75 command = EMnAiwMenuCmdSelectFromMap; |
|
76 txt = qtn_mnn_option_select_from_map; |
|
77 } |
|
78 }; |
|
79 } |
|
80 |
|
81 // --------------------------------------------------------------------------- |
|
82 // r_mn_option_fetch_coordinates |
|
83 // Retrieve coordinates AIW menu item |
|
84 // --------------------------------------------------------------------------- |
|
85 // |
|
86 RESOURCE MENU_PANE r_mn_aiwmenu_fetch_coordinates |
|
87 { |
|
88 items = |
|
89 { |
|
90 MENU_ITEM |
|
91 { |
|
92 command = EMnAiwMenuCmdFetchCoordinates; |
|
93 txt = qtn_mnn_option_fetch_coordinates; |
|
94 } |
|
95 }; |
|
96 } |
|
97 |
|
98 // --------------------------------------------------------------------------- |
|
99 // r_mn_option_fetch_address |
|
100 // Retrieve address AIW menu item |
|
101 // --------------------------------------------------------------------------- |
|
102 // |
|
103 RESOURCE MENU_PANE r_mn_aiwmenu_fetch_address |
|
104 { |
|
105 items = |
|
106 { |
|
107 MENU_ITEM |
|
108 { |
|
109 command = EMnAiwMenuCmdFetchAddress; |
|
110 txt = qtn_mnn_option_fetch_address; |
|
111 } |
|
112 }; |
|
113 } |
|
114 |
|
115 // --------------------------------------------------------------------------- |
|
116 // r_mn_error_no_provider |
|
117 // No provider was able to serve for selected service |
|
118 // --------------------------------------------------------------------------- |
|
119 // |
|
120 RESOURCE TBUF r_mn_error_no_provider |
|
121 { |
|
122 buf = qtn_mnn_error_no_provider; |
|
123 } |
|
124 |
|
125 // --------------------------------------------------------------------------- |
|
126 // r_mn_error_service_unavailable |
|
127 // Service is not available or failed in selected provider |
|
128 // --------------------------------------------------------------------------- |
|
129 // |
|
130 RESOURCE TBUF r_mn_error_service_unavailable |
|
131 { |
|
132 buf = qtn_mnn_service_unavailable_error; |
|
133 } |
|
134 |
|
135 // --------------------------------------------------------------------------- |
|
136 // r_mn_provider_list_query |
|
137 // Provider selection query dialog |
|
138 // --------------------------------------------------------------------------- |
|
139 // |
|
140 RESOURCE AVKON_LIST_QUERY r_mn_provider_list_query |
|
141 { |
|
142 flags = EGeneralQueryFlags; |
|
143 softkeys = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
144 items = |
|
145 { |
|
146 AVKON_LIST_QUERY_DLG_LINE |
|
147 { |
|
148 control = AVKON_LIST_QUERY_CONTROL |
|
149 { |
|
150 listtype = EAknCtSinglePopupMenuListBox; |
|
151 listbox = AVKON_LIST_QUERY_LIST |
|
152 { |
|
153 }; |
|
154 heading = qtn_mnn_select_provider_query; |
|
155 }; |
|
156 } |
|
157 }; |
|
158 } |