diff options
author | Robin Gareus <robin@gareus.org> | 2019-12-12 20:34:50 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-12-12 20:53:17 +0100 |
commit | 3208535c20b5ec1fc0ef4c2b65111e5a274d7e0a (patch) | |
tree | 5559ba464ee9b8d480a83bae35e365ed285c30e0 /libs/ardour/ardour/luascripting.h | |
parent | bf8c25677172c0e425bfcfae507289054c995ed5 (diff) |
Add method to look up Lua script by name
Diffstat (limited to 'libs/ardour/ardour/luascripting.h')
-rw-r--r-- | libs/ardour/ardour/luascripting.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/ardour/luascripting.h b/libs/ardour/ardour/luascripting.h index 76c49c1788..283c68df8d 100644 --- a/libs/ardour/ardour/luascripting.h +++ b/libs/ardour/ardour/luascripting.h @@ -117,6 +117,8 @@ public: void refresh (bool run_scan = false); PBD::Signal0<void> scripts_changed; + LuaScriptInfoPtr by_name (const std::string&, LuaScriptInfo::ScriptType); + static LuaScriptInfoPtr script_info (const std::string &script); static bool try_compile (const std::string&, const LuaScriptParamList&); static std::string get_factory_bytecode (const std::string&, const std::string& ffn = "factory", const std::string& fp = "f"); |