xref: /haiku/headers/private/libroot/locale/ICUMessagesData.h (revision 675ffabd70492a962f8c0288a32208c22ce5de18)
1 /*
2  * Copyright 2010, 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 
13 namespace BPrivate {
14 
15 
16 class ICUMessagesData : public ICUCategoryData {
17 	typedef	ICUCategoryData		inherited;
18 public:
19 	virtual	status_t			SetTo(const Locale& locale,
20 									const char* posixLocaleName);
21 	virtual	status_t			SetToPosix();
22 
23 			void				Initialize(
24 									LocaleMessagesDataBridge* dataBridge);
25 
26 			const char*			GetLanginfo(int index);
27 
28 private:
29 			char				fYesExpression[80];
30 			char				fNoExpression[80];
31 
32 			const char**		fPosixLanginfo;
33 };
34 
35 
36 }	// namespace BPrivate
37 
38 
39 #endif	// _ICU_MESSAGES_DATA_H
40