![]() |
KiCad PCB EDA Suite
|
Go to the source code of this file.
Classes | |
class | JSON_SETTINGS |
Enumerations | |
enum | SETTINGS_LOC { SETTINGS_LOC::USER, SETTINGS_LOC::PROJECT, SETTINGS_LOC::COLORS, SETTINGS_LOC::NESTED, SETTINGS_LOC::NONE } |
Functions | |
void | to_json (nlohmann::json &aJson, const wxString &aString) |
void | from_json (const nlohmann::json &aJson, wxString &aString) |
Variables | |
const wxChar *const | traceSettings |
Flag to enable debug output of settings operations and management. More... | |
|
strong |
Enumerator | |
---|---|
USER | The main config directory (e.g. ~/.config/kicad/) |
PROJECT | The settings directory inside a project folder. |
COLORS | The color scheme directory (e.g. ~/.config/kicad/colors/) |
NESTED | Not stored in a file, but inside another JSON_SETTINGS. |
NONE | No directory prepended, full path in filename (used for PROJECT_FILE) |
Definition at line 44 of file json_settings.h.
void from_json | ( | const nlohmann::json & | aJson, |
wxString & | aString | ||
) |
Definition at line 711 of file json_settings.cpp.
void to_json | ( | nlohmann::json & | aJson, |
const wxString & | aString | ||
) |
Definition at line 705 of file json_settings.cpp.