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 12 class BFormattingConventions::Private { 13 public: 14 Private(const BFormattingConventions* conventions = NULL) 15 : fFormattingConventions(conventions)16 fFormattingConventions(conventions) 17 { 18 } 19 20 void SetTo(const BFormattingConventions * conventions)21 SetTo(const BFormattingConventions* conventions) 22 { 23 fFormattingConventions = conventions; 24 } 25 26 icu::Locale* ICULocale()27 ICULocale() 28 { 29 return fFormattingConventions->fICULocale; 30 } 31 32 private: 33 const BFormattingConventions* fFormattingConventions; 34 }; 35 36 37 #endif // _FORMATTING_CONVENTIONS_PRIVATE_H 38