From ece4a93414f0484ea4358fbfb15cc9b3dbe5a8bf Mon Sep 17 00:00:00 2001 From: Ram Viswanadha Date: Sat, 22 Sep 2001 02:22:47 +0000 Subject: [PATCH] ICU-1230 Deprecate wchar_t APIs. No code change. X-SVN-Rev: 5897 --- icu4c/source/common/unicode/resbund.h | 8 ++++++++ icu4c/source/common/unicode/ures.h | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/icu4c/source/common/unicode/resbund.h b/icu4c/source/common/unicode/resbund.h index 26dde771591..40bb35fd433 100644 --- a/icu4c/source/common/unicode/resbund.h +++ b/icu4c/source/common/unicode/resbund.h @@ -189,6 +189,11 @@ public: ResourceBundle( const UnicodeString& path, UErrorCode& err); ResourceBundle(UErrorCode &err); + /** + * Constructs a ResourceBundle + * + * @deprecated Remove after Aug 2002 + */ ResourceBundle( const wchar_t* path, const Locale& locale, UErrorCode& err); @@ -419,6 +424,9 @@ public: private: UResourceBundle *resource; void constructForLocale(const UnicodeString& path, const Locale& locale, UErrorCode& error); + /** + *@deprecated Remove after Aug 2002 + */ void constructForLocale(const wchar_t* path, const Locale& locale, UErrorCode& error); Locale fRealLocale; }; diff --git a/icu4c/source/common/unicode/ures.h b/icu4c/source/common/unicode/ures.h index ebf4a078bd8..dbd22b220d7 100644 --- a/icu4c/source/common/unicode/ures.h +++ b/icu4c/source/common/unicode/ures.h @@ -235,7 +235,7 @@ U_CAPI UResourceBundle* U_EXPORT2 ures_open(const char* path, /* NULL if n *@param status: fills in the outgoing error code. *@see ures_close *@return : a newly allocated resource bundle. -*@draft +*@deprecate remove after Aug 2002 */ U_CAPI UResourceBundle* U_EXPORT2 ures_openW(const wchar_t* path, const char* locale,