X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/b75a7d8f3b4adbae880cab104ce2c6a50eee4db2..635ab21dab8439adcb4398246a23211b9a46cc1a:/icuSources/i18n/unesctrn.h diff --git a/icuSources/i18n/unesctrn.h b/icuSources/i18n/unesctrn.h index 73f820c7..69184899 100644 --- a/icuSources/i18n/unesctrn.h +++ b/icuSources/i18n/unesctrn.h @@ -1,12 +1,12 @@ /* -********************************************************************** -* Copyright (c) 2001-2002, International Business Machines -* Corporation and others. All Rights Reserved. -********************************************************************** -* Date Name Description -* 11/20/2001 aliu Creation. -********************************************************************** -*/ + ********************************************************************** + * Copyright (c) 2001-2004, International Business Machines + * Corporation and others. All Rights Reserved. + ********************************************************************** + * Date Name Description + * 11/20/2001 aliu Creation. + ********************************************************************** + */ #ifndef UNESCTRN_H #define UNESCTRN_H @@ -82,14 +82,14 @@ class U_I18N_API UnescapeTransliterator : public Transliterator { * * @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(); protected: @@ -120,11 +120,6 @@ class U_I18N_API UnescapeTransliterator : public Transliterator { static UChar* copySpec(const UChar* spec); - /** - * 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