Remove OS.get_system_time_secs/get_system_time_msecs and change OS.get_unix_time return type to double

This commit is contained in:
Emmanuel Leblond
2020-05-31 14:19:31 +02:00
parent a8787d1ae5
commit c6de3872f9
9 changed files with 20 additions and 90 deletions
+1 -9
View File
@@ -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;
}
+1 -3
View File
@@ -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;