2010-10-24 16:57:55 +04:00
|
|
|
/*
|
2011-08-19 02:13:06 +04:00
|
|
|
* Copyright 2010-2011, Oliver Tappe <zooey@hirschkaefer.de>
|
2010-10-24 16:57:55 +04:00
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef _FORMATTING_CONVENTIONS_PRIVATE_H
|
|
|
|
#define _FORMATTING_CONVENTIONS_PRIVATE_H
|
|
|
|
|
|
|
|
|
|
|
|
#include <FormattingConventions.h>
|
|
|
|
|
|
|
|
|
|
|
|
class BFormattingConventions::Private {
|
|
|
|
public:
|
|
|
|
Private(const BFormattingConventions* conventions = NULL)
|
|
|
|
:
|
|
|
|
fFormattingConventions(conventions)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
SetTo(const BFormattingConventions* conventions)
|
|
|
|
{
|
|
|
|
fFormattingConventions = conventions;
|
|
|
|
}
|
|
|
|
|
2011-08-19 02:13:06 +04:00
|
|
|
icu::Locale*
|
2010-10-24 16:57:55 +04:00
|
|
|
ICULocale()
|
|
|
|
{
|
|
|
|
return fFormattingConventions->fICULocale;
|
|
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
const BFormattingConventions* fFormattingConventions;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // _FORMATTING_CONVENTIONS_PRIVATE_H
|