|
VGamepad PC
The PC app for the virtual game controller.
|
#include <QApplication>#include <QDir>#include <QFile>#include <QFileInfo>#include <QStandardPaths>Functions | |
| constexpr bool | isPortableMode () |
| Determines if the application should run in portable mode. | |
| QString | getConfigDir () |
| Returns the directory for configuration files (settings.ini). | |
| QString | getDataDir () |
| Returns the directory for application data files (profiles, etc.). | |
|
inline |
Returns the directory for configuration files (settings.ini).
|
inline |
Returns the directory for application data files (profiles, etc.).
|
inlineconstexpr |
Determines if the application should run in portable mode.
Portable mode is determined by the build-time flag PORTABLE_BUILD.
In portable mode, settings and data are stored alongside the executable. In installable mode, standard OS locations are used (~/.config, APPDATA%, etc.).