]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/i18n/transreg.h
ICU-551.51.4.tar.gz
[apple/icu.git] / icuSources / i18n / transreg.h
index c14ebbf3923eec3397a9599d3e0d87878c22748b..e01f89ad0705e60c4b2d90b67295c716d8cfac58 100644 (file)
@@ -1,6 +1,6 @@
 /*
 **********************************************************************
-*   Copyright (c) 2001-2008, International Business Machines
+*   Copyright (c) 2001-2014, International Business Machines
 *   Corporation and others.  All Rights Reserved.
 **********************************************************************
 *   Date        Name        Description
@@ -21,8 +21,8 @@
 
 U_NAMESPACE_BEGIN
 
-class Entry;
-class Spec;
+class TransliteratorEntry;
+class TransliteratorSpec;
 class UnicodeString;
 
 //------------------------------------------------------------------
@@ -359,40 +359,40 @@ class TransliteratorRegistry : public UMemory {
     // Private implementation
     //----------------------------------------------------------------
 
-    Entry* find(const UnicodeString& ID);
+    TransliteratorEntry* find(const UnicodeString& ID);
 
-    Entry* find(UnicodeString& source,
+    TransliteratorEntry* find(UnicodeString& source,
                 UnicodeString& target,
                 UnicodeString& variant);
 
-    Entry* findInDynamicStore(const Spec& src,
-                              const Spec& trg,
+    TransliteratorEntry* findInDynamicStore(const TransliteratorSpec& src,
+                              const TransliteratorSpec& trg,
                               const UnicodeString& variant) const;
 
-    Entry* findInStaticStore(const Spec& src,
-                             const Spec& trg,
+    TransliteratorEntry* findInStaticStore(const TransliteratorSpec& src,
+                             const TransliteratorSpec& trg,
                              const UnicodeString& variant);
 
-    static Entry* findInBundle(const Spec& specToOpen,
-                               const Spec& specToFind,
+    static TransliteratorEntry* findInBundle(const TransliteratorSpec& specToOpen,
+                               const TransliteratorSpec& specToFind,
                                const UnicodeString& variant,
                                UTransDirection direction);
 
     void registerEntry(const UnicodeString& source,
                        const UnicodeString& target,
                        const UnicodeString& variant,
-                       Entry* adopted,
+                       TransliteratorEntry* adopted,
                        UBool visible);
 
     void registerEntry(const UnicodeString& ID,
-                       Entry* adopted,
+                       TransliteratorEntry* adopted,
                        UBool visible);
 
     void registerEntry(const UnicodeString& ID,
                        const UnicodeString& source,
                        const UnicodeString& target,
                        const UnicodeString& variant,
-                       Entry* adopted,
+                       TransliteratorEntry* adopted,
                        UBool visible);
 
     void registerSTV(const UnicodeString& source,
@@ -404,7 +404,7 @@ class TransliteratorRegistry : public UMemory {
                    const UnicodeString& variant);
 
     Transliterator* instantiateEntry(const UnicodeString& ID,
-                                     Entry *entry,
+                                     TransliteratorEntry *entry,
                                      TransliteratorAlias*& aliasReturn,
                                      UErrorCode& status);
 
@@ -456,6 +456,8 @@ class TransliteratorRegistry : public UMemory {
 
 U_NAMESPACE_END
 
+U_CFUNC UBool utrans_transliterator_cleanup(void);
+
 #endif /* #if !UCONFIG_NO_TRANSLITERATION */
 
 #endif