]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/common/unicode/icudataver.h
ICU-491.11.1.tar.gz
[apple/icu.git] / icuSources / common / unicode / icudataver.h
index 0f12c97c609a3ef1ef478eb3b1959a68c928d626..65d083173607d4e71c2ae3b7ea1237d1be9eea7e 100644 (file)
@@ -1,7 +1,7 @@
 /*
 ******************************************************************************
 *
-*   Copyright (C) 2009-2010, International Business Machines
+*   Copyright (C) 2009-2012, International Business Machines
 *   Corporation and others.  All Rights Reserved.
 *
 ******************************************************************************
 
 #include "unicode/utypes.h"
 
+#ifndef U_HIDE_DRAFT_API
 /**
- * @internal ICU 4.4
+ * @draft ICU 49
  */
 #define U_ICU_VERSION_BUNDLE "icuver"
 
 /**
- * @internal ICU 4.4
- */
-#define U_ICU_STD_BUNDLE "icustd"
-
-/**
- * @internal ICU 4.4
+ * @draft ICU 49
  */
 #define U_ICU_DATA_KEY "DataVersion"
 
-/**
- * This function loads up icuver and compares the data version to the wired-in U_ICU_DATA_VERSION.
- * If icuver shows something less than U_ICU_DATA_VERSION it returns TRUE, else FALSE. The version
- * found will be returned in the first fillin parameter (if non-null), and *isModified will be set
- * to TRUE if "icustd" is NOT found. Thus, if the data has been repackaged or modified, "icustd"
- * (standard ICU) will be missing, and the function will alert the caller that the data is not standard.
- * 
- * @param dataVersionFillin icuver data version information to be filled in if not-null
- * @param isModifiedFillin if the data is not standard if not-null
- * @param status stores the error code from the calls to resource bundle
- *
- * @return TRUE if U_ICU_DATA_VERSION is newer than icuver, else FALSE
- * 
- * @internal ICU 4.4
- */
-U_INTERNAL UBool U_EXPORT2 u_isDataOlder(UVersionInfo dataVersionFillin, UBool *isModifiedFillin, UErrorCode *status);
-
 /**
  * Retrieves the data version from icuver and stores it in dataVersionFillin.
  * 
  * @param dataVersionFillin icuver data version information to be filled in if not-null
  * @param status stores the error code from the calls to resource bundle
  * 
- * @internal ICU 4.4
+ * @draft ICU 49
  */
-U_INTERNAL void U_EXPORT2 u_getDataVersion(UVersionInfo dataVersionFillin, UErrorCode *status);
+U_DRAFT void U_EXPORT2 u_getDataVersion(UVersionInfo dataVersionFillin, UErrorCode *status);
+#endif  /* U_HIDE_DRAFT_API */
 
 #endif