|
1 /* |
|
2 * Copyright (c) 2002-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: This file contains all the resources for the AiwTestApp. |
|
15 * Initial content was generated by Series 60 AppWizard. |
|
16 * |
|
17 */ |
|
18 |
|
19 // RESOURCE IDENTIFIER |
|
20 NAME AIWT // 4 letter ID |
|
21 |
|
22 // INCLUDES |
|
23 #include <eikon.rh> |
|
24 #include <avkon.rsg> |
|
25 #include <avkon.rh> |
|
26 #include <avkon.mbg> |
|
27 #include <avkon.loc> |
|
28 #include <aiwcommon.rh> |
|
29 #include <aiwcommon.hrh> |
|
30 #include <appinfo.rh> |
|
31 #include <data_caging_paths_strings.hrh> |
|
32 |
|
33 #include "aiwtestapp.hrh" |
|
34 #include "aiwtestapp.loc" |
|
35 |
|
36 // RESOURCE DEFINITIONS |
|
37 RESOURCE RSS_SIGNATURE { } |
|
38 RESOURCE TBUF { buf = "MusTestApp"; } |
|
39 |
|
40 //---------------------------------------------------- |
|
41 // |
|
42 // eik_app_info |
|
43 // |
|
44 //---------------------------------------------------- |
|
45 // |
|
46 RESOURCE EIK_APP_INFO |
|
47 { |
|
48 hotkeys = r_aiwtest_hotkeys; |
|
49 menubar = r_aiwtest_menubar; |
|
50 cba = R_AVKON_SOFTKEYS_OPTIONS_BACK; |
|
51 } |
|
52 |
|
53 //---------------------------------------------------- |
|
54 // |
|
55 // r_aiwtest_hotkeys |
|
56 // |
|
57 //---------------------------------------------------- |
|
58 // |
|
59 RESOURCE HOTKEYS r_aiwtest_hotkeys |
|
60 { |
|
61 control = |
|
62 { |
|
63 HOTKEY { command = EAknCmdExit; key='e'; } |
|
64 }; |
|
65 } |
|
66 |
|
67 //---------------------------------------------------- |
|
68 // |
|
69 // r_aiwtest_menubar |
|
70 // |
|
71 //---------------------------------------------------- |
|
72 // |
|
73 RESOURCE MENU_BAR r_aiwtest_menubar |
|
74 { |
|
75 titles = |
|
76 { |
|
77 MENU_TITLE { menu_pane = r_aiwtest_menu; txt = "File"; } |
|
78 //MENU_TITLE { menu_pane = r_umasettings_main_menu; txt = "File"; } |
|
79 }; |
|
80 } |
|
81 |
|
82 //---------------------------------------------------- |
|
83 // |
|
84 // r_aiwtest_menu |
|
85 // |
|
86 //---------------------------------------------------- |
|
87 // |
|
88 RESOURCE MENU_PANE r_aiwtest_menu |
|
89 { |
|
90 items = |
|
91 { |
|
92 MENU_ITEM { command = 1000; txt = "Manager: Availability inv."; }, |
|
93 MENU_ITEM { command = 1001; txt = "Manager: Start live"; }, |
|
94 MENU_ITEM { command = 1002; txt = "Direct: Availability inv."; }, |
|
95 MENU_ITEM { command = 100000; txt = "Video Sharing"; cascade = AIW_INTELLIGENT_CASCADE_ID; }, |
|
96 //MENU_ITEM { command = 100001; txt = "Video Sharing"; cascade = AIW_INTELLIGENT_CASCADE_ID| AIW_LOCK_SUBMENU_TITLE; }, |
|
97 MENU_ITEM { command = EAknCmdExit; txt = qtn_options_exit; } |
|
98 }; |
|
99 } |
|
100 |
|
101 // ----------------------------------------------------------------------------- |
|
102 // |
|
103 // r_core_info_message_query |
|
104 // |
|
105 // ----------------------------------------------------------------------------- |
|
106 // |
|
107 RESOURCE DIALOG r_core_info_message_query |
|
108 { |
|
109 flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow; |
|
110 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
111 items= |
|
112 { |
|
113 DLG_LINE |
|
114 { |
|
115 type = EAknCtPopupHeadingPane; |
|
116 id = EAknMessageQueryHeaderId; |
|
117 control = AVKON_HEADING |
|
118 { |
|
119 label = "Core info"; |
|
120 headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE; |
|
121 }; |
|
122 }, |
|
123 DLG_LINE |
|
124 { |
|
125 type = EAknCtMessageQuery; |
|
126 id = EAknMessageQueryContentId; |
|
127 control = AVKON_MESSAGE_QUERY |
|
128 { |
|
129 message = "a"; |
|
130 }; |
|
131 } |
|
132 }; |
|
133 } |
|
134 |
|
135 // ----------------------------------------------------------------------------- |
|
136 // |
|
137 // r_aiwtest_localisable_app_info |
|
138 // |
|
139 // ----------------------------------------------------------------------------- |
|
140 // |
|
141 RESOURCE LOCALISABLE_APP_INFO r_aiwtest_localisable_app_info |
|
142 { |
|
143 short_caption = "MusTestApp"; |
|
144 caption_and_icon = |
|
145 CAPTION_AND_ICON_INFO |
|
146 { |
|
147 caption = "MusTestApp"; |
|
148 #ifdef __SCALABLE_ICONS |
|
149 number_of_icons = 1; |
|
150 #else |
|
151 number_of_icons = 2; |
|
152 #endif |
|
153 }; |
|
154 } |
|
155 |
|
156 // ----------------------------------------------------------------------------- |
|
157 // |
|
158 // r_aiwtestapp_submenu |
|
159 // |
|
160 // ----------------------------------------------------------------------------- |
|
161 // |
|
162 RESOURCE MENU_PANE r_aiwtestapp_submenu |
|
163 { |
|
164 items = |
|
165 { |
|
166 MENU_ITEM { command = 100000; txt = ""; } |
|
167 }; |
|
168 } |
|
169 |
|
170 // ----------------------------------------------------------------------------- |
|
171 // |
|
172 // r_aiwtestapp_interest |
|
173 // |
|
174 // ----------------------------------------------------------------------------- |
|
175 // |
|
176 RESOURCE AIW_INTEREST r_aiwtestapp_interest |
|
177 { |
|
178 items = |
|
179 { |
|
180 // This application is interested in printing jpeg images |
|
181 // from menu. |
|
182 AIW_CRITERIA_ITEM |
|
183 { |
|
184 id = 100000; |
|
185 serviceCmd = KAiwCmdShare; |
|
186 serviceClass = KAiwClassMenu; |
|
187 contentType = "*"; |
|
188 defaultProvider = 0x10282389; |
|
189 maxProviders = 1; |
|
190 } |
|
191 }; |
|
192 } |
|
193 |
|
194 // ----------------------------------------------------------------------------- |
|
195 // |
|
196 // r_aiwtestapp_baseinterest |
|
197 // |
|
198 // ----------------------------------------------------------------------------- |
|
199 // |
|
200 RESOURCE AIW_INTEREST r_aiwtestapp_baseinterest |
|
201 { |
|
202 items = |
|
203 { |
|
204 // This application is interested in printing jpeg images |
|
205 // from menu. |
|
206 AIW_CRITERIA_ITEM |
|
207 { |
|
208 id = 100000; |
|
209 serviceCmd = KAiwCmdShare; |
|
210 serviceClass = KAiwClassMenu; |
|
211 contentType = "*"; |
|
212 defaultProvider = 0x10282389; |
|
213 maxProviders = 1; |
|
214 } |
|
215 }; |
|
216 } |
|
217 |
|
218 // End of File |