status-desktop/libs/StatusGoQt/src/StatusGo/Settings/SettingsDto.h

26 lines
427 B
C
Raw Normal View History

#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-10-19 13:41:53 +00:00
struct SettingsDto
{
QString address;
QString displayName;
QString preferredName;
QString keyUid;
QString publicKey;
};
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