|
void | Init () override |
| Performs platform-specific initialization.
|
|
SystemDialogResult | SystemDialog (SystemDialogType type, const std::string &title, const std::string &message) override |
| Displays a system dialog.
|
|
TEST_VIRTUAL SystemDialogResult | ConsoleSystemDialog (SystemDialogType type, const std::string &title, const std::string &message) |
| Displays a fallback system dialog using console.
|
|
TEST_VIRTUAL TimeUtils::TimeStamp | GetCurrentTimeStamp () |
| Returns a time stamp associated with current time.
|
|
virtual std::string | GetBasePath () |
| Returns the path where the executable binary is located (ends with the path separator)
|
|
virtual std::string | GetDataPath () |
| Returns the data path (containing textures, levels, helpfiles, etc)
|
|
virtual std::string | GetLangPath () |
| Returns the translations path.
|
|
virtual std::string | GetSaveDir () |
| Returns the save dir location.
|
|
virtual std::string | GetEnvVar (const std::string &name) |
| Returns the environment variable with the given name or an empty string if it does not exist.
|
|
virtual bool | OpenPath (const std::string &path) |
| Opens a path with default file browser.
|
|
virtual bool | OpenWebsite (const std::string &url) |
| Opens a website with default web browser.
|
|
void | Usleep (int usecs) |
| Sleep for given amount of microseconds.
|
|
|
static std::unique_ptr< CSystemUtils > | Create () |
| Creates system utils for specific platform.
|
|
◆ Init()
void CSystemUtilsOther::Init |
( |
| ) |
|
|
overridevirtual |
Performs platform-specific initialization.
Implements CSystemUtils.
◆ SystemDialog()
The documentation for this class was generated from the following files: