X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/73c04bcfe1096173b00431f0cdc742894b15eef0..249c4c5ea9376c24572daf9c2effa7484a282f14:/icuSources/layout/TibetanLayoutEngine.h diff --git a/icuSources/layout/TibetanLayoutEngine.h b/icuSources/layout/TibetanLayoutEngine.h index 9deb4f02..3ca9918f 100644 --- a/icuSources/layout/TibetanLayoutEngine.h +++ b/icuSources/layout/TibetanLayoutEngine.h @@ -1,6 +1,6 @@ /* * - * (C) Copyright IBM Corp. 1998-2005 - All Rights Reserved + * (C) Copyright IBM Corp. 1998-2016 - All Rights Reserved * * Developed at DIT - Government of Bhutan * @@ -16,20 +16,20 @@ #ifndef __TIBETANLAYOUTENGINE_H #define __TIBETANLAYOUTENGINE_H -// #include "LETypes.h" -// #include "LEFontInstance.h" -// #include "LEGlyphFilter.h" -// #include "LayoutEngine.h" -// #include "OpenTypeLayoutEngine.h" +#include "LETypes.h" +#include "LEFontInstance.h" +#include "LEGlyphFilter.h" +#include "LayoutEngine.h" +#include "OpenTypeLayoutEngine.h" -// #include "GlyphSubstitutionTables.h" -// #include "GlyphDefinitionTables.h" -// #include "GlyphPositioningTables.h" +#include "GlyphSubstitutionTables.h" +#include "GlyphDefinitionTables.h" +#include "GlyphPositioningTables.h" U_NAMESPACE_BEGIN -// class MPreFixups; -// class LEGlyphStorage; +class MPreFixups; +class LEGlyphStorage; /** * This class implements OpenType layout for Dzongkha and Tibetan OpenType fonts @@ -49,6 +49,7 @@ public: * @param scriptCode - the script * @param langaugeCode - the language * @param gsubTable - the GSUB table + * @param success - set to an error code if the operation fails * * @see LayoutEngine::layoutEngineFactory * @see OpenTypeLayoutEngine @@ -57,7 +58,7 @@ public: * @internal */ TibetanOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, - le_int32 typoFlags, const GlyphSubstitutionTableHeader *gsubTable); + le_int32 typoFlags, const LEReferenceTo &gsubTable, LEErrorCode &success); /** * This constructor is used when the font requires a "canned" GSUB table which can't be known @@ -66,6 +67,7 @@ public: * @param fontInstance - the font * @param scriptCode - the script * @param langaugeCode - the language + * @param success - set to an error code if the operation fails * * @see OpenTypeLayoutEngine * @see ScriptAndLangaugeTags.h for script and language codes @@ -73,7 +75,7 @@ public: * @internal */ TibetanOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, - le_int32 typoFlags); + le_int32 typoFlags, LEErrorCode &success); /** * The destructor, virtual for correct polymorphic invocation. @@ -85,14 +87,14 @@ public: /** * ICU "poor man's RTTI", returns a UClassID for the actual class. * - * @draft ICU 3.6 + * @internal ICU 3.6 */ virtual UClassID getDynamicClassID() const; /** * ICU "poor man's RTTI", returns a UClassID for this class. * - * @draft ICU 3.6 + * @internal ICU 3.6 */ static UClassID getStaticClassID(); @@ -126,4 +128,3 @@ protected: U_NAMESPACE_END #endif -