diff options
Diffstat (limited to 'Build/source/libs/graphite-engine/include/graphite/GraphiteProcess.h')
-rw-r--r-- | Build/source/libs/graphite-engine/include/graphite/GraphiteProcess.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/Build/source/libs/graphite-engine/include/graphite/GraphiteProcess.h b/Build/source/libs/graphite-engine/include/graphite/GraphiteProcess.h new file mode 100644 index 00000000000..60f81860c2e --- /dev/null +++ b/Build/source/libs/graphite-engine/include/graphite/GraphiteProcess.h @@ -0,0 +1,45 @@ +/*--------------------------------------------------------------------*//*:Ignore this sentence. +Copyright (C) 1999, 2001 SIL International. All rights reserved. + +Distributable under the terms of either the Common Public License or the +GNU Lesser General Public License, as specified in the LICENSING.txt file. + +File: GraphiteProcess.h +Responsibility: Sharon Correll +Last reviewed: Not yet. + +Description: + The interface that is needed for the Justifier object to call back to the Graphite engine. +----------------------------------------------------------------------------------------------*/ +#ifdef _MSC_VER +#pragma once +#endif +#ifndef GRAPHITEPROCESS_INCLUDED +#define GRAPHITEPROCESS_INCLUDED + +#include "GrResult.h" +//:End Ignore +namespace gr +{ + +/*---------------------------------------------------------------------------------------------- + + Hungarian: fgje +----------------------------------------------------------------------------------------------*/ +class GraphiteProcess +{ +public: + virtual ~GraphiteProcess() {}; + virtual GrResult getGlyphAttribute(int iGlyph, int jgat, int nLevel, float * pValueRet) = 0; + virtual GrResult getGlyphAttribute(int iGlyph, int jgat, int nLevel, int * pValueRet) = 0; + virtual GrResult setGlyphAttribute(int iGlyph, int jgat, int nLevel, float value) = 0; + virtual GrResult setGlyphAttribute(int iGlyph, int jgat, int nLevel, int value) = 0; +}; + +} // namespace gr + +#if defined(GR_NO_NAMESPACE) +using namespace gr; +#endif + +#endif // !IGR_JENGINE_INCLUDED |