]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/i18n/decfmtst.h
ICU-511.32.tar.gz
[apple/icu.git] / icuSources / i18n / decfmtst.h
index 79d15838a34340e3d2ca22ffd5f84186eccd1c05..16c5b7c950ed610c85e4a10190ed4a44f64e98fd 100644 (file)
@@ -1,20 +1,23 @@
-//
-//  regexst.h
-//
-//  Copyright (C) 2009, International Business Machines Corporation and others.
-//  All Rights Reserved.
-//
-//  This file contains declarations for the class DecimalFormatStaticSets
-//
-//  DecimalFormatStaticSets holds the UnicodeSets that are needed for lenient
-//  parsing of decimal and group separators.
-//
+/*
+*******************************************************************************
+* Copyright (C) 2009-2011, International Business Machines Corporation and    *
+* others. All Rights Reserved.                                                *
+*******************************************************************************
+*
+* This file contains declarations for the class DecimalFormatStaticSets
+*
+* DecimalFormatStaticSets holds the UnicodeSets that are needed for lenient
+* parsing of decimal and group separators.
+********************************************************************************
+*/
 
 #ifndef DECFMTST_H
 #define DECFMTST_H
 
 #include "unicode/utypes.h"
 
+ #if !UCONFIG_NO_FORMATTING
+
 U_NAMESPACE_BEGIN
 
 class  UnicodeSet;
@@ -32,7 +35,7 @@ public:
     static void    initSets(UErrorCode *status);
     static UBool   cleanup();
 
-    static UnicodeSet *getSimilarDecimals(UChar32 decimal, UBool strictParse, UnicodeSet *fallback);
+    static const UnicodeSet *getSimilarDecimals(UChar32 decimal, UBool strictParse);
 
     UnicodeSet *fDotEquivalents;
     UnicodeSet *fCommaEquivalents;
@@ -52,4 +55,5 @@ public:
 
 U_NAMESPACE_END
 
-#endif   // REGEXST_H
+#endif   // !UCONFIG_NO_FORMATTING
+#endif   // DECFMTST_H