Foundations laid for project settings and Insight porject settings

This commit is contained in:
Nav
2022-01-02 20:44:39 +00:00
parent 0faa97fc68
commit 2ecde9d11d
7 changed files with 103 additions and 2 deletions

31
src/ProjectSettings.hpp Normal file
View File

@@ -0,0 +1,31 @@
#pragma once
#include <memory>
#include <map>
#include <string>
#include <QJsonObject>
#include "src/Targets/TargetMemory.hpp"
#include "src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/TargetMemoryInspectionPaneSettings.hpp"
namespace Bloom
{
struct InsightProjectSettings
{
std::map<
Targets::TargetMemoryType,
Widgets::TargetMemoryInspectionPaneSettings
> memoryInspectionPaneSettingsByMemoryType;
InsightProjectSettings() = default;
InsightProjectSettings(const QJsonObject& jsonObject);
};
struct ProjectSettings
{
InsightProjectSettings insightSettings;
ProjectSettings() = default;
explicit ProjectSettings(const QJsonObject& jsonObject);
};
}