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