13
0

SystemExec Lua bindings (vfork, fire+forget)

This commit is contained in:
Robin Gareus 2017-08-08 23:27:47 +02:00
parent 7c6800fb88
commit 0c4e0503b4
2 changed files with 10 additions and 1 deletions

View File

@ -27,6 +27,7 @@
#include "ardour/plugin_manager.h"
#include "ardour/route.h"
#include "ardour/session.h"
#include "ardour/system_exec.h"
#include "LuaBridge/LuaBridge.h"
@ -870,7 +871,14 @@ LuaInstance::register_classes (lua_State* L)
.addConst ("Add", Selection::Operation(Selection::Add))
.endNamespace ()
.endNamespace (); // end ArdourUI
.endNamespace () // end ArdourUI
.beginNamespace ("ARDOUR")
.beginClass <ARDOUR::SystemExec> ("SystemExec")
.addConstructor <void (*) (std::string, std::string)> ()
.addFunction ("start", &ARDOUR::SystemExec::start)
.endClass ()
.endNamespace (); // end ARDOUR
// Editing Symbols

View File

@ -196,6 +196,7 @@ CLASSKEYS(ARDOUR::PresentationInfo);
CLASSKEYS(ARDOUR::Session);
CLASSKEYS(ARDOUR::SessionConfiguration);
CLASSKEYS(ARDOUR::Source);
CLASSKEYS(ARDOUR::SystemExec);
CLASSKEYS(ARDOUR::VCA);
CLASSKEYS(ARDOUR::VCAManager);