X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/b75a7d8f3b4adbae880cab104ce2c6a50eee4db2..af358242b32c45a41ffa01aaa8b273d82dfff5e4:/icuSources/layout/ContextualGlyphSubstProc.h diff --git a/icuSources/layout/ContextualGlyphSubstProc.h b/icuSources/layout/ContextualGlyphSubstProc.h index 81b5a98a..b0c5a6b3 100644 --- a/icuSources/layout/ContextualGlyphSubstProc.h +++ b/icuSources/layout/ContextualGlyphSubstProc.h @@ -1,7 +1,6 @@ /* - * @(#)ContextualGlyphSubstProc.h 1.6 00/03/15 * - * (C) Copyright IBM Corp. 1998-2003 - All Rights Reserved + * (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved * */ @@ -21,13 +20,14 @@ U_NAMESPACE_BEGIN +class LEGlyphStorage; + class ContextualGlyphSubstitutionProcessor : public StateTableProcessor { public: virtual void beginStateTable(); - virtual ByteOffset processStateEntry(LEGlyphID *glyphs, le_int32 *charIndices, le_int32 &currGlyph, - le_int32 glyphCount, EntryTableIndex index); + virtual ByteOffset processStateEntry(LEGlyphStorage &glyphStorage, le_int32 &currGlyph, EntryTableIndex index); virtual void endStateTable(); @@ -37,16 +37,16 @@ public: /** * ICU "poor man's RTTI", returns a UClassID for the actual class. * - * @draft ICU 2.2 + * @stable ICU 2.8 */ - 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 + * @stable ICU 2.8 */ - static inline UClassID getStaticClassID() { return (UClassID)&fgClassID; } + static UClassID getStaticClassID(); private: ContextualGlyphSubstitutionProcessor(); @@ -59,13 +59,6 @@ protected: const ContextualGlyphSubstitutionHeader *contextualGlyphSubstitutionHeader; -private: - - /** - * 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