![]() |
RigsofRods
2023.09
Soft-body Physics Simulation
|
#include "PlatformUtils.h"#include "Application.h"#include <sys/types.h>#include <sys/stat.h>#include <unistd.h>#include <OgrePlatform.h>#include <OgreFileSystem.h>#include <string>Go to the source code of this file.
Namespaces | |
| RoR | |
Functions | |
| bool | RoR::FileExists (const char *path) |
| Path must be UTF-8 encoded. More... | |
| bool | RoR::FolderExists (const char *path) |
| Path must be UTF-8 encoded. More... | |
| void | RoR::CreateFolder (const char *path) |
| Path must be UTF-8 encoded. More... | |
| std::string | RoR::GetUserHomeDirectory () |
| Returns UTF-8 path or empty string on error. More... | |
| std::string | RoR::GetExecutablePath () |
| Returns UTF-8 path or empty string on error. More... | |
| void | RoR::OpenUrlInDefaultBrowser (std::string const &url) |
| std::string | RoR::GetParentDirectory (const char *path) |
| Returns UTF-8 path without trailing slash. More... | |
| std::time_t | RoR::GetFileLastModifiedTime (std::string const &path) |
Variables | |
| char | RoR::PATH_SLASH = '/' |
Definition in file PlatformUtils.cpp.
1.8.17