![]() |
Gamedev Framework (gf) 1.2.0
A C++17 framework for 2D games
|
Special paths. More...
#include <gf/Paths.h>
Public Member Functions | |
| Paths ()=delete | |
| Deleted constructor. More... | |
Static Public Member Functions | |
| static Path | getPrefPath (const std::string &org, const std::string &app) |
| Get the preferences path. More... | |
| static Path | getBasePath () |
| Get the base path. More... | |
| static Path | getCurrentPath () |
| Get the current path. More... | |
| static Path | getTemporaryDirectory () |
| Get a temporary directory. More... | |
Special paths.
|
delete |
Deleted constructor.
|
static |
Get the base path.
The base path is the path where the application is run.
|
static |
Get the current path.
|
static |
Get the preferences path.
The preferences path is where an application can save data. It depends on the user and the application.
| org | The name of your organization |
| app | The name of your application |
|
static |
Get a temporary directory.