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

View File

@@ -16,6 +16,7 @@
#include "src/Logger/Logger.hpp"
#include "src/ProjectConfig.hpp"
#include "src/ProjectSettings.hpp"
#include "src/VersionNumber.hpp"
#include "src/EventManager/EventListener.hpp"
@@ -147,6 +148,11 @@ namespace Bloom
std::optional<DebugServerConfig> debugServerConfig;
std::optional<InsightConfig> insightConfig;
/**
* Settings extracted from the settings file in the user's project root.
*/
std::optional<ProjectSettings> projectSettings;
/**
* The project environment selected by the user.
*
@@ -201,6 +207,12 @@ namespace Bloom
*/
void shutdown();
/**
* Extracts or generates project settings.
*
*/
void loadProjectSettings();
/**
* Extracts the project config from the user's JSON config file and populates the following members:
* - this->projectConfig