Home | History | Annotate | Download | only in layout
      1 /*
      2  *
      3  * (C) Copyright IBM Corp.  and others 1998-2013 - All Rights Reserved
      4  *
      5  */
      6 
      7 #ifndef __NONCONTEXTUALGLYPHSUBSTITUTIONPROCESSOR2_H
      8 #define __NONCONTEXTUALGLYPHSUBSTITUTIONPROCESSOR2_H
      9 
     10 /**
     11  * \file
     12  * \internal
     13  */
     14 
     15 #include "LETypes.h"
     16 #include "MorphTables.h"
     17 #include "SubtableProcessor2.h"
     18 #include "NonContextualGlyphSubst.h"
     19 
     20 U_NAMESPACE_BEGIN
     21 
     22 class LEGlyphStorage;
     23 
     24 class NonContextualGlyphSubstitutionProcessor2 : public SubtableProcessor2
     25 {
     26 public:
     27     virtual void process(LEGlyphStorage &glyphStorage, LEErrorCode &success) = 0;
     28 
     29     static SubtableProcessor2 *createInstance(const LEReferenceTo<MorphSubtableHeader2> &morphSubtableHeader, LEErrorCode &success);
     30 
     31 protected:
     32     NonContextualGlyphSubstitutionProcessor2();
     33     NonContextualGlyphSubstitutionProcessor2(const LEReferenceTo<MorphSubtableHeader2> &morphSubtableHeader, LEErrorCode &success);
     34 
     35     virtual ~NonContextualGlyphSubstitutionProcessor2();
     36 
     37 private:
     38     NonContextualGlyphSubstitutionProcessor2(const NonContextualGlyphSubstitutionProcessor2 &other); // forbid copying of this class
     39     NonContextualGlyphSubstitutionProcessor2 &operator=(const NonContextualGlyphSubstitutionProcessor2 &other); // forbid copying of this class
     40 };
     41 
     42 U_NAMESPACE_END
     43 #endif
     44