]> git.saurik.com Git - apple/icu.git/blob - icuSources/layout/MPreFixups.h
ICU-461.12.tar.gz
[apple/icu.git] / icuSources / layout / MPreFixups.h
1 /*
2 *
3 * (C) Copyright IBM Corp. 2002-2008 - All Rights Reserved
4 *
5 */
6
7 #ifndef __MPREFIXUPS_H
8 #define __MPREFIXUPS_H
9
10 /**
11 * \file
12 * \internal
13 */
14
15 #include "LETypes.h"
16
17 U_NAMESPACE_BEGIN
18
19 class LEGlyphStorage;
20
21 // Might want to make this a private member...
22 struct FixupData;
23
24 class MPreFixups : public UMemory
25 {
26 public:
27 MPreFixups(le_int32 charCount);
28 ~MPreFixups();
29
30 void add(le_int32 baseIndex, le_int32 mpreIndex);
31
32 void apply(LEGlyphStorage &glyphStorage, LEErrorCode& success);
33
34 private:
35 FixupData *fFixupData;
36 le_int32 fFixupCount;
37 };
38
39 U_NAMESPACE_END
40 #endif
41
42