Remove no-longer used file.
[ardour.git] / libs / ardour / ardour / plugin_insert.h
index 82111a5a4df180e661989d9e2e116b27793f87d4..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,23 +43,23 @@ class Plugin;
 class PluginInsert : public Processor
 {
   public:
-       PluginInsert (Session&, boost::shared_ptr<Plugin>);
-       PluginInsert (Session&, const XMLNode&, int version = 3000);
+       PluginInsert (Session&, boost::shared_ptr<Plugin> = boost::shared_ptr<Plugin>());
        ~PluginInsert ();
 
        static const std::string port_automation_node_name;
 
        XMLNode& state(bool);
        XMLNode& get_state(void);
-       int set_state(const XMLNode&, int version = 3000);
+       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 */
@@ -134,9 +133,9 @@ class PluginInsert : public Processor
        void automation_run (BufferSet& bufs, nframes_t nframes);
        void connect_and_run (BufferSet& bufs, nframes_t nframes, nframes_t offset, bool with_auto, nframes_t now = 0);
 
-       void init ();
        void set_automatable ();
-       void auto_state_changed (Evoral::Parameter which);
+       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;