KiCad PCB EDA Suite
|
#include <core/wx_stl_compat.h>
#include <utility>
#include <wx/string.h>
#include <functional>
#include <optional>
#include <nlohmann/json_fwd.hpp>
Go to the source code of this file.
Classes | |
class | JSON_SETTINGS |
Enumerations | |
enum class | SETTINGS_LOC { USER , PROJECT , COLORS , NESTED , 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 47 of file json_settings.h.
void from_json | ( | const nlohmann::json & | aJson, |
wxString & | aString | ||
) |
Definition at line 859 of file json_settings.cpp.
void to_json | ( | nlohmann::json & | aJson, |
const wxString & | aString | ||
) |
Definition at line 853 of file json_settings.cpp.