]>
Commit | Line | Data |
---|---|---|
b75a7d8f | 1 | /* |
b75a7d8f | 2 | * |
57a6839d | 3 | * (C) Copyright IBM Corp. 1998-2013 - All Rights Reserved |
b75a7d8f A |
4 | * |
5 | */ | |
6 | ||
7 | #ifndef __NONCONTEXTUALGLYPHSUBSTITUTIONPROCESSOR_H | |
8 | #define __NONCONTEXTUALGLYPHSUBSTITUTIONPROCESSOR_H | |
9 | ||
10 | /** | |
11 | * \file | |
12 | * \internal | |
13 | */ | |
14 | ||
15 | #include "LETypes.h" | |
16 | #include "MorphTables.h" | |
17 | #include "SubtableProcessor.h" | |
18 | #include "NonContextualGlyphSubst.h" | |
19 | ||
20 | U_NAMESPACE_BEGIN | |
21 | ||
374ca955 A |
22 | class LEGlyphStorage; |
23 | ||
b75a7d8f A |
24 | class NonContextualGlyphSubstitutionProcessor : public SubtableProcessor |
25 | { | |
26 | public: | |
57a6839d | 27 | virtual void process(LEGlyphStorage &glyphStorage, LEErrorCode &success) = 0; |
b75a7d8f | 28 | |
57a6839d | 29 | static SubtableProcessor *createInstance(const LEReferenceTo<MorphSubtableHeader> &morphSubtableHeader, LEErrorCode &success); |
b75a7d8f A |
30 | |
31 | protected: | |
32 | NonContextualGlyphSubstitutionProcessor(); | |
57a6839d | 33 | NonContextualGlyphSubstitutionProcessor(const LEReferenceTo<MorphSubtableHeader> &morphSubtableHeader, LEErrorCode &status); |
b75a7d8f A |
34 | |
35 | virtual ~NonContextualGlyphSubstitutionProcessor(); | |
36 | ||
37 | private: | |
38 | NonContextualGlyphSubstitutionProcessor(const NonContextualGlyphSubstitutionProcessor &other); // forbid copying of this class | |
39 | NonContextualGlyphSubstitutionProcessor &operator=(const NonContextualGlyphSubstitutionProcessor &other); // forbid copying of this class | |
40 | }; | |
41 | ||
42 | U_NAMESPACE_END | |
43 | #endif |