functioning invert (polarity) button; menu item removed and track name button no...
[ardour.git] / gtk2_ardour / route_processor_selection.h
index 78f6ddca4886d09a5fd5cdfd28214021e786c945..df43019e91e75d4b0206e6801b7e2deea275ceb3 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2004 Paul Davis 
+    Copyright (C) 2004 Paul Davis
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
 #define __ardour_gtk_route_processor_selection_h__
 
 #include <vector>
-#include <sigc++/signal.h>
+#include "pbd/signals.h"
 
 #include "processor_selection.h"
 #include "route_selection.h"
 
-class RouteRedirectSelection : public sigc::trackable 
+class RouteRedirectSelection : public PBD::ScopedConnectionList, public sigc::trackable
 {
   public:
        ProcessorSelection processors;
@@ -42,11 +42,8 @@ class RouteRedirectSelection : public sigc::trackable
        void clear ();
        bool empty();
 
-       void set (boost::shared_ptr<ARDOUR::Processor>);
-       void set (const std::vector<boost::shared_ptr<ARDOUR::Processor> >&);
-       void add (boost::shared_ptr<ARDOUR::Processor>);
-       void add (const std::vector<boost::shared_ptr<ARDOUR::Processor> >&);
-       void remove (boost::shared_ptr<ARDOUR::Processor>);
+       void set (XMLNode* node);
+       void add (XMLNode* node);
 
        void set (boost::shared_ptr<ARDOUR::Route>);
        void add (boost::shared_ptr<ARDOUR::Route>);
@@ -56,6 +53,10 @@ class RouteRedirectSelection : public sigc::trackable
        void clear_routes ();
 
        bool selected (boost::shared_ptr<ARDOUR::Route>);
+
+  private:
+       void removed (boost::weak_ptr<ARDOUR::Route>);
+
 };
 
 bool operator==(const RouteRedirectSelection& a, const RouteRedirectSelection& b);