Only show user-presets in favorite sidebar
[ardour.git] / gtk2_ardour / luainstance.h
index 8f5fb0ba874a9a0975579be84f4146e91f21c963..9915d6b3067e4a15f938fae93b81e7d2038e77da 100644 (file)
@@ -126,6 +126,7 @@ 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> LuaTimerS; // deci-seconds (Timer every 1s)
        static PBD::Signal0<void> LuaTimerDS; // deci-seconds (Timer every .1s)
        static PBD::Signal0<void> SetSession; // emitted when a session is loaded
 
@@ -152,6 +153,9 @@ private:
        LuaCallbackMap _callbacks;
        PBD::ScopedConnectionList _slotcon;
 
+       void every_second ();
+       sigc::connection second_connection;
+
        void every_point_one_seconds ();
        sigc::connection point_one_second_connection;
 };