History

Moving the REcordingScriptingInterface into the script-engine and wiiring up in the assignment-client

Sam Gateau committed 10 years ago

Commit 5b929291 parent 85530335 files · +42 −16Browse files

Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 5 files). Show all

Unified · Split

libraries/script-engine/src/ScriptEngine.cpp+4−0
@@ -46,6 +46,7 @@ · 45 unmodified lines
4646 #include "WebSocketClass.h"
4747
4848 #include "SceneScriptingInterface.h"
49+#include "RecordingScriptingInterface.h"
4950
5051 #include "MIDIEvent.h"
5152
@@ -375,6 +376,9 @@ void ScriptEngine::init() { · 323 unmodified lines
375376 auto scriptingInterface = DependencyManager::get<controller::ScriptingInterface>();
376377 registerGlobalObject("Controller", scriptingInterface.data());
377378 UserInputMapper::registerControllerTypes(this);
379+
380+ auto recordingInterface = DependencyManager::get<RecordingScriptingInterface>();
381+ registerGlobalObject("Recording", recordingInterface.data());
378382 }
379383
380384 void ScriptEngine::registerValue(const QString& valueName, QScriptValue value) {