1/*
2 * Copyright 2010-2011, Oliver Tappe, zooey@hirschkaefer.de.
3 * Distributed under the terms of the MIT License.
4 */
5#ifndef _ICU_MESSAGES_DATA_H
6#define _ICU_MESSAGES_DATA_H
7
8
9#include "ICUCategoryData.h"
10#include "LocaleBackend.h"
11
12
13namespace BPrivate {
14namespace Libroot {
15
16
17class ICUMessagesData : public ICUCategoryData {
18	typedef	ICUCategoryData		inherited;
19
20public:
21								ICUMessagesData(pthread_key_t tlsKey);
22
23	virtual	status_t			SetTo(const U_NAMESPACE_QUALIFIER Locale&
24										locale,
25									const char* posixLocaleName);
26	virtual	status_t			SetToPosix();
27
28			void				Initialize(
29									LocaleMessagesDataBridge* dataBridge);
30
31			const char*			GetLanginfo(int index);
32
33private:
34			char				fYesExpression[80];
35			char				fNoExpression[80];
36
37			const char**		fPosixLanginfo;
38};
39
40
41}	// namespace Libroot
42}	// namespace BPrivate
43
44
45#endif	// _ICU_MESSAGES_DATA_H
46