]>
Commit | Line | Data |
---|---|---|
b75a7d8f | 1 | /* |
b75a7d8f | 2 | * |
374ca955 | 3 | * (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved |
b75a7d8f A |
4 | * |
5 | */ | |
6 | ||
7 | #ifndef __FEATURES_H | |
8 | #define __FEATURES_H | |
9 | ||
10 | /** | |
11 | * \file | |
12 | * \internal | |
13 | */ | |
14 | ||
15 | #include "LETypes.h" | |
16 | #include "OpenTypeTables.h" | |
17 | ||
18 | U_NAMESPACE_BEGIN | |
19 | ||
20 | struct FeatureRecord | |
21 | { | |
22 | ATag featureTag; | |
23 | Offset featureTableOffset; | |
24 | }; | |
25 | ||
26 | struct FeatureTable | |
27 | { | |
28 | Offset featureParamsOffset; | |
29 | le_uint16 lookupCount; | |
30 | le_uint16 lookupListIndexArray[ANY_NUMBER]; | |
31 | }; | |
32 | ||
33 | struct FeatureListTable | |
34 | { | |
35 | le_uint16 featureCount; | |
36 | FeatureRecord featureRecordArray[ANY_NUMBER]; | |
37 | ||
374ca955 | 38 | const FeatureTable *getFeatureTable(le_uint16 featureIndex, LETag *featureTag) const; |
b75a7d8f A |
39 | |
40 | const FeatureTable *getFeatureTable(LETag featureTag) const; | |
41 | }; | |
42 | ||
43 | U_NAMESPACE_END | |
44 | #endif |