1 /* |
|
2 * Copyright (c) 2002 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: |
|
15 * This file contains declarations for resources of memscaneng. |
|
16 * The file can be included only in resource file. |
|
17 * |
|
18 * |
|
19 */ |
|
20 |
|
21 |
|
22 // INCLUDES |
|
23 #include "mseng.hrh" |
|
24 |
|
25 // STRUCTURE DEFINITIONS |
|
26 |
|
27 |
|
28 // --------------------------------------------------------- |
|
29 // DIRECTORYARRAY |
|
30 // |
|
31 // The directories that are scanned (array of dir paths) |
|
32 // --------------------------------------------------------- |
|
33 // |
|
34 STRUCT DIRECTORYARRAY |
|
35 { |
|
36 LTEXT directories[]; |
|
37 } |
|
38 |
|
39 // --------------------------------------------------------- |
|
40 // UIDTYPEELEMENT |
|
41 // |
|
42 // This struct maps one UID type from enum TUidTypes |
|
43 // to the value of the UID. |
|
44 // --------------------------------------------------------- |
|
45 // |
|
46 STRUCT UIDTYPEELEMENT |
|
47 { |
|
48 BYTE uidtype; |
|
49 LONG uid; |
|
50 } |
|
51 |
|
52 // --------------------------------------------------------- |
|
53 // UIDARRAY |
|
54 // |
|
55 // This array contain all the used UID type elements. |
|
56 // --------------------------------------------------------- |
|
57 // |
|
58 STRUCT UIDARRAY |
|
59 { |
|
60 STRUCT uidtypeelements[]; |
|
61 } |
|
62 |
|
63 // --------------------------------------------------------- |
|
64 // EXTTYPEELEMENT |
|
65 // |
|
66 // This struct maps one extension type from enum TExtTypes |
|
67 // to the string representing the extension |
|
68 // --------------------------------------------------------- |
|
69 // |
|
70 STRUCT EXTTYPEELEMENT |
|
71 { |
|
72 BYTE exttype; |
|
73 LTEXT extension; |
|
74 } |
|
75 |
|
76 // --------------------------------------------------------- |
|
77 // EXTARRAY |
|
78 // |
|
79 // This array contain all the extension type elements used. |
|
80 // --------------------------------------------------------- |
|
81 // |
|
82 STRUCT EXTARRAY |
|
83 { |
|
84 STRUCT exttypeelements[]; |
|
85 } |
|
86 |
|
87 // --------------------------------------------------------- |
|
88 // DATAGROUPNAMEELEMENT |
|
89 // |
|
90 // This struct maps one data group from enum TDataGroups |
|
91 // to the actual string representing the name of |
|
92 // the data group |
|
93 // --------------------------------------------------------- |
|
94 // |
|
95 STRUCT DATAGROUPNAMEELEMENT |
|
96 { |
|
97 BYTE grouptype; |
|
98 LTEXT groupname; |
|
99 } |
|
100 |
|
101 // --------------------------------------------------------- |
|
102 // DATAGROUPNAMEARRAY |
|
103 // |
|
104 // This array contains all data group names |
|
105 // --------------------------------------------------------- |
|
106 // |
|
107 STRUCT DATAGROUPNAMEARRAY |
|
108 { |
|
109 STRUCT datagroupnameelements[]; |
|
110 } |
|
111 |
|
112 // --------------------------------------------------------- |
|
113 // DATAGROUPUIDS |
|
114 // |
|
115 // List of UIDs belonging to a data group. |
|
116 // --------------------------------------------------------- |
|
117 // |
|
118 STRUCT DATAGROUPUIDS |
|
119 { |
|
120 BYTE datagroup; |
|
121 BYTE uids[]; |
|
122 } |
|
123 |
|
124 // --------------------------------------------------------- |
|
125 // DATAGROUPUIDARRAY |
|
126 // |
|
127 // This array includes for, each data group, |
|
128 // (enum TDataGroups), the list of UIDs (enum TUidTypes) |
|
129 // belonging to that data group. |
|
130 // --------------------------------------------------------- |
|
131 // |
|
132 STRUCT DATAGROUPUIDARRAY |
|
133 { |
|
134 STRUCT datagroupuids[]; |
|
135 } |
|
136 |
|
137 // --------------------------------------------------------- |
|
138 // DATAGROUPEXTS |
|
139 // |
|
140 // List of extension belonging to a data group. |
|
141 // --------------------------------------------------------- |
|
142 // |
|
143 STRUCT DATAGROUPEXTS |
|
144 { |
|
145 BYTE datagroup; |
|
146 BYTE exts[]; |
|
147 } |
|
148 |
|
149 // --------------------------------------------------------- |
|
150 // DATAGROUPEXTARRAY |
|
151 // |
|
152 // This array includes for, each data group, |
|
153 // (enum TDataGroups), the list of extension |
|
154 // (enum TExtTypes) belonging to that data group. |
|
155 // --------------------------------------------------------- |
|
156 // |
|
157 STRUCT DATAGROUPEXTARRAY |
|
158 { |
|
159 STRUCT datagroupexts[]; |
|
160 } |
|
161 |
|
162 // --------------------------------------------------------- |
|
163 // EXTRADATAFILE |
|
164 // |
|
165 // Specific file that is scanned separately from |
|
166 // normal uid or ext scanning. |
|
167 // --------------------------------------------------------- |
|
168 // |
|
169 STRUCT EXTRADATAFILE |
|
170 { |
|
171 BYTE datagroup; |
|
172 LTEXT filepath; |
|
173 } |
|
174 |
|
175 // --------------------------------------------------------- |
|
176 // EXTRADATAFILES |
|
177 // |
|
178 // Specific files that is scanned separately from |
|
179 // normal uid or ext scanning. |
|
180 // --------------------------------------------------------- |
|
181 // |
|
182 STRUCT EXTRADATAFILES |
|
183 { |
|
184 STRUCT extradatafile[]; |
|
185 } |
|
186 |
|
187 // --------------------------------------------------------- |
|
188 // SPECIAL_DATADIR |
|
189 // |
|
190 // A directory, where all files belong to the same |
|
191 // data group. |
|
192 // --------------------------------------------------------- |
|
193 STRUCT SPECIAL_DATADIR |
|
194 { |
|
195 BYTE datagroup; |
|
196 LTEXT path; |
|
197 LTEXT excludeddatafiles[]; |
|
198 } |
|
199 |
|
200 // --------------------------------------------------------- |
|
201 // SPECIAL_DATADIRS |
|
202 // |
|
203 // This array of above defined special directories. |
|
204 // |
|
205 // --------------------------------------------------------- |
|
206 STRUCT SPECIAL_DATADIRS |
|
207 { |
|
208 STRUCT special_datadir[]; |
|
209 } |
|
210 |
|
211 // End of File |
|