introduce the notion that note additions and property changes can cause the removal...
[ardour.git] / libs / ardour / ardour / plugin_insert.h
index 348cda218e98de9b805e69a5a154f03caf365c21..2e24bdd707407b1591df1852db89b684383f00ad 100644 (file)
@@ -25,7 +25,6 @@
 
 #include <boost/weak_ptr.hpp>
 
-#include <sigc++/signal.h>
 #include "ardour/ardour.h"
 #include "ardour/types.h"
 #include "ardour/processor.h"
@@ -44,8 +43,7 @@ class Plugin;
 class PluginInsert : public Processor
 {
   public:
-       PluginInsert (Session&, boost::shared_ptr<Plugin>);
-       PluginInsert (Session&, const XMLNode&);
+       PluginInsert (Session&, boost::shared_ptr<Plugin> = boost::shared_ptr<Plugin>());
        ~PluginInsert ();
 
        static const std::string port_automation_node_name;
@@ -54,7 +52,7 @@ class PluginInsert : public Processor
        XMLNode& get_state(void);
        int set_state(const XMLNode&, int version);
 
-       void run (BufferSet& in, sframes_t start_frame, sframes_t end_frame, nframes_t nframes);
+       void run (BufferSet& in, sframes_t start_frame, sframes_t end_frame, nframes_t nframes, bool);
        void silence (nframes_t nframes);
 
        void activate ();
@@ -107,7 +105,7 @@ class PluginInsert : public Processor
 
        void collect_signal_for_analysis(nframes_t nframes);
 
-       sigc::signal<void, BufferSet*, BufferSet*> AnalysisDataGathered;
+       PBD::Signal2<void,BufferSet*, BufferSet*> AnalysisDataGathered;
 
   private:
        /* disallow copy construction */