#include <util/translation.h>
#include <functional>
#include <optional>
#include <string>
#include <vector>
Go to the source code of this file.
|
| using | common::SettingsAbortFn = std::function< bool(const bilingual_str &message, const std::vector< std::string > &details)> |
| | Callback function to let the user decide whether to abort loading if settings.json file exists and can't be parsed, or to ignore the error and overwrite the file. More...
|
| |
|
| std::optional< ConfigError > | common::InitConfig (ArgsManager &args, SettingsAbortFn settings_abort_fn=nullptr) |
| | Read config files, and create datadir and settings.json if they don't exist. More...
|
| |