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 20U_NAMESPACE_BEGIN 21 22class LEGlyphStorage; 23 24class NonContextualGlyphSubstitutionProcessor2 : public SubtableProcessor2 25{ 26public: 27 virtual void process(LEGlyphStorage &glyphStorage, LEErrorCode &success) = 0; 28 29 static SubtableProcessor2 *createInstance(const LEReferenceTo<MorphSubtableHeader2> &morphSubtableHeader, LEErrorCode &success); 30 31protected: 32 NonContextualGlyphSubstitutionProcessor2(); 33 NonContextualGlyphSubstitutionProcessor2(const LEReferenceTo<MorphSubtableHeader2> &morphSubtableHeader, LEErrorCode &success); 34 35 virtual ~NonContextualGlyphSubstitutionProcessor2(); 36 37private: 38 NonContextualGlyphSubstitutionProcessor2(const NonContextualGlyphSubstitutionProcessor2 &other); // forbid copying of this class 39 NonContextualGlyphSubstitutionProcessor2 &operator=(const NonContextualGlyphSubstitutionProcessor2 &other); // forbid copying of this class 40}; 41 42U_NAMESPACE_END 43#endif 44