2000-11-28 20:56:52 +00:00
|
|
|
/*
|
2000-12-21 02:44:45 +00:00
|
|
|
* @(#)NonContextualGlyphSubstProc.h 1.6 00/03/15
|
2000-11-28 20:56:52 +00:00
|
|
|
*
|
2003-06-03 20:58:22 +00:00
|
|
|
* (C) Copyright IBM Corp. 1998-2003 - All Rights Reserved
|
2000-11-28 20:56:52 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __NONCONTEXTUALGLYPHSUBSTITUTIONPROCESSOR_H
|
|
|
|
#define __NONCONTEXTUALGLYPHSUBSTITUTIONPROCESSOR_H
|
|
|
|
|
2003-01-13 23:15:11 +00:00
|
|
|
/**
|
|
|
|
* \file
|
|
|
|
* \internal
|
|
|
|
*/
|
|
|
|
|
2000-11-28 20:56:52 +00:00
|
|
|
#include "LETypes.h"
|
|
|
|
#include "MorphTables.h"
|
|
|
|
#include "SubtableProcessor.h"
|
2000-12-21 02:44:45 +00:00
|
|
|
#include "NonContextualGlyphSubst.h"
|
2000-11-28 20:56:52 +00:00
|
|
|
|
2001-10-16 00:39:01 +00:00
|
|
|
U_NAMESPACE_BEGIN
|
|
|
|
|
2000-11-28 20:56:52 +00:00
|
|
|
class NonContextualGlyphSubstitutionProcessor : public SubtableProcessor
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual void process(LEGlyphID *glyphs, le_int32 *charIndices, le_int32 glyphCount) = 0;
|
|
|
|
|
2001-01-19 00:30:17 +00:00
|
|
|
static SubtableProcessor *createInstance(const MorphSubtableHeader *morphSubtableHeader);
|
2000-11-28 20:56:52 +00:00
|
|
|
|
|
|
|
protected:
|
|
|
|
NonContextualGlyphSubstitutionProcessor();
|
2001-01-19 00:30:17 +00:00
|
|
|
NonContextualGlyphSubstitutionProcessor(const MorphSubtableHeader *morphSubtableHeader);
|
2000-11-28 20:56:52 +00:00
|
|
|
|
|
|
|
virtual ~NonContextualGlyphSubstitutionProcessor();
|
2002-10-04 19:27:01 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
NonContextualGlyphSubstitutionProcessor(const NonContextualGlyphSubstitutionProcessor &other); // forbid copying of this class
|
|
|
|
NonContextualGlyphSubstitutionProcessor &operator=(const NonContextualGlyphSubstitutionProcessor &other); // forbid copying of this class
|
2000-11-28 20:56:52 +00:00
|
|
|
};
|
|
|
|
|
2001-10-16 00:39:01 +00:00
|
|
|
U_NAMESPACE_END
|
2000-11-28 20:56:52 +00:00
|
|
|
#endif
|