2022-08-03 12:43:33 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <nlohmann/json.hpp>
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
#include <QColor>
|
|
|
|
|
|
|
|
using json = nlohmann::json;
|
|
|
|
|
2022-10-19 13:41:53 +00:00
|
|
|
namespace Status::StatusGo::Settings
|
|
|
|
{
|
2022-08-03 12:43:33 +00:00
|
|
|
|
2022-10-19 13:41:53 +00:00
|
|
|
struct SettingsDto
|
|
|
|
{
|
|
|
|
QString address;
|
|
|
|
QString displayName;
|
|
|
|
QString preferredName;
|
|
|
|
QString keyUid;
|
|
|
|
QString publicKey;
|
|
|
|
};
|
2022-08-03 12:43:33 +00:00
|
|
|
|
2022-10-19 13:41:53 +00:00
|
|
|
void to_json(json& j, const SettingsDto& d);
|
|
|
|
void from_json(const json& j, SettingsDto& d);
|
|
|
|
} // namespace Status::StatusGo::Settings
|