18 #ifndef _ardour_luascripting_h_
19 #define _ardour_luascripting_h_
24 #include <glibmm/threads.h>
125 static std::string
get_factory_bytecode (
const std::string&,
const std::string& ffn =
"factory",
const std::string& fp =
"f");
LuaScriptInfo(ScriptType t, const std::string &n, const std::string &p, const std::string &uid)
static ScriptType str2type(const std::string &str)
static std::string type2str(const ScriptType t)
static LuaScriptInfoPtr scan_script(const std::string &, const std::string &sc="")
static std::string get_factory_bytecode(const std::string &, const std::string &ffn="factory", const std::string &fp="f")
LuaScriptInfoPtr by_name(const std::string &, LuaScriptInfo::ScriptType)
PBD::Signal< void()> scripts_changed
LuaScriptList * _sl_action
static void lua_print(std::string s)
LuaScriptList & scripts(LuaScriptInfo::ScriptType)
static bool try_compile(const std::string &, const LuaScriptParamList &)
LuaScriptList _empty_script_info
static std::string user_script_dir()
LuaScriptList * _sl_session
LuaScriptList * _sl_snippet
Glib::Threads::Mutex _lock
void refresh(bool run_scan=false)
LuaScriptList * _sl_setup
static LuaScriptInfoPtr script_info(const std::string &script)
LuaScriptList * _sl_tracks
static LuaScripting * _instance
static LuaScripting & instance()
GtkImageIconNameData name
std::shared_ptr< LuaScriptInfo > LuaScriptInfoPtr
std::vector< LuaScriptInfoPtr > LuaScriptList
std::shared_ptr< LuaScriptParam > LuaScriptParamPtr
std::vector< LuaScriptParamPtr > LuaScriptParamList
LuaScriptParam(const std::string &n, const std::string &t, const std::string &d, bool o, bool p)