X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/b75a7d8f3b4adbae880cab104ce2c6a50eee4db2..ef6cf650f4a75c3f97de06b51fa104f2069b9ea2:/icuSources/layout/SimpleArrayProcessor.h?ds=inline diff --git a/icuSources/layout/SimpleArrayProcessor.h b/icuSources/layout/SimpleArrayProcessor.h index ea2dfb58..bbf6f721 100644 --- a/icuSources/layout/SimpleArrayProcessor.h +++ b/icuSources/layout/SimpleArrayProcessor.h @@ -1,7 +1,6 @@ /* - * @(#)SimpleArrayProcessor.h 1.6 00/03/15 * - * (C) Copyright IBM Corp. 1998-2003 - All Rights Reserved + * (C) Copyright IBM Corp. 1998-2014 - All Rights Reserved * */ @@ -21,42 +20,37 @@ U_NAMESPACE_BEGIN +class LEGlyphStorage; + class SimpleArrayProcessor : public NonContextualGlyphSubstitutionProcessor { public: - virtual void process(LEGlyphID *glyphs, le_int32 *charIndices, le_int32 glyphCount); + virtual void process(LEGlyphStorage &glyphStorage, LEErrorCode &success); - SimpleArrayProcessor(const MorphSubtableHeader *morphSubtableHeader); + SimpleArrayProcessor(const LEReferenceTo &morphSubtableHeader, LEErrorCode &success); virtual ~SimpleArrayProcessor(); /** * ICU "poor man's RTTI", returns a UClassID for the actual class. * - * @draft ICU 2.2 + * @deprecated ICU 54. See {@link icu::LayoutEngine} */ - virtual inline UClassID getDynamicClassID() const { return getStaticClassID(); } + virtual UClassID getDynamicClassID() const; /** * ICU "poor man's RTTI", returns a UClassID for this class. * - * @draft ICU 2.2 + * @deprecated ICU 54. See {@link icu::LayoutEngine} */ - static inline UClassID getStaticClassID() { return (UClassID)&fgClassID; } + static UClassID getStaticClassID(); private: SimpleArrayProcessor(); protected: - const SimpleArrayLookupTable *simpleArrayLookupTable; - -private: + LEReferenceTo simpleArrayLookupTable; - /** - * The address of this static class variable serves as this class's ID - * for ICU "poor man's RTTI". - */ - static const char fgClassID; }; U_NAMESPACE_END