Files
scheincommander/projectloader.h
T

21 lines
381 B
C++
Raw Normal View History

2023-02-20 03:00:30 +01:00
#ifndef PROJECTLOADER_H
#define PROJECTLOADER_H
#include <expected>
2023-02-21 02:23:57 +01:00
#include <QJsonDocument>
#include <QString>
2023-02-20 03:00:30 +01:00
#include "lightproject.h"
namespace ProjectLoader {
2023-02-21 02:23:57 +01:00
std::expected<LightProject, QString> loadProject(const QJsonDocument &json);
2023-02-20 03:00:30 +01:00
2023-02-21 02:23:57 +01:00
std::expected<QJsonDocument, QString> saveProject(const LightProject &val);
2023-02-20 03:00:30 +01:00
} // namespace ProjectLoader
2023-02-21 02:23:57 +01:00
2023-02-20 03:00:30 +01:00
#endif // PROJECTLOADER_H