1/*
2 * Copyright 2010-2011, Oliver Tappe <zooey@hirschkaefer.de>
3 * Distributed under the terms of the MIT License.
4 */
5#ifndef _FORMATTING_CONVENTIONS_PRIVATE_H
6#define _FORMATTING_CONVENTIONS_PRIVATE_H
7
8
9#include <FormattingConventions.h>
10
11
12class BFormattingConventions::Private {
13public:
14	Private(const BFormattingConventions* conventions = NULL)
15		:
16		fFormattingConventions(conventions)
17	{
18	}
19
20	void
21	SetTo(const BFormattingConventions* conventions)
22	{
23		fFormattingConventions = conventions;
24	}
25
26	icu::Locale*
27	ICULocale()
28	{
29		return fFormattingConventions->fICULocale;
30	}
31
32private:
33	const BFormattingConventions* fFormattingConventions;
34};
35
36
37#endif	// _FORMATTING_CONVENTIONS_PRIVATE_H
38