2009-08-13 17:21:33 +00:00
|
|
|
/*
|
|
|
|
******************************************************************************
|
|
|
|
*
|
2012-02-29 19:20:21 +00:00
|
|
|
* Copyright (C) 2009-2012, International Business Machines
|
2009-08-13 17:21:33 +00:00
|
|
|
* Corporation and others. All Rights Reserved.
|
|
|
|
*
|
|
|
|
******************************************************************************
|
|
|
|
*/
|
|
|
|
|
2012-09-11 20:51:51 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* \file
|
|
|
|
* \brief C API: access to ICU Data Version number
|
|
|
|
*/
|
|
|
|
|
2009-08-13 17:21:33 +00:00
|
|
|
#ifndef __ICU_DATA_VER_H__
|
|
|
|
#define __ICU_DATA_VER_H__
|
|
|
|
|
|
|
|
#include "unicode/utypes.h"
|
|
|
|
|
2012-02-29 19:20:21 +00:00
|
|
|
#ifndef U_HIDE_DRAFT_API
|
2010-01-21 20:51:49 +00:00
|
|
|
/**
|
2011-08-23 17:20:22 +00:00
|
|
|
* @draft ICU 49
|
2010-01-21 20:51:49 +00:00
|
|
|
*/
|
2009-08-13 17:21:33 +00:00
|
|
|
#define U_ICU_VERSION_BUNDLE "icuver"
|
2010-01-21 20:51:49 +00:00
|
|
|
|
|
|
|
/**
|
2011-08-23 17:20:22 +00:00
|
|
|
* @draft ICU 49
|
2010-01-21 20:51:49 +00:00
|
|
|
*/
|
2009-08-13 17:21:33 +00:00
|
|
|
#define U_ICU_DATA_KEY "DataVersion"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 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
|
|
|
|
*
|
2011-08-23 17:20:22 +00:00
|
|
|
* @draft ICU 49
|
2009-08-13 17:21:33 +00:00
|
|
|
*/
|
2012-02-29 19:20:21 +00:00
|
|
|
U_DRAFT void U_EXPORT2 u_getDataVersion(UVersionInfo dataVersionFillin, UErrorCode *status);
|
|
|
|
#endif /* U_HIDE_DRAFT_API */
|
2009-08-13 17:21:33 +00:00
|
|
|
|
|
|
|
#endif
|