• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2 ******************************************************************************
3 *
4 *   Copyright (C) 2009-2012, International Business Machines
5 *   Corporation and others.  All Rights Reserved.
6 *
7 ******************************************************************************
8 */
9 
10 
11 /**
12  * \file
13  * \brief C API: access to ICU Data Version number
14  */
15 
16 #ifndef __ICU_DATA_VER_H__
17 #define __ICU_DATA_VER_H__
18 
19 #include "unicode/utypes.h"
20 
21 #ifndef U_HIDE_DRAFT_API
22 /**
23  * @draft ICU 49
24  */
25 #define U_ICU_VERSION_BUNDLE "icuver"
26 
27 /**
28  * @draft ICU 49
29  */
30 #define U_ICU_DATA_KEY "DataVersion"
31 
32 /**
33  * Retrieves the data version from icuver and stores it in dataVersionFillin.
34  *
35  * @param dataVersionFillin icuver data version information to be filled in if not-null
36  * @param status stores the error code from the calls to resource bundle
37  *
38  * @draft ICU 49
39  */
40 U_DRAFT void U_EXPORT2 u_getDataVersion(UVersionInfo dataVersionFillin, UErrorCode *status);
41 #endif  /* U_HIDE_DRAFT_API */
42 
43 #endif
44