33 timespec clockTime = {0, 0};
48 void Usleep(
int usec)
override;
51 bool m_zenityAvailable =
false;
void Init() override
Performs platform-specific initialization.
Definition: system_linux.cpp:29
long long TimeStampExactDiff(SystemTimeStamp *before, SystemTimeStamp *after) override
Returns the exact (in nanosecond units) difference between two timestamps.
Definition: system_linux.cpp:91
SystemDialogType
Type of system dialog.
Definition: system.h:35
void GetCurrentTimeStamp(SystemTimeStamp *stamp) override
Returns a time stamp associated with current time.
Definition: system_linux.cpp:86
void Usleep(int usec) override
Sleep for given amount of microseconds.
Definition: system_linux.cpp:124
System functions: time stamps, info dialogs, etc.
SystemDialogResult
Result of system dialog.
Definition: system.h:55
Platform-specific utils.
Definition: system.h:91
Definition: system_linux.h:31
SystemDialogResult SystemDialog(SystemDialogType type, const std::string &title, const std::string &message) override
Displays a system dialog.
Definition: system_linux.cpp:39
Definition: system_linux.h:36
std::string GetSaveDir() override
Returns the save dir location.
Definition: system_linux.cpp:97