Remove no-longer used file.
[ardour.git] / libs / ardour / ardour / plugin_insert.h
index 348cda218e98de9b805e69a5a154f03caf365c21..3b76d2588f3b98fcb302e08952e64a996b6acf58 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,13 +52,14 @@ 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, framepos_t start_frame, framepos_t end_frame, nframes_t nframes, bool);
        void silence (nframes_t nframes);
 
        void activate ();
        void deactivate ();
+        void flush ();
 
-       void set_block_size (nframes_t nframes);
+       int set_block_size (nframes_t nframes);
 
        ChanCount output_streams() const;
        ChanCount input_streams() const;
@@ -80,8 +79,8 @@ class PluginInsert : public Processor
                PluginControl (PluginInsert* p, const Evoral::Parameter &param,
                                boost::shared_ptr<AutomationList> list = boost::shared_ptr<AutomationList>());
 
-               void set_value (float val);
-               float get_value (void) const;
+               void set_value (double val);
+               double get_value (void) const;
 
        private:
                PluginInsert* _plugin;
@@ -107,7 +106,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 */
@@ -135,8 +134,7 @@ class PluginInsert : public Processor
        void connect_and_run (BufferSet& bufs, nframes_t nframes, nframes_t offset, bool with_auto, nframes_t now = 0);
 
        void set_automatable ();
-       void auto_state_changed (Evoral::Parameter which);
-       void set_parameter_state (const XMLNode& node, int version);
+       void control_list_automation_state_changed (Evoral::Parameter, AutoState);
        void set_parameter_state_2X (const XMLNode& node, int version);
 
        int32_t count_for_configuration (ChanCount in, ChanCount out) const;