45f2f22b52
for message formatting * adjust LocaleKit to use namespace 'icu', as ICU has been configured to no longer use a version specific namespace * adjust LocaleKit to general API changes in ICU 4.8 Note: all software using ICU (like WebPositive) needs to be rebuilt! Note: the ICU package for PPC needs to be updated before it can be used! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42638 a95241bf-73f2-0310-859d-f6bbb57e9c96
38 lines
522 B
C++
38 lines
522 B
C++
/*
|
|
* Copyright 2010-2011, Oliver Tappe <zooey@hirschkaefer.de>
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _LANGUAGE_PRIVATE_H
|
|
#define _LANGUAGE_PRIVATE_H
|
|
|
|
|
|
#include <Language.h>
|
|
|
|
|
|
class BLanguage::Private {
|
|
public:
|
|
Private(const BLanguage* language = NULL)
|
|
:
|
|
fLanguage(language)
|
|
{
|
|
}
|
|
|
|
void
|
|
SetTo(const BLanguage* language)
|
|
{
|
|
fLanguage = language;
|
|
}
|
|
|
|
icu::Locale*
|
|
ICULocale()
|
|
{
|
|
return fLanguage->fICULocale;
|
|
}
|
|
|
|
private:
|
|
const BLanguage* fLanguage;
|
|
};
|
|
|
|
|
|
#endif // _LANGUAGE_PRIVATE_H
|