X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/b75a7d8f3b4adbae880cab104ce2c6a50eee4db2..374ca955a76ecab1204ca8bfa63ff9238d998416:/icuSources/i18n/remtrans.h diff --git a/icuSources/i18n/remtrans.h b/icuSources/i18n/remtrans.h index 78add4b6..d63cd13e 100644 --- a/icuSources/i18n/remtrans.h +++ b/icuSources/i18n/remtrans.h @@ -1,6 +1,6 @@ /* ********************************************************************** -* Copyright (c) 2001, International Business Machines +* Copyright (c) 2001-2004, International Business Machines * Corporation and others. All Rights Reserved. ********************************************************************** * Date Name Description @@ -45,7 +45,7 @@ public: * Transliterator API. * @return A copy of the object. */ - Transliterator* clone(void) const; + virtual Transliterator* clone(void) const; /** * Implements {@link Transliterator#handleTransliterate}. @@ -64,14 +64,14 @@ public: * * @draft ICU 2.2 */ - 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 */ - static inline UClassID getStaticClassID() { return (UClassID)&fgClassID; } + static UClassID U_EXPORT2 getStaticClassID(); private: @@ -79,12 +79,6 @@ public: * Factory method */ static Transliterator* _create(const UnicodeString& ID, Token context); - - /** - * 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