|
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: Common resources for internal GS plugins. This .rss is |
|
15 * included by other .rss files. This should not be compiled |
|
16 alone. |
|
17 * |
|
18 */ |
|
19 |
|
20 // RESOURCE IDENTIFIER |
|
21 //NAME GSCR // 4 letter ID |
|
22 |
|
23 // INCLUDES |
|
24 #include <gs.loc> // Common localized GS strings |
|
25 #include <gscommon.rh> // Common GS resource structures |
|
26 |
|
27 #include <bldvariant.hrh> |
|
28 #include <eikon.rh> |
|
29 #include <eikon.rsg> |
|
30 #include <avkon.rh> |
|
31 #include <avkon.loc> |
|
32 |
|
33 // CONSTANTS |
|
34 |
|
35 // ----------------------------------------------------------------------------- |
|
36 // |
|
37 // r_gs_menubar_change_exit |
|
38 // GS menu with 'change' and 'exit' items. |
|
39 // |
|
40 // ----------------------------------------------------------------------------- |
|
41 // |
|
42 RESOURCE MENU_BAR r_gs_menubar_change_exit |
|
43 { |
|
44 titles = |
|
45 { |
|
46 MENU_TITLE |
|
47 { |
|
48 menu_pane = r_gs_menu_item_exit; |
|
49 }, |
|
50 MENU_TITLE |
|
51 { |
|
52 menu_pane = r_gs_menu_item_help; |
|
53 }, |
|
54 MENU_TITLE |
|
55 { |
|
56 menu_pane = r_gs_menu_item_change; |
|
57 } |
|
58 }; |
|
59 } |
|
60 |
|
61 // ----------------------------------------------------------------------------- |
|
62 // |
|
63 // r_gs_menubar_open_exit |
|
64 // GS menu with 'Open' and 'Exit' items. |
|
65 // |
|
66 // ----------------------------------------------------------------------------- |
|
67 // |
|
68 RESOURCE MENU_BAR r_gs_menubar_open_exit |
|
69 { |
|
70 titles = |
|
71 { |
|
72 MENU_TITLE |
|
73 { |
|
74 menu_pane = r_gs_menu_item_exit; |
|
75 }, |
|
76 MENU_TITLE |
|
77 { |
|
78 menu_pane = r_gs_menu_item_help; |
|
79 }, |
|
80 MENU_TITLE |
|
81 { |
|
82 menu_pane = r_gs_menu_item_open; |
|
83 } |
|
84 }; |
|
85 } |
|
86 |
|
87 //---------------------------------------------------- |
|
88 // |
|
89 // r_gs_menu_item_open |
|
90 // Open item. |
|
91 // |
|
92 //---------------------------------------------------- |
|
93 |
|
94 RESOURCE MENU_PANE r_gs_menu_item_open |
|
95 { |
|
96 items = |
|
97 { |
|
98 MENU_ITEM |
|
99 { |
|
100 command = EAknSoftkeyOpen; |
|
101 txt = qtn_set_options_open; |
|
102 flags = EEikMenuItemAction; // action command |
|
103 } |
|
104 }; |
|
105 } |
|
106 |
|
107 |
|
108 // ----------------------------------------------------------------------------- |
|
109 // |
|
110 // r_gs_menu_item_exit |
|
111 // |
|
112 // ----------------------------------------------------------------------------- |
|
113 // |
|
114 RESOURCE MENU_PANE r_gs_menu_item_exit |
|
115 { |
|
116 items = |
|
117 { |
|
118 MENU_ITEM |
|
119 { |
|
120 command = EAknCmdExit; |
|
121 txt = qtn_options_exit; |
|
122 } |
|
123 }; |
|
124 } |
|
125 |
|
126 |
|
127 // ----------------------------------------------------------------------------- |
|
128 // |
|
129 // r_gs_menu_item_change |
|
130 // Change item. |
|
131 // |
|
132 // ----------------------------------------------------------------------------- |
|
133 // |
|
134 RESOURCE MENU_PANE r_gs_menu_item_change |
|
135 { |
|
136 items = |
|
137 { |
|
138 MENU_ITEM |
|
139 { |
|
140 command = EGSCmdAppChange; |
|
141 txt = qtn_set_options_change; |
|
142 flags = EEikMenuItemAction; // action command |
|
143 } |
|
144 }; |
|
145 } |
|
146 |
|
147 // ----------------------------------------------------------------------------- |
|
148 // |
|
149 // r_gs_menu_item_help |
|
150 // Change item. |
|
151 // |
|
152 // ----------------------------------------------------------------------------- |
|
153 // |
|
154 RESOURCE MENU_PANE r_gs_menu_item_help |
|
155 { |
|
156 items = |
|
157 { |
|
158 MENU_ITEM |
|
159 { |
|
160 command = EAknCmdHelp; |
|
161 txt = qtn_options_help; |
|
162 } |
|
163 }; |
|
164 } |
|
165 |
|
166 |
|
167 // ----------------------------------------------------------------------------- |
|
168 // |
|
169 // r_setting_listbox |
|
170 // Common listbox editor resource for setting pages. |
|
171 // |
|
172 // ----------------------------------------------------------------------------- |
|
173 // |
|
174 RESOURCE LISTBOX r_setting_listbox |
|
175 { |
|
176 flags = EEikListBoxMultipleSelection; |
|
177 } |
|
178 |
|
179 |
|
180 // ----------------------------------------------------------------------------- |
|
181 // |
|
182 // r_gs_cba_exit |
|
183 // Exit text for RSK |
|
184 // |
|
185 // ----------------------------------------------------------------------------- |
|
186 // |
|
187 RESOURCE TBUF r_gs_cba_exit { buf = text_softkey_exit; } |
|
188 |
|
189 //End of File |