|
1 /* |
|
2 * ============================================================================ |
|
3 * Name : ipssostestapp.rss |
|
4 * Part of : ipssostestapp |
|
5 * ============================================================================ |
|
6 */ |
|
7 |
|
8 // RESOURCE IDENTIFIER |
|
9 NAME TEST // 4 letter ID |
|
10 |
|
11 // INCLUDES |
|
12 |
|
13 #include <eikon.rh> |
|
14 #include "testapp.hrh" |
|
15 #include "ipssostestapp.loc" |
|
16 #include <avkon.rsg> |
|
17 #include <avkon.rh> |
|
18 #include <avkon.mbg> |
|
19 #include <appinfo.rh> |
|
20 #include <data_caging_paths_strings.hrh> |
|
21 |
|
22 RESOURCE RSS_SIGNATURE { } |
|
23 |
|
24 RESOURCE TBUF { buf="ipssostestapp"; } |
|
25 |
|
26 RESOURCE EIK_APP_INFO |
|
27 { |
|
28 menubar=r_testapp_menubar; |
|
29 cba=R_AVKON_SOFTKEYS_OPTIONS_EXIT; |
|
30 } |
|
31 |
|
32 RESOURCE LOCALISABLE_APP_INFO r_testapp_app_info |
|
33 { |
|
34 short_caption = "IpsSosTestApp"; |
|
35 caption_and_icon = |
|
36 CAPTION_AND_ICON_INFO |
|
37 { |
|
38 caption = "IpsSosTest"; |
|
39 }; |
|
40 } |
|
41 |
|
42 //---------------------------------------------------- |
|
43 // |
|
44 // r_testapp_hotkeys |
|
45 // ?description |
|
46 // |
|
47 //---------------------------------------------------- |
|
48 // |
|
49 RESOURCE HOTKEYS r_testapp_hotkeys |
|
50 { |
|
51 control= |
|
52 { |
|
53 HOTKEY { command=EAknCmdExit; key='e'; } |
|
54 }; |
|
55 } |
|
56 |
|
57 //---------------------------------------------------- |
|
58 // |
|
59 // r_testapp_menubar |
|
60 // ?description |
|
61 // |
|
62 //---------------------------------------------------- |
|
63 // |
|
64 RESOURCE MENU_BAR r_testapp_menubar |
|
65 { |
|
66 titles= |
|
67 { |
|
68 MENU_TITLE { menu_pane=r_testapp_menu; txt="File"; } |
|
69 }; |
|
70 } |
|
71 |
|
72 //---------------------------------------------------- |
|
73 // |
|
74 // r_testapp_menu |
|
75 // ?description |
|
76 // |
|
77 //---------------------------------------------------- |
|
78 // |
|
79 RESOURCE MENU_PANE r_testapp_menu |
|
80 { |
|
81 items= |
|
82 { |
|
83 MENU_ITEM { command=ETestAppSubMenuId; txt="Run"; cascade=r_testapp_launch_sub_menu; }, |
|
84 MENU_ITEM { command=EAknCmdExit; txt="Exit"; } |
|
85 }; |
|
86 } |
|
87 |
|
88 |
|
89 //---------------------------------------------------- |
|
90 // |
|
91 // r_testapp_menu |
|
92 // ?description |
|
93 // |
|
94 //---------------------------------------------------- |
|
95 // |
|
96 RESOURCE MENU_PANE r_testapp_launch_sub_menu |
|
97 { |
|
98 items= |
|
99 { |
|
100 // TODO add submenus here |
|
101 MENU_ITEM { command=ETest1Cmd; txt="Create settings"; }, |
|
102 MENU_ITEM { command=ETest2Cmd; txt="Launch test case"; }, |
|
103 MENU_ITEM { command=ETest3Cmd; txt="Launch recent"; } |
|
104 }; |
|
105 } |
|
106 |
|
107 //---------------------------------------------------- |
|
108 // |
|
109 // r_number_query_dialog |
|
110 // |
|
111 //---------------------------------------------------- |
|
112 // |
|
113 RESOURCE DIALOG r_number_query_dialog |
|
114 { |
|
115 flags = EGeneralQueryFlags; |
|
116 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
117 items = |
|
118 { |
|
119 DLG_LINE |
|
120 { |
|
121 type = EAknCtQuery; |
|
122 id = EGeneralQuery; |
|
123 control= AVKON_DATA_QUERY |
|
124 { |
|
125 layout = ENumberLayout; |
|
126 control = AVKON_INTEGER_EDWIN |
|
127 { |
|
128 min = 0; |
|
129 max = 99; |
|
130 }; |
|
131 }; |
|
132 } |
|
133 }; |
|
134 } |
|
135 |
|
136 //---------------------------------------------------- |
|
137 // |
|
138 // r_text_query_dialog |
|
139 // |
|
140 //---------------------------------------------------- |
|
141 // |
|
142 RESOURCE DIALOG r_text_query_dialog |
|
143 { |
|
144 flags=EGeneralQueryFlags; |
|
145 buttons=R_AVKON_SOFTKEYS_OK_CANCEL; |
|
146 items= |
|
147 { |
|
148 DLG_LINE |
|
149 { |
|
150 type=EAknCtQuery; |
|
151 id=EGeneralQuery; |
|
152 control= AVKON_DATA_QUERY |
|
153 { |
|
154 layout = EDataLayout; |
|
155 control = EDWIN{}; |
|
156 }; |
|
157 } |
|
158 }; |
|
159 } |
|
160 |
|
161 // End of File |