]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/i18n/ucurrimp.h
ICU-511.25.tar.gz
[apple/icu.git] / icuSources / i18n / ucurrimp.h
index 161a2e9f7ca6e594b54091a221c247f5fb067da0..1b1c46125589c08082e5cc2a5927a598fa0cef38 100644 (file)
@@ -1,6 +1,6 @@
 /*
 **********************************************************************
-* Copyright (c) 2002-2008, International Business Machines
+* Copyright (c) 2002-2011, International Business Machines
 * Corporation and others.  All Rights Reserved.
 **********************************************************************
 */
@@ -24,7 +24,7 @@
  */
 U_CFUNC void
 uprv_getStaticCurrencyName(const UChar* iso, const char* loc,
-                           U_NAMESPACE_QUALIFIER UnicodeString& result, UErrorCode& ec);
+                           icu::UnicodeString& result, UErrorCode& ec);
 
 /**
  * Attempt to parse the given string as a currency, either as a
@@ -40,6 +40,7 @@ uprv_getStaticCurrencyName(const UChar* iso, const char* loc,
  * text to match; must have 0 <= pos.getIndex() < text.length();
  * on output, the position after the last matched character. If
  * the parse fails, the position in unchanged upon output.
+ * @param type currency type to parse against, LONG_NAME only or not
  * @return the ISO 4217 code, as a string, of the best match, or
  * null if there is no match
  *
@@ -47,8 +48,9 @@ uprv_getStaticCurrencyName(const UChar* iso, const char* loc,
  */
 U_CFUNC void
 uprv_parseCurrency(const char* locale,
-                   const U_NAMESPACE_QUALIFIER UnicodeString& text,
-                   U_NAMESPACE_QUALIFIER ParsePosition& pos,
+                   const icu::UnicodeString& text,
+                   icu::ParsePosition& pos,
+                   int8_t type,
                    UChar* result,
                    UErrorCode& ec);