@@ -27,16 +27,54 @@ extern std::string ApplicationPathSTD;
2727class AppPathManager
2828{
2929public:
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