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:
committed by
Adrien Destugues
parent
b4c187b004
commit
70cdd7d4f5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user