]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/i18n/csrucode.h
ICU-57149.0.1.tar.gz
[apple/icu.git] / icuSources / i18n / csrucode.h
index 315bad6b25e59d32045f68f3a48ebaa86ef58c72..a8a4f2bc52174436ec31570e4fe4ca182626bbdd 100644 (file)
@@ -1,6 +1,6 @@
 /*
  **********************************************************************
- *   Copyright (C) 2005-2006, International Business Machines
+ *   Copyright (C) 2005-2012, International Business Machines
  *   Corporation and others.  All Rights Reserved.
  **********************************************************************
  */
@@ -36,7 +36,7 @@ public:
     /* (non-Javadoc)
      * @see com.ibm.icu.text.CharsetRecognizer#match(com.ibm.icu.text.CharsetDetector)
      */
-    int32_t match(InputText* textIn) = 0;
+    UBool match(InputText* textIn, CharsetMatch *results) const = 0;
 };
 
 
@@ -48,7 +48,7 @@ public:
 
     const char *getName() const;
 
-    int32_t match(InputText* textIn);
+    UBool match(InputText* textIn, CharsetMatch *results) const;
 };
 
 class CharsetRecog_UTF_16_LE : public CharsetRecog_Unicode
@@ -59,7 +59,7 @@ public:
 
     const char *getName() const;
 
-    int32_t match(InputText* textIn);
+    UBool match(InputText* textIn, CharsetMatch *results) const;
 };
 
 class CharsetRecog_UTF_32 : public CharsetRecog_Unicode
@@ -72,7 +72,7 @@ public:
 
     const char* getName() const = 0;
 
-    int32_t match(InputText* textIn);
+    UBool match(InputText* textIn, CharsetMatch *results) const;
 };