Add wxStandardPaths::Dir_Config

This allows using GetUserDir(Dir_Config) to retrieve XDG-compliant
location of the configuration files, independently of the file layout
used by the global wxStandardPaths object.

Recommend using this directory instead of GetUserDataDir() for multiple
configuration files under Unix.
This commit is contained in:
Vadim Zeitlin 2024-01-02 02:07:25 +01:00
parent 72c164f28c
commit d56cf71466
5 changed files with 30 additions and 4 deletions

View file

@ -51,6 +51,7 @@ public:
enum Dir
{
Dir_Cache,
Dir_Config,
Dir_Documents,
Dir_Desktop,
Dir_Downloads,