Profile file handler in progress

This commit is contained in:
GPayne
2020-03-27 15:10:46 -06:00
parent 6253a5cf2e
commit 207c7d5657
12 changed files with 674 additions and 10 deletions

View File

@@ -91,6 +91,7 @@ struct Configuration {
glm::dvec3 screenSpaceRotation = glm::dvec3(0.0);
glm::dvec3 masterRotation = glm::dvec3(0.0);
bool isConsoleDisabled = false;
bool usingProfile = false;
std::map<std::string, ghoul::Dictionary> moduleConfigurations;

View File

@@ -65,6 +65,7 @@ namespace scripting {
class ScriptEngine;
class ScriptScheduler;
} // namespace scripting
class Profile;
namespace global {
@@ -100,6 +101,7 @@ properties::PropertyOwner& gRootPropertyOwner();
properties::PropertyOwner& gScreenSpaceRootPropertyOwner();
scripting::ScriptEngine& gScriptEngine();
scripting::ScriptScheduler& gScriptScheduler();
Profile& gProfile();
} // namespace detail
@@ -138,6 +140,7 @@ static properties::PropertyOwner& screenSpaceRootPropertyOwner =
detail::gScreenSpaceRootPropertyOwner();
static scripting::ScriptEngine& scriptEngine = detail::gScriptEngine();
static scripting::ScriptScheduler& scriptScheduler = detail::gScriptScheduler();
static Profile& profile = detail::gProfile();
void initialize();
void initializeGL();