Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 5 files). Show all
Unified · Split
| @@ -46,6 +46,7 @@ · 45 unmodified lines | ||
| 46 | 46 | #include "WebSocketClass.h" |
| 47 | 47 | |
| 48 | 48 | #include "SceneScriptingInterface.h" |
| 49 | +#include "RecordingScriptingInterface.h" | |
| 49 | 50 | |
| 50 | 51 | #include "MIDIEvent.h" |
| 51 | 52 | |
| @@ -375,6 +376,9 @@ void ScriptEngine::init() { · 323 unmodified lines | ||
| 375 | 376 | auto scriptingInterface = DependencyManager::get<controller::ScriptingInterface>(); |
| 376 | 377 | registerGlobalObject("Controller", scriptingInterface.data()); |
| 377 | 378 | UserInputMapper::registerControllerTypes(this); |
| 379 | + | |
| 380 | + auto recordingInterface = DependencyManager::get<RecordingScriptingInterface>(); | |
| 381 | + registerGlobalObject("Recording", recordingInterface.data()); | |
| 378 | 382 | } |
| 379 | 383 | |
| 380 | 384 | void ScriptEngine::registerValue(const QString& valueName, QScriptValue value) { |