2 * Copyright 2014-2015 Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
6 * Adrien Destugues, pulkomandy@pulkomandy.tk
7 * John Scipione, jscipione@gmail.com
9 #ifndef _B_MESSAGE_FORMAT_H_
10 #define _B_MESSAGE_FORMAT_H_
16 #ifndef U_ICU_NAMESPACE
17 #define U_ICU_NAMESPACE icu
19 namespace U_ICU_NAMESPACE
{
25 class BMessageFormat
: public BFormat
{
27 BMessageFormat(const BLanguage
& language
,
28 const BString pattern
);
29 BMessageFormat(const BString pattern
);
34 status_t
Format(BString
& buffer
, const int64 arg
) const;
37 status_t
_Initialize(const U_ICU_NAMESPACE::UnicodeString
&);
40 U_ICU_NAMESPACE::MessageFormat
* fFormatter
;
44 #endif // _B_MESSAGE_FORMAT_H_