|
1 /* |
|
2 * Copyright (c) 2006-2006 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 definitions for project ?myapp |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 NAME HELL |
|
20 |
|
21 #include <eikon.rh> |
|
22 #include <eikon.rsg> |
|
23 #include <avkon.rh> |
|
24 #include <avkon.rsg> |
|
25 |
|
26 #include "catalogslogger.hrh" |
|
27 |
|
28 |
|
29 // --------------------------------------------------------- |
|
30 // |
|
31 // Define the resource file signature |
|
32 // This resource should be empty. |
|
33 // |
|
34 // --------------------------------------------------------- |
|
35 // |
|
36 RESOURCE RSS_SIGNATURE { } |
|
37 |
|
38 // --------------------------------------------------------- |
|
39 // |
|
40 // Default Document Name |
|
41 // |
|
42 // --------------------------------------------------------- |
|
43 // |
|
44 RESOURCE TBUF r_default_document_name { buf=""; } |
|
45 |
|
46 // --------------------------------------------------------- |
|
47 // |
|
48 // Define default menu and CBA key. |
|
49 // |
|
50 // --------------------------------------------------------- |
|
51 // |
|
52 RESOURCE EIK_APP_INFO |
|
53 { |
|
54 menubar = r_catalogslogger_menubar; |
|
55 cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT; |
|
56 } |
|
57 |
|
58 |
|
59 // --------------------------------------------------------- |
|
60 // |
|
61 // r_catalogslogger_menubar |
|
62 // Menubar for CatalogsLogger example |
|
63 // |
|
64 // --------------------------------------------------------- |
|
65 // |
|
66 RESOURCE MENU_BAR r_catalogslogger_menubar |
|
67 { |
|
68 titles = |
|
69 { |
|
70 MENU_TITLE {menu_pane = r_catalogslogger_menu;} |
|
71 }; |
|
72 } |
|
73 |
|
74 |
|
75 // --------------------------------------------------------- |
|
76 // |
|
77 // r_catalogslogger_menu |
|
78 // Menu for "Options" |
|
79 // |
|
80 // --------------------------------------------------------- |
|
81 // |
|
82 RESOURCE MENU_PANE r_catalogslogger_menu |
|
83 { |
|
84 items = |
|
85 { |
|
86 MENU_ITEM {command = ECatalogsLoggerCommandStart; txt = "Start logging";}, |
|
87 MENU_ITEM {command = ECatalogsLoggerCommandStop; txt = "Stop logging";}, |
|
88 MENU_ITEM {command = ECatalogsLoggerCommandSendFile; txt = "Send log";}, |
|
89 MENU_ITEM {command = ECatalogsLoggerCommandClearLog; txt = "Clear log";}, |
|
90 MENU_ITEM {command = ECatalogsLoggerCommandBackground; txt = "Background";}, |
|
91 MENU_ITEM {command = EAknSoftkeyExit; txt = "Exit";} |
|
92 }; |
|
93 } |
|
94 |
|
95 RESOURCE AVKON_SETTING_ITEM_LIST r_catalogs_logger_setting_item_list |
|
96 { |
|
97 flags = 0; |
|
98 title = "Settings"; |
|
99 items= |
|
100 { |
|
101 AVKON_SETTING_ITEM |
|
102 { |
|
103 identifier = ECatalogsLoggerSettingError; |
|
104 setting_page_resource = r_catalogs_logger_setting_page; |
|
105 associated_resource = r_catalogs_logger_settings; |
|
106 name = "Error"; |
|
107 }, |
|
108 |
|
109 AVKON_SETTING_ITEM |
|
110 { |
|
111 identifier = ECatalogsLoggerSettingInfo; |
|
112 setting_page_resource = r_catalogs_logger_setting_page; |
|
113 associated_resource = r_catalogs_logger_settings; |
|
114 name = "Info"; |
|
115 }, |
|
116 AVKON_SETTING_ITEM |
|
117 { |
|
118 identifier = ECatalogsLoggerSettingTrace; |
|
119 setting_page_resource = r_catalogs_logger_setting_page; |
|
120 associated_resource = r_catalogs_logger_settings; |
|
121 name = "Trace"; |
|
122 }, |
|
123 AVKON_SETTING_ITEM |
|
124 { |
|
125 identifier = ECatalogsLoggerSettingWarning; |
|
126 setting_page_resource = r_catalogs_logger_setting_page; |
|
127 associated_resource = r_catalogs_logger_settings; |
|
128 name = "Warning"; |
|
129 } |
|
130 }; |
|
131 } |
|
132 |
|
133 RESOURCE AVKON_SETTING_PAGE r_catalogs_logger_setting_page |
|
134 { |
|
135 type = EAknCtPopupSettingList; |
|
136 editor_resource_id = r_catalogs_logger_settings_page_editor; |
|
137 softkey_resource = R_AVKON_SOFTKEYS_OPTIONS_CANCEL; |
|
138 } |
|
139 |
|
140 |
|
141 RESOURCE POPUP_SETTING_LIST r_catalogs_logger_settings_page_editor |
|
142 { |
|
143 flags = 0; |
|
144 } |
|
145 |
|
146 RESOURCE AVKON_POPUP_SETTING_TEXTS r_catalogs_logger_settings |
|
147 { |
|
148 flags = 0; |
|
149 setting_texts_resource = r_catalogs_logger_settings_on_or_off; |
|
150 } |
|
151 |
|
152 RESOURCE ARRAY r_catalogs_logger_settings_on_or_off |
|
153 { |
|
154 items = |
|
155 { |
|
156 AVKON_ENUMERATED_TEXT { value = ECatalogsLoggerSettingOn; |
|
157 text = "On"; }, |
|
158 AVKON_ENUMERATED_TEXT { value = ECatalogsLoggerSettingOff; |
|
159 text = "Off"; } |
|
160 }; |
|
161 } |