30 long long counterValue;
41 virtual void Init() OVERRIDE;
50 virtual void Usleep(
int usec) OVERRIDE;
53 static std::string
UTF8_Encode(
const std::wstring &wstr);
54 static std::wstring
UTF8_Decode(
const std::string &str);
57 long long m_counterFrequency;
virtual SystemDialogResult SystemDialog(SystemDialogType type, const std::string &title, const std::string &message) OVERRIDE
Displays a system dialog.
Definition: system_windows.cpp:36
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
static std::string UTF8_Encode(const std::wstring &wstr)
Converts a wide Unicode string to an UTF8 string.
Definition: system_windows.cpp:93
virtual std::string GetSaveDir() OVERRIDE
Returns the save dir location.
Definition: system_windows.cpp:111
Definition: system_windows.h:38
System functions: time stamps, info dialogs, etc.
SystemDialogResult
Result of system dialog.
Definition: system.h:55
virtual long long TimeStampExactDiff(SystemTimeStamp *before, SystemTimeStamp *after) OVERRIDE
Returns the exact (in nanosecond units) difference between two timestamps.
Definition: system_windows.cpp:86
Platform-specific utils.
Definition: system.h:91
Definition: system_linux.h:30
virtual void GetCurrentTimeStamp(SystemTimeStamp *stamp) OVERRIDE
Returns a time stamp associated with current time.
Definition: system_windows.cpp:79
virtual void Usleep(int usec) OVERRIDE
Sleep for given amount of microseconds.
Definition: system_windows.cpp:129
virtual void Init() OVERRIDE
Performs platform-specific initialization.
Definition: system_windows.cpp:27