Foundations laid for project settings and Insight porject settings
This commit is contained in:
31
src/ProjectSettings.hpp
Normal file
31
src/ProjectSettings.hpp
Normal 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);
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user