Only show user-presets in favorite sidebar
[ardour.git] / libs / ardour / ardour / unknown_processor.h
index 50234e8294a24b770e2e3535a040748cdddacac2..c329da201e5b2a7f2b7cbcf2759b04dc363d668e 100644 (file)
@@ -43,20 +43,19 @@ class LIBARDOUR_API UnknownProcessor : public Processor
 {
 public:
        UnknownProcessor (Session &, XMLNode const &);
+       virtual ~UnknownProcessor ();
 
-       /* These processors are hidden from view */
-       bool display_to_user () const {
-               return false;
-       }
+       bool can_support_io_configuration (const ChanCount &, ChanCount &);
+       void run (BufferSet& /*bufs*/, samplepos_t /*start_sample*/, samplepos_t /*end_sample*/, double /*speed*/, pframes_t /*nframes*/, bool /*result_required*/);
 
-       bool can_support_io_configuration (const ChanCount &, ChanCount &) {
-               return false;
-       }
-
-       XMLNode & state (bool);
+protected:
+       XMLNode& state ();
 
 private:
        XMLNode _state;
+       bool      have_ioconfig;
+       ChanCount *saved_input;
+       ChanCount *saved_output;
 };
 
 }