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

@@ -41,6 +41,25 @@ namespace Bloom
static std::string projectConfigPath() {
return std::filesystem::current_path().string() + "/bloom.json";
}
/**
* Returns the path to the current project's settings directory.
*
* @return
*/
static std::string projectSettingsDirPath() {
return std::filesystem::current_path().string() + "/.bloom";
}
/**
* Returns the path to the current project's settings file.
*
* @return
*/
static std::string projectSettingsPath() {
return std::filesystem::current_path().string() + "/.bloom/settings.json";
}
/**
* Returns the path to Bloom's compiled resources.
*