* add predicate FormattingConventions::AreCountrySpecific()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42666 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -70,6 +70,8 @@ public:
|
||||
const char* LanguageCode() const;
|
||||
const char* CountryCode() const;
|
||||
|
||||
bool AreCountrySpecific() const;
|
||||
|
||||
status_t GetNativeName(BString& name) const;
|
||||
status_t GetName(BString& name,
|
||||
const BLanguage* displayLanguage = NULL
|
||||
|
||||
@@ -345,6 +345,13 @@ BFormattingConventions::CountryCode() const
|
||||
}
|
||||
|
||||
|
||||
bool
|
||||
BFormattingConventions::AreCountrySpecific() const
|
||||
{
|
||||
return CountryCode() != NULL;
|
||||
}
|
||||
|
||||
|
||||
status_t
|
||||
BFormattingConventions::GetNativeName(BString& name) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user