Make OpenSpaceModule a properties::PropertyOwner so that it can own properties

Add properties owned by OpenSpaceModule to the global settings engine (closing #104)
This commit is contained in:
Alexander Bock
2016-07-31 19:26:55 +02:00
parent 393f39de2e
commit 6bd0ef7102
5 changed files with 22 additions and 19 deletions
@@ -29,13 +29,19 @@
#include <openspace/properties/scalarproperty.h>
#include <openspace/properties/optionproperty.h>
#include <vector>
namespace openspace {
class OpenSpaceModule;
class SettingsEngine : public properties::PropertyOwner {
public:
SettingsEngine();
void initialize();
void setModules(std::vector<OpenSpaceModule*> modules);
private:
void initEyeSeparation();