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