Add get_distribution_name() and get_version() to OS
supports: LinuxBSD, Windows, macOS, iOS, Android, UWP Co-authored-by: bruvzg
This commit is contained in:
parent
d1b2a191ab
commit
ac9786c525
18 changed files with 218 additions and 0 deletions
|
|
@ -194,6 +194,14 @@ String OS_Unix::get_name() const {
|
|||
return "Unix";
|
||||
}
|
||||
|
||||
String OS_Unix::get_distribution_name() const {
|
||||
return "";
|
||||
}
|
||||
|
||||
String OS_Unix::get_version() const {
|
||||
return "";
|
||||
}
|
||||
|
||||
double OS_Unix::get_unix_time() const {
|
||||
struct timeval tv_now;
|
||||
gettimeofday(&tv_now, nullptr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue