Get settings file path, or return false if read-write settings were disabled with -nosettings.
Declared in <common/args.h>
[[requires_capability(0x7f2e381aeda8)]]
bool
GetSettingsPath(
fs::path* filepath = nullptr,
bool temp = false,
bool backup = false) const;
true if read-write settings are enabled.
| Name | Description |
|---|---|
| filepath | If non-null, set to the resolved settings file path. |
| temp | Resolve the path of the temporary settings file. |
| backup | Resolve the path of the backup settings file. |