mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
add a lua timer callback signal
This commit is contained in:
parent
299709cbbc
commit
bcee4e1518
4 changed files with 21 additions and 1 deletions
|
|
@ -112,6 +112,8 @@ public:
|
|||
bool lua_slot (const PBD::ID&, std::string&, std::string&, ActionHook&, ARDOUR::LuaScriptParamList&);
|
||||
sigc::signal<void,PBD::ID,std::string,ActionHook> SlotChanged;
|
||||
|
||||
static PBD::Signal0<void> LuaTimerDS; // deci-seconds (Timer every .1s)
|
||||
|
||||
private:
|
||||
LuaInstance();
|
||||
static LuaInstance* _instance;
|
||||
|
|
@ -132,6 +134,9 @@ private:
|
|||
|
||||
LuaCallbackMap _callbacks;
|
||||
PBD::ScopedConnectionList _slotcon;
|
||||
|
||||
void every_point_one_seconds ();
|
||||
sigc::connection point_one_second_connection;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue