Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(138)

Side by Side Diff: public/common/unicode/icudataver.h

Issue 18836004: Move ICU headers from public/{common,i18n} to source/{common,i18n} (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu46.git@master
Patch Set: same as ps #3. retry uploading Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « public/common/unicode/errorcode.h ('k') | public/common/unicode/icuplug.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 ******************************************************************************
3 *
4 * Copyright (C) 2009-2010, International Business Machines
5 * Corporation and others. All Rights Reserved.
6 *
7 ******************************************************************************
8 */
9
10 #ifndef __ICU_DATA_VER_H__
11 #define __ICU_DATA_VER_H__
12
13 #include "unicode/utypes.h"
14
15 /**
16 * @internal ICU 4.4
17 */
18 #define U_ICU_VERSION_BUNDLE "icuver"
19
20 /**
21 * @internal ICU 4.4
22 */
23 #define U_ICU_STD_BUNDLE "icustd"
24
25 /**
26 * @internal ICU 4.4
27 */
28 #define U_ICU_DATA_KEY "DataVersion"
29
30 /**
31 * This function loads up icuver and compares the data version to the wired-in U _ICU_DATA_VERSION.
32 * If icuver shows something less than U_ICU_DATA_VERSION it returns TRUE, else FALSE. The version
33 * found will be returned in the first fillin parameter (if non-null), and *isMo dified will be set
34 * to TRUE if "icustd" is NOT found. Thus, if the data has been repackaged or mo dified, "icustd"
35 * (standard ICU) will be missing, and the function will alert the caller that t he data is not standard.
36 *
37 * @param dataVersionFillin icuver data version information to be filled in if n ot-null
38 * @param isModifiedFillin if the data is not standard if not-null
39 * @param status stores the error code from the calls to resource bundle
40 *
41 * @return TRUE if U_ICU_DATA_VERSION is newer than icuver, else FALSE
42 *
43 * @internal ICU 4.4
44 */
45 U_INTERNAL UBool U_EXPORT2 u_isDataOlder(UVersionInfo dataVersionFillin, UBool * isModifiedFillin, UErrorCode *status);
46
47 /**
48 * Retrieves the data version from icuver and stores it in dataVersionFillin.
49 *
50 * @param dataVersionFillin icuver data version information to be filled in if n ot-null
51 * @param status stores the error code from the calls to resource bundle
52 *
53 * @internal ICU 4.4
54 */
55 U_INTERNAL void U_EXPORT2 u_getDataVersion(UVersionInfo dataVersionFillin, UErro rCode *status);
56
57 #endif
OLDNEW
« no previous file with comments | « public/common/unicode/errorcode.h ('k') | public/common/unicode/icuplug.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698