1 /* |
|
2 * Copyright (c) 2005-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: Resources for USBClassChangeUIPlugin. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include <data_caging_paths_strings.hrh> |
|
20 |
|
21 // RESOURCE IDENTIFIER |
|
22 NAME USBP // 4 letter ID |
|
23 |
|
24 // INCLUDES |
|
25 #include <eikon.rh> |
|
26 #include <avkon.rsg> |
|
27 #include <avkon.rh> |
|
28 #include <avkon.mbg> |
|
29 #include <avkon.loc> |
|
30 #include <appinfo.rh> |
|
31 |
|
32 #include "USBClassChangeUIPlugin.hrh" |
|
33 #include <usbclasschangeui.loc> |
|
34 |
|
35 // RESOURCE DEFINITIONS |
|
36 |
|
37 RESOURCE RSS_SIGNATURE { } |
|
38 |
|
39 RESOURCE TBUF { buf = "USBCLASSCHANGEUI"; } |
|
40 |
|
41 |
|
42 //----------------------------------------------------------------------------- |
|
43 // |
|
44 // r_usbclasschangeui_menubar |
|
45 // Menubar for main view |
|
46 // |
|
47 //----------------------------------------------------------------------------- |
|
48 // |
|
49 RESOURCE MENU_BAR r_usbclasschangeui_menubar |
|
50 { |
|
51 titles= |
|
52 { |
|
53 MENU_TITLE { menu_pane = r_usbui_menu; txt=""; } |
|
54 }; |
|
55 } |
|
56 |
|
57 //----------------------------------------------------------------------------- |
|
58 // |
|
59 // r_usbui_menu |
|
60 // Application level menu |
|
61 // |
|
62 //----------------------------------------------------------------------------- |
|
63 // |
|
64 RESOURCE MENU_PANE r_usbui_menu |
|
65 { |
|
66 items = |
|
67 { |
|
68 MENU_ITEM { command = EUSBUICmdSelect; txt = qtn_cffh_options_select ; flags = EEikMenuItemAction;}, |
|
69 MENU_ITEM { command = EUSBUICmdHelp; txt = qtn_options_help; }, |
|
70 MENU_ITEM { command = EAknCmdExit; txt = qtn_options_exit; } |
|
71 }; |
|
72 } |
|
73 |
|
74 //----------------------------------------------------------------------------- |
|
75 // |
|
76 // r_usbclasschangeui_app_menu |
|
77 // application menu |
|
78 // |
|
79 //----------------------------------------------------------------------------- |
|
80 // |
|
81 RESOURCE MENU_PANE r_usbclasschangeui_app_menu |
|
82 { |
|
83 items= |
|
84 { |
|
85 MENU_ITEM { command=EAknCmdExit; txt=text_softkey_exit; } |
|
86 }; |
|
87 } |
|
88 |
|
89 //----------------------------------------------------------------------------- |
|
90 // |
|
91 // r_usb_mode_setting_editor |
|
92 // Editor for entering all settings |
|
93 // |
|
94 //----------------------------------------------------------------------------- |
|
95 // |
|
96 RESOURCE LISTBOX r_usb_mode_setting_editor |
|
97 { |
|
98 flags = EEikListBoxMultipleSelection; |
|
99 } |
|
100 |
|
101 //---------------------------------------------------- |
|
102 // |
|
103 // Hotkeys for USB UI |
|
104 // |
|
105 //---------------------------------------------------- |
|
106 // |
|
107 RESOURCE HOTKEYS r_usbui_hotkeys |
|
108 { |
|
109 control= |
|
110 { |
|
111 HOTKEY { command=EAknCmdExit; key='e'; } |
|
112 }; |
|
113 } |
|
114 |
|
115 |
|
116 //---------------------------------------------------- |
|
117 // |
|
118 // Softkeys for USB UI as application. |
|
119 // |
|
120 //---------------------------------------------------- |
|
121 // |
|
122 RESOURCE CBA r_usbui_softkeys_options_exit__select |
|
123 { |
|
124 flags = 0; |
|
125 buttons = |
|
126 { |
|
127 CBA_BUTTON {id=EAknSoftkeyOptions; txt = text_softkey_option;}, |
|
128 CBA_BUTTON {id=EAknSoftkeyExit; txt = text_softkey_exit;}, |
|
129 CBA_BUTTON {id=EUSBUICmdMskSelect; txt = text_softkey_select ;} |
|
130 }; |
|
131 } |
|
132 |
|
133 |
|
134 //---------------------------------------------------- |
|
135 // |
|
136 // The main view of the USB UI application. Used when |
|
137 // this .dll is loaded from the USBClassChangeUIAppUI |
|
138 // |
|
139 //---------------------------------------------------- |
|
140 // |
|
141 RESOURCE AVKON_VIEW r_usbui_main_view |
|
142 { |
|
143 hotkeys = r_usbui_hotkeys; |
|
144 menubar = r_usbclasschangeui_menubar; |
|
145 cba = r_usbui_softkeys_options_exit__select; |
|
146 } |
|
147 |
|
148 //---------------------------------------------------- |
|
149 // |
|
150 // Title for the main view |
|
151 // |
|
152 //---------------------------------------------------- |
|
153 // |
|
154 RESOURCE TBUF r_usb_title { buf = qtn_usb_title; } |
|
155 |
|
156 //---------------------------------------------------- |
|
157 // r_gs_usbui_view_caption |
|
158 // |
|
159 // USBClassChangeUI view caption for GS plugin |
|
160 //---------------------------------------------------- |
|
161 // |
|
162 RESOURCE TBUF r_gs_usbui_view_caption |
|
163 { |
|
164 buf = qtn_set_folder_usb; |
|
165 } |
|
166 |
|
167 //---------------------------------------------------- |
|
168 // |
|
169 // Softkeys for USB UI as GS plugin. |
|
170 // |
|
171 //---------------------------------------------------- |
|
172 // |
|
173 RESOURCE CBA r_usbui_softkeys_options_back__select |
|
174 { |
|
175 flags = 0; |
|
176 buttons = |
|
177 { |
|
178 CBA_BUTTON {id=EAknSoftkeyOptions; txt = text_softkey_option;}, |
|
179 CBA_BUTTON {id=EAknSoftkeyBack; txt = text_softkey_back;}, |
|
180 CBA_BUTTON {id=EUSBUICmdMskSelect; txt = text_softkey_select ;} |
|
181 }; |
|
182 } |
|
183 |
|
184 //---------------------------------------------------- |
|
185 // |
|
186 // The main view of the USB UI application as GS plugin |
|
187 // |
|
188 //---------------------------------------------------- |
|
189 // |
|
190 RESOURCE AVKON_VIEW r_usbui_main_view_gs_plugin |
|
191 { |
|
192 hotkeys = r_usbui_hotkeys; |
|
193 menubar = r_usbclasschangeui_menubar; |
|
194 cba = r_usbui_softkeys_options_back__select; |
|
195 } |
|
196 |
|
197 //------------------------------------------------------------------------------ |
|
198 // |
|
199 // Secondary status information |
|
200 // |
|
201 //------------------------------------------------------------------------------ |
|
202 // |
|
203 RESOURCE TBUF r_cp_detail_usb_not_connected { buf = qtn_cp_detail_usb_not_connected; } |
|
204 RESOURCE TBUF r_cp_detail_usb_otg_conn { buf = qtn_cp_detail_usb_otg_conn; } |
|
205 RESOURCE TBUF r_cp_detail_usb_conn_mass_storage { buf = qtn_cp_detail_usb_conn_mass_storage; } |
|
206 RESOURCE TBUF r_cp_detail_usb_conn_pc_suite { buf = qtn_cp_detail_usb_conn_ovi_suite; } |
|
207 RESOURCE TBUF r_cp_detail_usb_conn_picture_transfer { buf = qtn_cp_detail_usb_conn_picture_transfer; } |
|
208 RESOURCE TBUF r_cp_detail_usb_conn_media_transfer { buf = qtn_cp_detail_usb_conn_media_transfer; } |
|
209 RESOURCE TBUF r_cp_detail_usb_conn_modem_inst { buf = qtn_cp_detail_usb_conn_modem_inst; } |
|
210 RESOURCE TBUF r_cp_detail_usb_conn_rndis { buf = qtn_cp_detail_usb_conn_rndis; } |
|
211 |
|
212 RESOURCE TBUF r_usb_mode_default { buf = qtn_usb_settings_default ;} |
|
213 RESOURCE TBUF r_usb_mode_active { buf = qtn_usb_settings_active;} |
|
214 |
|
215 // End of File |
|