|
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 @publishedAll |
|
19 @released |
|
20 */ |
|
21 |
|
22 #if !defined(__UIKON_RH__) |
|
23 #define __UIKON_RH__ |
|
24 |
|
25 #if !defined(__BADEF_RH__) |
|
26 #include <badef.rh> |
|
27 #endif |
|
28 |
|
29 #if !defined(__UIKON_HRH__) |
|
30 #include <uikon.hrh> |
|
31 #endif |
|
32 |
|
33 #if !defined(__BAERRRSVR_RH__) |
|
34 #include <baerrrsvr.rh> |
|
35 #endif |
|
36 |
|
37 STRUCT RESOURCE_LINK |
|
38 { |
|
39 LLINK id; |
|
40 } |
|
41 |
|
42 STRUCT HOTKEY |
|
43 { |
|
44 LONG command; |
|
45 LONG key; |
|
46 } |
|
47 |
|
48 STRUCT HOTKEYS |
|
49 { |
|
50 STRUCT plain[]; |
|
51 STRUCT control[]; |
|
52 STRUCT shift_control[]; |
|
53 } |
|
54 |
|
55 // Removed by Bill |
|
56 //#include <eikfont.rh> // for STRUCT FONT |
|
57 |
|
58 STRUCT NUMBER_INT8 |
|
59 { |
|
60 BYTE value=0; |
|
61 } |
|
62 |
|
63 STRUCT NUMBER_INT16 |
|
64 { |
|
65 WORD value=0; |
|
66 } |
|
67 |
|
68 STRUCT NUMBER_INT32 |
|
69 { |
|
70 LONG value=0; |
|
71 } |
|
72 |
|
73 |
|
74 // EIKCOLOR.RH |
|
75 // |
|
76 // Copyright (c) 1997-2007 Nokia Corporation and/or its subsidiary(-ies). |
|
77 // |
|
78 |
|
79 STRUCT COLOR |
|
80 { |
|
81 BYTE red; |
|
82 BYTE green; |
|
83 BYTE blue; |
|
84 } |
|
85 |
|
86 STRUCT CTRL_COLOR |
|
87 { |
|
88 WORD logical_color; |
|
89 STRUCT color; // COLOR |
|
90 } |
|
91 |
|
92 STRUCT COLORLIST |
|
93 { |
|
94 LLINK array_id=0; |
|
95 } |
|
96 |
|
97 STRUCT EIKCOLORLIST |
|
98 { |
|
99 LLINK array_id=0; |
|
100 LLINK ext_id; |
|
101 } |
|
102 |
|
103 #include <eikcolor.hrh> |
|
104 |
|
105 // EIKFONT.RH |
|
106 // |
|
107 // Copyright (c) 1997-2007 Nokia Corporation and/or its subsidiary(-ies). |
|
108 // |
|
109 |
|
110 //#include <eikfont.hrh> |
|
111 |
|
112 STRUCT FONT |
|
113 { |
|
114 LONG fontid; // a value from fontids.h |
|
115 WORD flags=0; // a combination of EGulFontFlagXxxxs |
|
116 } |
|
117 |
|
118 STRUCT NAMED_FONT |
|
119 { |
|
120 LTEXT name; |
|
121 WORD height; // in twips |
|
122 WORD flags=0; // a combination of EGulFontFlagXxxxs |
|
123 } |
|
124 |
|
125 // EIKPRIV.RH |
|
126 // |
|
127 // Copyright (c) 1997-2007 Nokia Corporation and/or its subsidiary(-ies). |
|
128 // |
|
129 |
|
130 STRUCT INT16 |
|
131 { |
|
132 WORD value; |
|
133 } |
|
134 |
|
135 |
|
136 // EIKPRTPV.RH |
|
137 // |
|
138 // Copyright (c) 1997-2007 Nokia Corporation and/or its subsidiary(-ies). |
|
139 // |
|
140 |
|
141 // EIKDEF.RH |
|
142 // |
|
143 // Copyright (c) 1997-2007 Nokia Corporation and/or its subsidiary(-ies). |
|
144 // |
|
145 |
|
146 STRUCT RSS_SIGNATURE |
|
147 { |
|
148 LONG signature=EEikResourceSignatureValue; |
|
149 SRLINK self; |
|
150 } |
|
151 |
|
152 STRUCT TBUF1 { BUF<1> buf; } |
|
153 STRUCT TBUF2 { BUF<2> buf; } |
|
154 STRUCT TBUF4 { BUF<4> buf; } |
|
155 STRUCT TBUF8 { BUF<8> buf; } |
|
156 STRUCT TBUF9 { BUF<9> buf; } |
|
157 STRUCT TBUF16 { BUF<16> buf; } |
|
158 STRUCT TBUF32 { BUF<32> buf; } |
|
159 STRUCT TBUF40 { BUF<40> buf; } |
|
160 STRUCT TBUF64 { BUF<64> buf; } |
|
161 STRUCT TBUF80 { BUF<80> buf; } |
|
162 STRUCT TBUF128 { BUF<128> buf; } |
|
163 STRUCT TBUF256 { BUF<256> buf; } |
|
164 |
|
165 STRUCT EIK_APP_INFO |
|
166 { |
|
167 LLINK hotkeys=0; |
|
168 LLINK menubar=0; |
|
169 LLINK toolbar=0; |
|
170 LLINK toolband=0; |
|
171 LLINK cba=0; |
|
172 LLINK status_pane=0; |
|
173 LLINK custom_app_info_extension=0; |
|
174 } |
|
175 |
|
176 STRUCT PAGESIZE |
|
177 { |
|
178 LONG width=0; |
|
179 LONG height=0; |
|
180 } |
|
181 |
|
182 STRUCT VIEW_ID |
|
183 { |
|
184 LONG appuid; |
|
185 LONG viewuid; |
|
186 } |
|
187 |
|
188 // EIKSPANE.RH |
|
189 // |
|
190 // Copyright (c) 1997-2007 Nokia Corporation and/or its subsidiary(-ies). |
|
191 // |
|
192 |
|
193 |
|
194 STRUCT STATUS_PANE_SYSTEM_MODEL // System wide status pane declaration |
|
195 { |
|
196 STRUCT panes[]; // entire set of valid SPANE_PANEs |
|
197 LLINK default_layout; // default STATUS_PANE_LAYOUT |
|
198 LLINK layouts[]; // entire set of STATUS_PANE_LAYOUTs |
|
199 } |
|
200 |
|
201 STRUCT SPANE_PANE |
|
202 { |
|
203 LONG id; |
|
204 WORD flags=EEikStatusPaneServerOwned; |
|
205 WORD type; |
|
206 LLINK resource=0; |
|
207 } |
|
208 |
|
209 STRUCT STATUS_PANE_LAYOUT |
|
210 { |
|
211 WORD position; |
|
212 STRUCT pane_tree; // SPANE_LAYOUT_TREE_NODE root of the layout tree |
|
213 } |
|
214 |
|
215 STRUCT SPANE_LAYOUT_TREE_NODE |
|
216 { |
|
217 LONG id=0; |
|
218 WORD flags; |
|
219 WORD size; |
|
220 STRUCT sub_panes[]; // SPANE_LAYOUT_TREE_NODE sub panes |
|
221 } |
|
222 |
|
223 STRUCT STATUS_PANE_APP_MODEL // Application specific status pane |
|
224 { |
|
225 LLINK layout=EEikStatusPaneUseDefaults; // STATUS_PANE_LAYOUT to use for this app |
|
226 STRUCT panes[]; // SPANE_PANE overrides to use for this app |
|
227 } |
|
228 |
|
229 // Notifiers |
|
230 |
|
231 STRUCT NOTIFIER_LIST |
|
232 { |
|
233 LONG dll_uid; |
|
234 |
|
235 LEN WORD STRUCT notifier_list[]; // notifier data |
|
236 } |
|
237 |
|
238 STRUCT NOTIFIER_DATA |
|
239 { |
|
240 LONG notifier_uid; |
|
241 } |
|
242 |
|
243 #endif |