mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 16:46:35 +01:00
SystemExec Lua bindings (vfork, fire+forget)
This commit is contained in:
parent
7c6800fb88
commit
0c4e0503b4
2 changed files with 10 additions and 1 deletions
|
|
@ -27,6 +27,7 @@
|
||||||
#include "ardour/plugin_manager.h"
|
#include "ardour/plugin_manager.h"
|
||||||
#include "ardour/route.h"
|
#include "ardour/route.h"
|
||||||
#include "ardour/session.h"
|
#include "ardour/session.h"
|
||||||
|
#include "ardour/system_exec.h"
|
||||||
|
|
||||||
#include "LuaBridge/LuaBridge.h"
|
#include "LuaBridge/LuaBridge.h"
|
||||||
|
|
||||||
|
|
@ -870,7 +871,14 @@ LuaInstance::register_classes (lua_State* L)
|
||||||
.addConst ("Add", Selection::Operation(Selection::Add))
|
.addConst ("Add", Selection::Operation(Selection::Add))
|
||||||
.endNamespace ()
|
.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
|
// Editing Symbols
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -196,6 +196,7 @@ CLASSKEYS(ARDOUR::PresentationInfo);
|
||||||
CLASSKEYS(ARDOUR::Session);
|
CLASSKEYS(ARDOUR::Session);
|
||||||
CLASSKEYS(ARDOUR::SessionConfiguration);
|
CLASSKEYS(ARDOUR::SessionConfiguration);
|
||||||
CLASSKEYS(ARDOUR::Source);
|
CLASSKEYS(ARDOUR::Source);
|
||||||
|
CLASSKEYS(ARDOUR::SystemExec);
|
||||||
CLASSKEYS(ARDOUR::VCA);
|
CLASSKEYS(ARDOUR::VCA);
|
||||||
CLASSKEYS(ARDOUR::VCAManager);
|
CLASSKEYS(ARDOUR::VCAManager);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue