Issues #1609 and #561 have not made it into a stable release #2152

This commit is contained in:
Rudolf-Walter Kiss-Szakács
2017-02-23 08:23:41 +02:00
committed by Alex Fabijanic
parent 2632f34e85
commit 275275baa9
14 changed files with 246 additions and 2 deletions

View File

@@ -288,7 +288,25 @@ public:
static std::string home();
/// Returns the user's home directory.
static std::string configHome();
/// Returns the user's config directory.
///
/// On Unix systems, this is the '~/.config/'. On Windows systems,
/// this is '%APPDATA%'.
static std::string dataHome();
/// Returns the user's data directory.
///
/// On Unix systems, this is the '~/.local/share/'. On Windows systems,
/// this is '%APPDATA%'.
static std::string cacheHome();
/// Returns the user's cache directory.
///
/// On Unix systems, this is the '~/.cache/'. On Windows systems,
/// this is '%APPDATA%'.
static std::string temp();
/// Returns the temporary directory.