16fd2f4a0SOliver Tappe/*
245f2f22bSOliver Tappe * Copyright 2010-2011, Oliver Tappe <zooey@hirschkaefer.de>
36fd2f4a0SOliver Tappe * Distributed under the terms of the MIT License.
46fd2f4a0SOliver Tappe */
56fd2f4a0SOliver Tappe#ifndef _FORMATTING_CONVENTIONS_PRIVATE_H
66fd2f4a0SOliver Tappe#define _FORMATTING_CONVENTIONS_PRIVATE_H
76fd2f4a0SOliver Tappe
86fd2f4a0SOliver Tappe
96fd2f4a0SOliver Tappe#include <FormattingConventions.h>
106fd2f4a0SOliver Tappe
116fd2f4a0SOliver Tappe
126fd2f4a0SOliver Tappeclass BFormattingConventions::Private {
136fd2f4a0SOliver Tappepublic:
146fd2f4a0SOliver Tappe	Private(const BFormattingConventions* conventions = NULL)
156fd2f4a0SOliver Tappe		:
166fd2f4a0SOliver Tappe		fFormattingConventions(conventions)
176fd2f4a0SOliver Tappe	{
186fd2f4a0SOliver Tappe	}
196fd2f4a0SOliver Tappe
206fd2f4a0SOliver Tappe	void
216fd2f4a0SOliver Tappe	SetTo(const BFormattingConventions* conventions)
226fd2f4a0SOliver Tappe	{
236fd2f4a0SOliver Tappe		fFormattingConventions = conventions;
246fd2f4a0SOliver Tappe	}
256fd2f4a0SOliver Tappe
2645f2f22bSOliver Tappe	icu::Locale*
276fd2f4a0SOliver Tappe	ICULocale()
286fd2f4a0SOliver Tappe	{
296fd2f4a0SOliver Tappe		return fFormattingConventions->fICULocale;
306fd2f4a0SOliver Tappe	}
316fd2f4a0SOliver Tappe
326fd2f4a0SOliver Tappeprivate:
336fd2f4a0SOliver Tappe	const BFormattingConventions* fFormattingConventions;
346fd2f4a0SOliver Tappe};
356fd2f4a0SOliver Tappe
366fd2f4a0SOliver Tappe
376fd2f4a0SOliver Tappe#endif	// _FORMATTING_CONVENTIONS_PRIVATE_H
38