haiku/headers/private/libroot/locale/ICUMessagesData.h
Oliver Tappe c894d1868e Bring rewritten multibyte-support into repository.
* update copyrights of locale backend files

Multibyte-support has been rewritten to use ICU as backend.
While this does not necessarily work properly in every aspect
(e.g. the shell still has [different] problems with multibyte-
characters now), it does fix #6263 and #7700.
2011-11-23 19:55:34 +01:00

45 lines
848 B
C++

/*
* Copyright 2010-2011, 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:
ICUMessagesData(pthread_key_t tlsKey);
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