diff options
Diffstat (limited to 'Build/source/libs/graphite/include/graphite/IGraphiteProcess.h')
-rw-r--r-- | Build/source/libs/graphite/include/graphite/IGraphiteProcess.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/Build/source/libs/graphite/include/graphite/IGraphiteProcess.h b/Build/source/libs/graphite/include/graphite/IGraphiteProcess.h new file mode 100644 index 00000000000..ee84a94cdb1 --- /dev/null +++ b/Build/source/libs/graphite/include/graphite/IGraphiteProcess.h @@ -0,0 +1,44 @@ +/*--------------------------------------------------------------------*//*: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 IGRAPHITEPROCESS_INCLUDED +#define IGRAPHITEPROCESS_INCLUDED + +#include "GrResult.h" +//:End Ignore +namespace gr +{ + +/*---------------------------------------------------------------------------------------------- + + Hungarian: fgje +----------------------------------------------------------------------------------------------*/ +class GraphiteProcess +{ +public: + 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 |