* 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:
Oliver Tappe
2011-08-21 17:18:31 +00:00
parent 7ba0381def
commit e267238ff1
2 changed files with 9 additions and 0 deletions
@@ -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
{