2010-07-24 03:13:00 +04:00
|
|
|
/*
|
|
|
|
* Copyright 2010, Oliver Tappe, zooey@hirschkaefer.de.
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef _ICU_MESSAGES_DATA_H
|
|
|
|
#define _ICU_MESSAGES_DATA_H
|
|
|
|
|
|
|
|
|
|
|
|
#include "ICUCategoryData.h"
|
|
|
|
#include "LocaleBackend.h"
|
|
|
|
|
|
|
|
|
|
|
|
namespace BPrivate {
|
2010-11-22 16:06:36 +03:00
|
|
|
namespace Libroot {
|
2010-07-24 03:13:00 +04:00
|
|
|
|
|
|
|
|
|
|
|
class ICUMessagesData : public ICUCategoryData {
|
|
|
|
typedef ICUCategoryData inherited;
|
|
|
|
public:
|
|
|
|
virtual status_t SetTo(const Locale& locale,
|
|
|
|
const char* posixLocaleName);
|
|
|
|
virtual status_t SetToPosix();
|
|
|
|
|
|
|
|
void Initialize(
|
|
|
|
LocaleMessagesDataBridge* dataBridge);
|
|
|
|
|
|
|
|
const char* GetLanginfo(int index);
|
|
|
|
|
|
|
|
private:
|
|
|
|
char fYesExpression[80];
|
|
|
|
char fNoExpression[80];
|
|
|
|
|
|
|
|
const char** fPosixLanginfo;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2010-11-22 16:06:36 +03:00
|
|
|
} // namespace Libroot
|
2010-07-24 03:13:00 +04:00
|
|
|
} // namespace BPrivate
|
|
|
|
|
|
|
|
|
|
|
|
#endif // _ICU_MESSAGES_DATA_H
|