30 long long counterValue = 0;
45 void Usleep(
int usec)
override;
48 static std::string
UTF8_Encode(
const std::wstring &wstr);
49 static std::wstring
UTF8_Decode(
const std::string &str);
52 long long m_counterFrequency = 0;
static std::wstring UTF8_Decode(const std::string &str)
Converts an UTF8 string to a wide Unicode String.
Definition: system_windows.cpp:102
SystemDialogType
Type of system dialog.
Definition: system.h:35
SystemDialogResult SystemDialog(SystemDialogType type, const std::string &title, const std::string &message) override
Displays a system dialog.
Definition: system_windows.cpp:36
static std::string UTF8_Encode(const std::wstring &wstr)
Converts a wide Unicode string to an UTF8 string.
Definition: system_windows.cpp:93
Definition: system_windows.h:33
long long TimeStampExactDiff(SystemTimeStamp *before, SystemTimeStamp *after) override
Returns the exact (in nanosecond units) difference between two timestamps.
Definition: system_windows.cpp:86
std::string GetSaveDir() override
Returns the save dir location.
Definition: system_windows.cpp:111
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:30
void Usleep(int usec) override
Sleep for given amount of microseconds.
Definition: system_windows.cpp:129
void GetCurrentTimeStamp(SystemTimeStamp *stamp) override
Returns a time stamp associated with current time.
Definition: system_windows.cpp:79
void Init() override
Performs platform-specific initialization.
Definition: system_windows.cpp:27