Common directory functions.
More...
#include <directory.hpp>
Common directory functions.
See the directory.h
◆ getDataPath()
Returns application data directory. (MT-Safe)
See the getDataDirectory().
- Parameters
-
isShared | is data directory shared between multiple users |
- Returns
- Data directory path on success.
- Exceptions
-
Error | if failed to get data directory. |
◆ getAppDataPath()
Returns application data directory + name. (MT-Safe)
See the getAppDataDirectory().
- Parameters
-
appName | target application name string |
isShared | is data directory shared between multiple users |
- Returns
- Data directory path on success.
- Exceptions
-
Error | if failed to get app data directory. |
◆ getResourcesPath()
Returns bundled resources directory. (MT-Safe)
See the getResourcesDirectory().
- Returns
- Resources directory path on success.
- Exceptions
-
Error | if failed to get resources directory. |