Setup app (#541)
- Implement Setup app for device's first boot - Implement device simple name and vendor name variables - Remove region setting (locale setting is already available)
This commit is contained in:
committed by
GitHub
parent
d3439f6f45
commit
2f5e183f18
@@ -8,7 +8,6 @@ struct SystemSettings {
|
||||
Language language;
|
||||
bool timeFormat24h;
|
||||
std::string dateFormat; // MM/DD/YYYY, DD/MM/YYYY, YYYY-MM-DD, YYYY/MM/DD
|
||||
std::string region; // (US, EU, JP, etc.)
|
||||
};
|
||||
|
||||
bool loadSystemSettings(SystemSettings& properties);
|
||||
|
||||
@@ -16,6 +16,9 @@ void setTimeZone(const std::string& name, const std::string& code);
|
||||
*/
|
||||
std::string getTimeZoneName();
|
||||
|
||||
/** @return true when a timezone has been explicitly set (as opposed to the default) */
|
||||
bool hasTimeZone();
|
||||
|
||||
/**
|
||||
* Get the code of the timezone (see timezones.csv)
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user