diff options
author | Emmanuel Leblond <emmanuel.leblond@gmail.com> | 2020-05-31 14:19:31 +0200 |
---|---|---|
committer | Emmanuel Leblond <emmanuel.leblond@gmail.com> | 2020-05-31 14:19:31 +0200 |
commit | c6de3872f922256c9149f83067c9bef79566775b (patch) | |
tree | 9271e60c05bd2842abfab0c762ae1c222d7ebe4d /core/os | |
parent | a8787d1ae56006c00b4eecc3506dbc5ec763a8a5 (diff) |
Remove OS.get_system_time_secs/get_system_time_msecs and change OS.get_unix_time return type to double
Diffstat (limited to 'core/os')
-rw-r--r-- | core/os/os.cpp | 10 | ||||
-rw-r--r-- | core/os/os.h | 4 |
2 files changed, 2 insertions, 12 deletions
diff --git a/core/os/os.cpp b/core/os/os.cpp index c29930e485..113be2a0a0 100644 --- a/core/os/os.cpp +++ b/core/os/os.cpp @@ -83,15 +83,7 @@ uint64_t OS::get_splash_tick_msec() const { return _msec_splash; } -uint64_t OS::get_unix_time() const { - return 0; -} - -uint64_t OS::get_system_time_secs() const { - return 0; -} - -uint64_t OS::get_system_time_msecs() const { +double OS::get_unix_time() const { return 0; } diff --git a/core/os/os.h b/core/os/os.h index 9ca034a01c..04e10518dc 100644 --- a/core/os/os.h +++ b/core/os/os.h @@ -209,9 +209,7 @@ public: virtual Time get_time(bool local = false) const = 0; virtual TimeZoneInfo get_time_zone_info() const = 0; virtual String get_iso_date_time(bool local = false) const; - virtual uint64_t get_unix_time() const; - virtual uint64_t get_system_time_secs() const; - virtual uint64_t get_system_time_msecs() const; + virtual double get_unix_time() const; virtual void delay_usec(uint32_t p_usec) const = 0; virtual uint64_t get_ticks_usec() const = 0; |