45f2f22b52
for message formatting * adjust LocaleKit to use namespace 'icu', as ICU has been configured to no longer use a version specific namespace * adjust LocaleKit to general API changes in ICU 4.8 Note: all software using ICU (like WebPositive) needs to be rebuilt! Note: the ICU package for PPC needs to be updated before it can be used! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42638 a95241bf-73f2-0310-859d-f6bbb57e9c96
38 lines
693 B
C++
38 lines
693 B
C++
/*
|
|
* Copyright 2010-2011, 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::Locale*
|
|
ICULocale()
|
|
{
|
|
return fFormattingConventions->fICULocale;
|
|
}
|
|
|
|
private:
|
|
const BFormattingConventions* fFormattingConventions;
|
|
};
|
|
|
|
|
|
#endif // _FORMATTING_CONVENTIONS_PRIVATE_H
|