BCountry: add SetTo and InitCheck.

Change-Id: I5fbc2a1c0e735d6edeb23672017bb64d1b3f4390
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1872
Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
Adrien Destugues
2019-12-02 12:32:15 +00:00
committed by Adrien Destugues
parent b4c187b004
commit 70cdd7d4f5
3 changed files with 83 additions and 8 deletions
+4 -1
View File
@@ -1,5 +1,5 @@
/*
* Copyright 2003-2011, Haiku, Inc.
* Copyright 2003-2019, Haiku, Inc.
* Distributed under the terms of the MIT Licence.
*/
#ifndef _COUNTRY_H_
@@ -32,6 +32,9 @@ public:
BCountry& operator=(const BCountry& other);
~BCountry();
status_t SetTo(const char* countryCode);
status_t InitCheck() const;
status_t GetNativeName(BString& name) const;
status_t GetName(BString& name,
const BLanguage* displayLanguage = NULL