|
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 txt = qtn_call_sub_voice; |
|
119 }, |
|
120 MENU_ITEM |
|
121 { |
|
122 command = EEasyDialingVideoCall; |
|
123 txt = qtn_call_sub_video; |
|
124 }, |
|
125 MENU_ITEM |
|
126 { |
|
127 command = EEasyDialingSendMessage; |
|
128 txt = qtn_nren_send_message; |
|
129 }, |
|
130 MENU_ITEM |
|
131 { |
|
132 txt = qtn_easydial_option_submenu_title; |
|
133 cascade = r_easydialing_options_on_off_cascade_menu; |
|
134 }, |
|
135 MENU_ITEM |
|
136 { |
|
137 command = EPhoneDialerCmdHelp; |
|
138 txt = qtn_options_help; |
|
139 }, |
|
140 MENU_ITEM |
|
141 { |
|
142 command = EPhoneCmdBack; |
|
143 txt = qtn_options_exit; |
|
144 } |
|
145 }; |
|
146 } |
|
147 |
|
148 |
|
149 //---------------------------------------------------------------------------- |
|
150 // r_easydialing_options_on_off_menu_item |
|
151 // |
|
152 // Menu item for setting Easy dialing on/off. |
|
153 // --------------------------------------------------------------------------- |
|
154 // |
|
155 RESOURCE MENU_PANE r_easydialing_options_on_off_menu_item |
|
156 { |
|
157 items = |
|
158 { |
|
159 MENU_ITEM |
|
160 { |
|
161 txt = qtn_easydial_option_submenu_title; |
|
162 cascade = r_easydialing_options_on_off_cascade_menu; |
|
163 } |
|
164 }; |
|
165 } |
|
166 |
|
167 //---------------------------------------------------------------------------- |
|
168 // r_easydialing_options_on_off_cascade_menu |
|
169 // |
|
170 // Submenu for setting Easy dialing on/off. |
|
171 // --------------------------------------------------------------------------- |
|
172 // |
|
173 RESOURCE MENU_PANE r_easydialing_options_on_off_cascade_menu |
|
174 { |
|
175 items = |
|
176 { |
|
177 MENU_ITEM |
|
178 { |
|
179 command = EEasyDialingOn; |
|
180 txt = qtn_easy_dialing_on; |
|
181 flags = EEikMenuItemRadioStart; |
|
182 }, |
|
183 MENU_ITEM |
|
184 { |
|
185 command = EEasyDialingOff; |
|
186 txt = qtn_easy_dialing_off; |
|
187 flags = EEikMenuItemRadioEnd; |
|
188 } |
|
189 }; |
|
190 } |
|
191 |
|
192 //---------------------------------------------------------------------------- |
|
193 // r_qtn_easydial_enter_number |
|
194 // |
|
195 // Info text shown in dialer when when number entry is empty. |
|
196 // --------------------------------------------------------------------------- |
|
197 // |
|
198 RESOURCE TBUF r_qtn_easydial_enter_number |
|
199 { |
|
200 buf = qtn_easydial_enter_number; |
|
201 } |
|
202 |
|
203 // End of File |