1 /* |
|
2 * Copyright (c) 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: Resource file for GSPowerSavingQueryPlugin |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 // RESOURCE IDENTIFIER |
|
21 NAME POWE // 4 letter ID |
|
22 |
|
23 // INCLUDES |
|
24 #include "GSPowerSavingQueryPlugin.hrh" |
|
25 #include <gspowersavingqueryplugin.loc> |
|
26 |
|
27 #include <avkon.loc> // Avkon localized strings |
|
28 #include <avkon.mbg> |
|
29 #include <avkon.rsg> |
|
30 #include <eikcore.rsg> |
|
31 #include <uikon.rh> |
|
32 #include <gsapp.rsg> |
|
33 |
|
34 // CONSTANTS |
|
35 |
|
36 // RESOURCE DEFINITIONS |
|
37 |
|
38 RESOURCE RSS_SIGNATURE |
|
39 { |
|
40 } |
|
41 |
|
42 // Common resources among GS |
|
43 #include "GSCommonResources.rss" |
|
44 |
|
45 |
|
46 RESOURCE TBUF |
|
47 { |
|
48 buf="POWE"; |
|
49 } |
|
50 |
|
51 //---------------------------------------------------- |
|
52 // |
|
53 // EIK_APP_INFO |
|
54 // It contains application information. |
|
55 // |
|
56 //---------------------------------------------------- |
|
57 // |
|
58 RESOURCE EIK_APP_INFO |
|
59 { |
|
60 } |
|
61 |
|
62 |
|
63 //---------------------------------------------------- |
|
64 // r_gs_power_saving_query_view_caption |
|
65 // |
|
66 // Power saving query view caption for plugin |
|
67 //---------------------------------------------------- |
|
68 // |
|
69 RESOURCE TBUF r_gs_power_saving_query_view_caption |
|
70 { |
|
71 buf = qtn_cp_power_saving_query_settings; |
|
72 } |
|
73 |
|
74 //---------------------------------------------------- |
|
75 // |
|
76 // r_gs_power_saving_query_view_title |
|
77 // Power saving query view's title. |
|
78 // |
|
79 //---------------------------------------------------- |
|
80 // |
|
81 RESOURCE TITLE_PANE r_gs_power_saving_query_view_title |
|
82 { |
|
83 txt = qtn_cp_power_saving_query_settings; |
|
84 } |
|
85 |
|
86 //---------------------------------------------------- |
|
87 // |
|
88 // r_gs_power_saving_query_view |
|
89 // Power saving query view. |
|
90 // |
|
91 //---------------------------------------------------- |
|
92 // |
|
93 RESOURCE AVKON_VIEW r_gs_power_saving_query_view |
|
94 { |
|
95 menubar = r_gs_powersavingquery_menubar; |
|
96 cba = R_GS_SOFTKEYS_OPTIONS_BACK_CHANGE; |
|
97 } |
|
98 |
|
99 // ----------------------------------------------------------------------------- |
|
100 // |
|
101 // r_gs_powersavingquery_menubar |
|
102 // GS_Powersavingquery_Plugin menu with 'change' and 'exit' items without help. |
|
103 // |
|
104 // ----------------------------------------------------------------------------- |
|
105 // |
|
106 RESOURCE MENU_BAR r_gs_powersavingquery_menubar |
|
107 { |
|
108 titles = |
|
109 { |
|
110 MENU_TITLE |
|
111 { |
|
112 menu_pane = r_gs_menu_item_exit; |
|
113 }, |
|
114 MENU_TITLE |
|
115 { |
|
116 menu_pane = r_gs_menu_item_change; |
|
117 } |
|
118 }; |
|
119 } |
|
120 |
|
121 //---------------------------------------------------- |
|
122 // |
|
123 // r_power_saving_query_lbx |
|
124 // Power saving query view's listbox. |
|
125 // |
|
126 //---------------------------------------------------- |
|
127 // |
|
128 RESOURCE GS_FEATURE_ARRAY r_power_saving_query_lbx |
|
129 { |
|
130 items = |
|
131 { |
|
132 GS_FEATURE |
|
133 { |
|
134 txt = " \t"qtn_power_saving_query_settings_header"\t\t"; |
|
135 item = KGSSettIdPowerSavingQuery; |
|
136 } |
|
137 }; |
|
138 } |
|
139 |
|
140 //---------------------------------------------------- |
|
141 // |
|
142 // r_power_saving_query_setting_page |
|
143 // Power saving query setting page. |
|
144 // |
|
145 //---------------------------------------------------- |
|
146 // |
|
147 RESOURCE AVKON_SETTING_PAGE r_power_saving_query_setting_page |
|
148 { |
|
149 number = EAknSettingPageNoOrdinalDisplayed; |
|
150 label = qtn_power_saving_query_settings_header; |
|
151 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
152 type = EAknSetListBox; |
|
153 editor_resource_id = r_setting_listbox; |
|
154 } |
|
155 |
|
156 //---------------------------------------------------- |
|
157 // |
|
158 // r_power_saving_query_setting_page_lbx |
|
159 // Power saving query setting page's listbox. |
|
160 // |
|
161 //---------------------------------------------------- |
|
162 // |
|
163 RESOURCE ARRAY r_power_saving_query_setting_page_lbx |
|
164 { |
|
165 items = |
|
166 { |
|
167 LBUF |
|
168 { |
|
169 txt = qtn_power_saving_query_settings_val_on; |
|
170 }, |
|
171 LBUF |
|
172 { |
|
173 txt = qtn_power_saving_query_settings_val_off; |
|
174 } |
|
175 }; |
|
176 } |
|
177 |
|
178 //---------------------------------------------------- |
|
179 // |
|
180 // r_power_saving_query_on |
|
181 // On value. |
|
182 // |
|
183 //---------------------------------------------------- |
|
184 // |
|
185 RESOURCE TBUF r_power_saving_query_on |
|
186 { |
|
187 buf = qtn_power_saving_query_settings_val_on; |
|
188 } |
|
189 |
|
190 //---------------------------------------------------- |
|
191 // |
|
192 // r_power_saving_query_off |
|
193 // Off value. |
|
194 // |
|
195 //---------------------------------------------------- |
|
196 // |
|
197 RESOURCE TBUF r_power_saving_query_off |
|
198 { |
|
199 buf = qtn_power_saving_query_settings_val_off; |
|
200 } |
|
201 |
|
202 //End of File |
|