Add mono switch to mixer strips (mantis 1068)
[ardour.git] / gtk2_ardour / track_selection.h
index 0c92ea40c298c448bce4e46c7f841c25b5fbe3e8..38032d6de304aa4a5e039fb8943b4a6802d94b65 100644 (file)
@@ -1,3 +1,22 @@
+/*
+    Copyright (C) 2000-2007 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
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+*/
+
 #ifndef __ardour_gtk_track_selection_h__
 #define __ardour_gtk_track_selection_h__
 
@@ -5,6 +24,14 @@
 
 class TimeAxisView;
 
-struct TrackSelection : public list<TimeAxisView*> {};
+class TrackSelection : public std::list<TimeAxisView*>
+{
+public:
+       TrackSelection () {}
+
+       TrackSelection (std::list<TimeAxisView*> const &);
+       std::list<TimeAxisView*> add (std::list<TimeAxisView*> const &);
+       bool contains (TimeAxisView const *) const;
+};
 
 #endif /* __ardour_gtk_track_selection_h__ */