mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 00:43:32 +00:00
ICU-10483 Update #ifndef U_HIDE_XXX guards for 53m1
X-SVN-Rev: 34965
This commit is contained in:
parent
3db45ddd2f
commit
ebb200b1e4
7 changed files with 27 additions and 10 deletions
icu4c/source
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
******************************************************************************
|
||||
*
|
||||
* Copyright (C) 2012, International Business Machines
|
||||
* Copyright (C) 2012,2014 International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
*
|
||||
******************************************************************************
|
||||
|
@ -17,13 +17,15 @@
|
|||
|
||||
#include "unicode/utypes.h"
|
||||
|
||||
#ifndef U_HIDE_INTERNAL_API
|
||||
|
||||
#if U_SHOW_CPLUSPLUS_API
|
||||
|
||||
U_NAMESPACE_BEGIN
|
||||
|
||||
/**
|
||||
* enum bitset for boolean fields. Similar to Java EnumSet<>.
|
||||
* Needs to range check.
|
||||
* Needs to range check. Used for private instance variables.
|
||||
* @internal
|
||||
*/
|
||||
template<typename T, uint32_t minValue, uint32_t limitValue>
|
||||
|
@ -58,4 +60,5 @@ private:
|
|||
U_NAMESPACE_END
|
||||
|
||||
#endif /* U_SHOW_CPLUSPLUS_API */
|
||||
#endif /* U_HIDE_INTERNAL_API */
|
||||
#endif /* ENUMSET_H */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
**********************************************************************
|
||||
* Copyright (C) 1997-2013, International Business Machines
|
||||
* Copyright (C) 1997-2014, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
**********************************************************************
|
||||
*
|
||||
|
@ -2740,7 +2740,7 @@ u_charName(UChar32 code, UCharNameChoice nameChoice,
|
|||
*
|
||||
* @deprecated ICU 49
|
||||
*/
|
||||
U_STABLE int32_t U_EXPORT2
|
||||
U_DEPRECATED int32_t U_EXPORT2
|
||||
u_getISOComment(UChar32 c,
|
||||
char *dest, int32_t destCapacity,
|
||||
UErrorCode *pErrorCode);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
********************************************************************************
|
||||
* Copyright (C) 1997-2013, International Business Machines
|
||||
* Copyright (C) 1997-2014, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
********************************************************************************
|
||||
*
|
||||
|
@ -505,6 +505,7 @@ public:
|
|||
*/
|
||||
Locale getLocale(ULocDataLocaleType type, UErrorCode& status) const;
|
||||
|
||||
#ifndef U_HIDE_INTERNAL_API
|
||||
/**
|
||||
* Constants for capitalization context usage types.
|
||||
* @internal
|
||||
|
@ -527,6 +528,7 @@ public:
|
|||
kCapContextUsageMetazoneShort,
|
||||
kCapContextUsageTypeCount
|
||||
};
|
||||
#endif /* U_HIDE_INTERNAL_API */
|
||||
|
||||
/**
|
||||
* ICU "poor man's RTTI", returns a UClassID for the actual class.
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
|
||||
#include "unicode/locid.h"
|
||||
|
||||
#ifndef U_HIDE_DRAFT_API
|
||||
|
||||
/**
|
||||
* Represents the unit for formatting a relative date. e.g "in 5 days"
|
||||
|
@ -412,5 +413,7 @@ private:
|
|||
|
||||
U_NAMESPACE_END
|
||||
|
||||
#endif /* U_HIDE_DRAFT_API */
|
||||
|
||||
#endif /* !UCONFIG_NO_FORMATTING */
|
||||
#endif
|
||||
|
|
|
@ -190,11 +190,13 @@ typedef enum UTimeZoneFormatGMTOffsetPatternType {
|
|||
UTZFMT_PAT_NEGATIVE_H,
|
||||
#endif /* U_HIDE_DRAFT_API */
|
||||
|
||||
#ifndef U_HIDE_INTERNAL_API
|
||||
/**
|
||||
* Number of UTimeZoneFormatGMTOffsetPatternType types.
|
||||
* @internal
|
||||
*/
|
||||
UTZFMT_PAT_COUNT = 6
|
||||
#endif /* U_HIDE_INTERNAL_API */
|
||||
} UTimeZoneFormatGMTOffsetPatternType;
|
||||
|
||||
/**
|
||||
|
|
|
@ -186,8 +186,10 @@ typedef enum UDateFormatStyle {
|
|||
*/
|
||||
UDAT_PATTERN = -2,
|
||||
|
||||
#ifndef U_HIDE_INTERNAL_API
|
||||
/** @internal alias to UDAT_PATTERN */
|
||||
UDAT_IGNORE = UDAT_PATTERN
|
||||
#endif /* U_HIDE_INTERNAL_API */
|
||||
} UDateFormatStyle;
|
||||
|
||||
/* Skeletons for dates. */
|
||||
|
@ -835,13 +837,15 @@ U_STABLE void U_EXPORT2
|
|||
udat_close(UDateFormat* format);
|
||||
|
||||
|
||||
/* Dont hide UDateFormatBooleanAttribute type with #ifndef U_HIDE_DRAFT_API, needed by virtual methods */
|
||||
/**
|
||||
* DateFormat boolean attributes
|
||||
*
|
||||
* @draft ICU 53
|
||||
*/
|
||||
typedef enum UDateFormatBooleanAttribute {
|
||||
/**
|
||||
#ifndef U_HIDE_DRAFT_API
|
||||
/**
|
||||
* indicates whether whitespace is allowed. Includes trailing dot tolerance.
|
||||
* @draft ICU 53
|
||||
*/
|
||||
|
@ -862,9 +866,10 @@ typedef enum UDateFormatBooleanAttribute {
|
|||
* @draft ICU 53
|
||||
*/
|
||||
UDAT_BOOLEAN_ATTRIBUTE_COUNT
|
||||
#endif /* U_HIDE_DRAFT_API */
|
||||
} UDateFormatBooleanAttribute;
|
||||
|
||||
#ifndef U_HIDE_INTERNAL_API
|
||||
#ifndef U_HIDE_DRAFT_API
|
||||
/**
|
||||
* Get a boolean attribute associated with a UDateFormat.
|
||||
* An example would be a true value for a key of UDAT_PARSE_ALLOW_WHITESPACE indicating allowing whitespace leniency.
|
||||
|
@ -875,7 +880,7 @@ typedef enum UDateFormatBooleanAttribute {
|
|||
* @return The value of attr.
|
||||
* @draft ICU 53
|
||||
*/
|
||||
U_INTERNAL UBool U_EXPORT2
|
||||
U_DRAFT UBool U_EXPORT2
|
||||
udat_getBooleanAttribute(const UDateFormat* fmt, UDateFormatBooleanAttribute attr, UErrorCode* status);
|
||||
|
||||
/**
|
||||
|
@ -888,10 +893,10 @@ udat_getBooleanAttribute(const UDateFormat* fmt, UDateFormatBooleanAttribute att
|
|||
* @param status A pointer to an UErrorCode to receive any errors
|
||||
* @draft ICU 53
|
||||
*/
|
||||
U_INTERNAL void U_EXPORT2
|
||||
U_DRAFT void U_EXPORT2
|
||||
udat_setBooleanAttribute(UDateFormat *fmt, UDateFormatBooleanAttribute attr, UBool, UErrorCode* status);
|
||||
|
||||
#endif /* U_HIDE_INTERNAL_API */
|
||||
#endif /* U_HIDE_DRAFT_API */
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -806,6 +806,7 @@ U_STABLE int32_t U_EXPORT2
|
|||
unum_countAvailable(void);
|
||||
|
||||
#if UCONFIG_HAVE_PARSEALLINPUT
|
||||
#ifndef U_HIDE_INTERNAL_API
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
|
@ -817,6 +818,7 @@ typedef enum UNumberFormatAttributeValue {
|
|||
/** @internal */
|
||||
UNUM_MAYBE = 2
|
||||
} UNumberFormatAttributeValue;
|
||||
#endif /* U_HIDE_INTERNAL_API */
|
||||
#endif
|
||||
|
||||
/** The possible UNumberFormat numeric attributes @stable ICU 2.0 */
|
||||
|
|
Loading…
Add table
Reference in a new issue