Skip to content

Commit 3e00f51

Browse files
committed
Engine: app_path.h: Added some docs to functions
1 parent 52eae80 commit 3e00f51

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

Engine/common_features/app_path/app_path.h

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,54 @@ extern std::string ApplicationPathSTD;
2727
class AppPathManager
2828
{
2929
public:
30+
31+
/*!
32+
* \brief Initialise all paths
33+
*/
3034
static void initAppPath();
35+
36+
/*!
37+
* \brief Get the path to the game settings file
38+
* \return Path to the game settings file
39+
*/
3140
static std::string settingsFileSTD();
41+
42+
/*!
43+
* \brief Get the path to the writable user directory
44+
* \return Path to ther writable user directory, always ends with a slash
45+
*/
3246
static std::string userAppDirSTD();
47+
48+
/*!
49+
* \brief Get the path to engine languages directory
50+
* \return Path to ther engine languages directory, always ends with a slash
51+
*/
3352
static std::string languagesDir();
53+
54+
/*!
55+
* \brief Get the path to the logs output directory
56+
* \return Path to ther logs output directory, always ends with a slash
57+
*/
3458
static std::string logsDir();
59+
60+
/*!
61+
* \brief Get the path to the screenshots output directory
62+
* \return Path to ther screenshots output directory, always ends with a slash
63+
*/
3564
static std::string screenshotsDir();
65+
66+
/*!
67+
* \brief Get the path to the game saves directory
68+
* \return Path to ther game saves directory, always ends with a slash
69+
*/
3670
static std::string gameSaveRootDir();
71+
3772
static void install();
73+
3874
static bool isPortable();
75+
3976
static bool userDirIsAvailable();
77+
4078
#ifdef __EMSCRIPTEN__
4179
static void syncFs();
4280
#endif

0 commit comments

Comments
 (0)