haiku/headers/private/locale/FormattingConventionsPrivate.h

38 lines
691 B
C
Raw Normal View History

/*
* Copyright 2010, Oliver Tappe <zooey@hirschkaefer.de>
* 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;
}
icu_44::Locale*
ICULocale()
{
return fFormattingConventions->fICULocale;
}
private:
const BFormattingConventions* fFormattingConventions;
};
#endif // _FORMATTING_CONVENTIONS_PRIVATE_H