diff options
author | Robin Gareus <robin@gareus.org> | 2016-10-10 17:03:31 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-10-10 17:34:18 +0200 |
commit | 0517e186c70dac4123a198f5fbfd3ae6039f8c94 (patch) | |
tree | af6516f086ef9075bb89b96f7a9f1421b5da6408 /libs/ardour/ardour/luaproc.h | |
parent | b9791aa63cd3703bdfab3b59badc28f4f593e010 (diff) |
Add Lua-bindings for inter-processor communication
Diffstat (limited to 'libs/ardour/ardour/luaproc.h')
-rw-r--r-- | libs/ardour/ardour/luaproc.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libs/ardour/ardour/luaproc.h b/libs/ardour/ardour/luaproc.h index d0d919b6c3..423a960feb 100644 --- a/libs/ardour/ardour/luaproc.h +++ b/libs/ardour/ardour/luaproc.h @@ -125,6 +125,9 @@ public: bool has_inline_display () { return _lua_has_inline_display; } void setup_lua_inline_gui (LuaState *lua_gui); + DSP::DspShm* instance_shm () { return &lshm; } + LuaTableRef* instance_ref () { return &lref; } + private: void find_presets (); @@ -146,12 +149,12 @@ private: bool _lua_has_inline_display; void queue_draw () { QueueDraw(); /* EMIT SIGNAL */ } - DSP::DspShm* instance_shm () { return &lshm; } DSP::DspShm lshm; - LuaTableRef* instance_ref () { return &lref; } LuaTableRef lref; + boost::weak_ptr<Route> route () const; + void init (); bool load_script (); void lua_print (std::string s); |