ICU-7376 make C++ Locale::setKeywordValue() (#7252) public

X-SVN-Rev: 31377
This commit is contained in:
Markus Scherer 2012-02-13 19:20:43 +00:00
parent ab04df1199
commit 5915675e7c

View File

@ -1,7 +1,7 @@
/*
******************************************************************************
*
* Copyright (C) 1996-2011, International Business Machines
* Copyright (C) 1996-2012, International Business Machines
* Corporation and others. All Rights Reserved.
*
******************************************************************************
@ -437,7 +437,7 @@ public:
StringEnumeration * createKeywords(UErrorCode &status) const;
/**
* Get the value for a keyword.
* Gets the value for a keyword.
*
* @param keywordName name of the keyword for which we want the value. Case insensitive.
* @param buffer The buffer to receive the keyword value.
@ -449,9 +449,9 @@ public:
*/
int32_t getKeywordValue(const char* keywordName, char *buffer, int32_t bufferCapacity, UErrorCode &status) const;
#ifndef U_HIDE_INTERNAL_API
#ifndef U_HIDE_DRAFT_API
/**
* Set the value for a keyword.
* Sets the value for a keyword.
*
* @param keywordName name of the keyword to be set. Case insensitive.
* @param keywordValue value of the keyword to be set. If 0-length or
@ -459,10 +459,10 @@ public:
* that keyword does not exist.
* @param status Returns any error information while performing this operation.
*
* @internal
* @draft ICU 49
*/
void setKeywordValue(const char* keywordName, const char* keywordValue, UErrorCode &status);
#endif /* U_HIDE_INTERNAL_API */
#endif /* U_HIDE_DRAFT_API */
/**
* returns the locale's three-letter language code, as specified