Common: Add FileSystem::{Get,Set}WorkingDirectory functions

This commit is contained in:
Connor McLaughlin
2020-01-24 14:50:58 +10:00
parent de4e45a433
commit 7afb79aee6
2 changed files with 46 additions and 0 deletions

View File

@ -176,4 +176,10 @@ bool DeleteDirectory(const char* Path, bool Recursive);
/// Returns the path to the current executable.
std::string GetProgramPath();
/// Retrieves the current working directory.
std::string GetWorkingDirectory();
/// Sets the current working directory. Returns true if successful.
bool SetWorkingDirectory(const char* path);
}; // namespace FileSystem