X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/46f4442e9a5a4f3b98b7c1083586332f6a8a99a4..efa1e6592fb03ce23b15276b2b91d885a3ee7da5:/icuSources/i18n/nortrans.h diff --git a/icuSources/i18n/nortrans.h b/icuSources/i18n/nortrans.h index 96bc7f00..634f534f 100644 --- a/icuSources/i18n/nortrans.h +++ b/icuSources/i18n/nortrans.h @@ -1,6 +1,6 @@ /* ********************************************************************** -* Copyright (C) 2001-2007, International Business Machines +* Copyright (C) 2001-2010, International Business Machines * Corporation and others. All Rights Reserved. ********************************************************************** * Date Name Description @@ -15,7 +15,7 @@ #if !UCONFIG_NO_TRANSLITERATION #include "unicode/translit.h" -#include "unicode/normlzr.h" +#include "unicode/normalizer2.h" U_NAMESPACE_BEGIN @@ -24,16 +24,7 @@ U_NAMESPACE_BEGIN * @author Alan Liu */ class NormalizationTransliterator : public Transliterator { - - /** - * The normalization mode of this transliterator. - */ - UNormalizationMode fMode; - - /** - * Normalization options for this transliterator. - */ - int32_t options; + const Normalizer2 &fNorm2; public: @@ -93,8 +84,7 @@ class NormalizationTransliterator : public Transliterator { * Constructs a transliterator. This method is private. * Public users must use the factory method createInstance(). */ - NormalizationTransliterator(const UnicodeString& id, - UNormalizationMode mode, int32_t opt); + NormalizationTransliterator(const UnicodeString& id, const Normalizer2 &norm2); private: /**