|
1 /* |
|
2 * Copyright (c) 2010 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: Easy dialing resources. |
|
15 * |
|
16 */ |
|
17 |
|
18 // RESOURCE IDENTIFIER |
|
19 |
|
20 NAME EDPL |
|
21 |
|
22 |
|
23 // INCLUDES |
|
24 |
|
25 #include <eikon.rh> |
|
26 #include <avkon.rh> |
|
27 |
|
28 #include <avkon.loc> |
|
29 #include <numberentry.loc> |
|
30 #include <callui.loc> |
|
31 #include "easydialing.loc" |
|
32 |
|
33 #include <phoneappcommands.hrh> |
|
34 #include "easydialingcommands.hrh" |
|
35 |
|
36 |
|
37 // CONSTANTS |
|
38 |
|
39 // MACROS |
|
40 |
|
41 // RESOURCE DEFINITIONS |
|
42 |
|
43 // --------------------------------------------------------- |
|
44 // |
|
45 // Define the resource file signature |
|
46 // This resource should be empty. |
|
47 // |
|
48 // --------------------------------------------------------- |
|
49 // |
|
50 |
|
51 RESOURCE RSS_SIGNATURE { } |
|
52 |
|
53 // --------------------------------------------------------- |
|
54 // |
|
55 // r_easydialing_cba |
|
56 // Contains softkey definitions for easy dialing. |
|
57 // |
|
58 // --------------------------------------------------------- |
|
59 // |
|
60 RESOURCE CBA r_easydialing_cba |
|
61 { |
|
62 buttons = |
|
63 { |
|
64 CBA_BUTTON |
|
65 { |
|
66 id = EPhoneCmdOptions; |
|
67 txt = text_softkey_option; |
|
68 }, |
|
69 CBA_BUTTON |
|
70 { |
|
71 id = EPhoneCmdBack; |
|
72 txt = text_softkey_exit; |
|
73 }, |
|
74 CBA_BUTTON |
|
75 { |
|
76 id = EAknSoftkeyOpen; |
|
77 txt = text_softkey_open; |
|
78 } |
|
79 }; |
|
80 } |
|
81 |
|
82 |
|
83 // ----------------------------------------------------------------------------- |
|
84 // |
|
85 // r_easydialing_menubar |
|
86 // Menubar for easy dialing when action menu is closed. |
|
87 // |
|
88 // ----------------------------------------------------------------------------- |
|
89 // |
|
90 RESOURCE MENU_BAR r_easydialing_menubar |
|
91 { |
|
92 titles = |
|
93 { |
|
94 MENU_TITLE { menu_pane = r_easydialing_menu; } |
|
95 }; |
|
96 } |
|
97 |
|
98 |
|
99 // ----------------------------------------------------------------------------- |
|
100 // |
|
101 // r_easydialing_menu |
|
102 // Menu pane |
|
103 // |
|
104 // ----------------------------------------------------------------------------- |
|
105 // |
|
106 RESOURCE MENU_PANE r_easydialing_menu |
|
107 { |
|
108 items = |
|
109 { |
|
110 MENU_ITEM |
|
111 { |
|
112 command = EEasyDialingOpenContact; |
|
113 txt = qtn_options_open; |
|
114 }, |
|
115 MENU_ITEM |
|
116 { |
|
117 command = EEasyDialingVoiceCall; |
|
118 cascade = r_easydialing_options_call_menu; |
|
119 txt = text_number_call; |
|
120 }, |
|
121 MENU_ITEM |
|
122 { |
|
123 command = EEasyDialingSendMessage; |
|
124 txt = qtn_nren_send_message; |
|
125 }, |
|
126 MENU_ITEM |
|
127 { |
|
128 txt = qtn_easydial_option_submenu_title; |
|
129 cascade = r_easydialing_options_on_off_cascade_menu; |
|
130 }, |
|
131 MENU_ITEM |
|
132 { |
|
133 command = EPhoneDialerCmdHelp; |
|
134 txt = qtn_options_help; |
|
135 }, |
|
136 MENU_ITEM |
|
137 { |
|
138 command = EPhoneCmdBack; |
|
139 txt = qtn_options_exit; |
|
140 } |
|
141 }; |
|
142 } |
|
143 |
|
144 |
|
145 // --------------------------------------------------------- |
|
146 // |
|
147 // r_easydialing_options_call_menu |
|
148 // Number Acquisition view options call menu pane. |
|
149 // |
|
150 // --------------------------------------------------------- |
|
151 // |
|
152 RESOURCE MENU_PANE r_easydialing_options_call_menu |
|
153 { |
|
154 items= |
|
155 { |
|
156 MENU_ITEM |
|
157 { |
|
158 command = EEasyDialingVoiceCall; |
|
159 txt = qtn_call_sub_voice; |
|
160 }, |
|
161 MENU_ITEM |
|
162 { |
|
163 command = EEasyDialingVideoCall; |
|
164 txt = qtn_call_sub_video; |
|
165 } |
|
166 }; |
|
167 } |
|
168 |
|
169 //---------------------------------------------------------------------------- |
|
170 // r_easydialing_options_on_off_menu_item |
|
171 // |
|
172 // Menu item for setting Easy dialing on/off. |
|
173 // --------------------------------------------------------------------------- |
|
174 // |
|
175 RESOURCE MENU_PANE r_easydialing_options_on_off_menu_item |
|
176 { |
|
177 items = |
|
178 { |
|
179 MENU_ITEM |
|
180 { |
|
181 txt = qtn_easydial_option_submenu_title; |
|
182 cascade = r_easydialing_options_on_off_cascade_menu; |
|
183 } |
|
184 }; |
|
185 } |
|
186 |
|
187 //---------------------------------------------------------------------------- |
|
188 // r_easydialing_options_on_off_cascade_menu |
|
189 // |
|
190 // Submenu for setting Easy dialing on/off. |
|
191 // --------------------------------------------------------------------------- |
|
192 // |
|
193 RESOURCE MENU_PANE r_easydialing_options_on_off_cascade_menu |
|
194 { |
|
195 items = |
|
196 { |
|
197 MENU_ITEM |
|
198 { |
|
199 command = EEasyDialingOn; |
|
200 txt = qtn_easy_dialing_on; |
|
201 flags = EEikMenuItemRadioStart; |
|
202 }, |
|
203 MENU_ITEM |
|
204 { |
|
205 command = EEasyDialingOff; |
|
206 txt = qtn_easy_dialing_off; |
|
207 flags = EEikMenuItemRadioEnd; |
|
208 } |
|
209 }; |
|
210 } |
|
211 |
|
212 |
|
213 // End of File |