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:
+1
-9
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user