Ticket #5970: locale_header.patch
File locale_header.patch, 1.1 KB (added by , 14 years ago) |
---|
-
headers/os/locale/Country.h
23 23 class BCountry { 24 24 public: 25 25 BCountry(const char* languageCode, const char* countryCode); 26 BCountry(const char* languageAndCountryCode = "en_US ");26 BCountry(const char* languageAndCountryCode = "en_US@UTF-8"); 27 27 virtual ~BCountry(); 28 28 29 29 virtual bool Name(BString&) const; 30 30 const char* Code() const; 31 31 status_t GetIcon(BBitmap* result); 32 virtual bool Encoding(BString&) const; 32 33 33 34 const char* GetString(uint32 id) const; 34 35 … … 48 49 bool TimeFormat(BString&, bool longFormat) const; 49 50 const char* DateSeparator() const; 50 51 const char* TimeSeparator() const; 52 void Set24HourClock(bool clock); 53 bool IsClock24Hour() const; 51 54 52 55 // numbers 53 56 … … 85 88 icu_4_2::DateFormat* fICUShortDateFormatter; 86 89 const char** fStrings; 87 90 icu_4_2::Locale* fICULocale; 91 bool fIsClock24Hour; 88 92 }; 89 93 90 94 #endif /* _COUNTRY_H_ */