25dc253d6a
* Fixed trivial merge conflict in src/system/libroot/posix/locale/nl_langinfo.cpp * Fixed gcc 2 compilation of src/system/glue/init_term_dyn.c. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39571 a95241bf-73f2-0310-859d-f6bbb57e9c96
42 lines
794 B
C++
42 lines
794 B
C++
/*
|
|
* 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 {
|
|
namespace Libroot {
|
|
|
|
|
|
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;
|
|
};
|
|
|
|
|
|
} // namespace Libroot
|
|
} // namespace BPrivate
|
|
|
|
|
|
#endif // _ICU_MESSAGES_DATA_H
|