2010-10-20 01:36:44 +04:00
|
|
|
/*
|
2011-08-19 02:13:06 +04:00
|
|
|
* Copyright 2010-2011, Oliver Tappe <zooey@hirschkaefer.de>
|
2010-10-20 01:36:44 +04:00
|
|
|
* 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;
|
|
|
|
}
|
|
|
|
|
2011-08-19 02:13:06 +04:00
|
|
|
icu::Locale*
|
2010-10-20 01:36:44 +04:00
|
|
|
ICULocale()
|
|
|
|
{
|
|
|
|
return fLanguage->fICULocale;
|
|
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
const BLanguage* fLanguage;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // _LANGUAGE_PRIVATE_H
|