Merge edit and mix groups to just being route groups. Add properties to route groups...
[ardour.git] / gtk2_ardour / track_selection.cc
1 #include <algorithm>
2 #include "track_selection.h"
3
4 using namespace std;
5
6 list<TimeAxisView*>
7 TrackSelection::add (list<TimeAxisView*> const & t)
8 {
9         list<TimeAxisView*> added;
10
11         for (TrackSelection::const_iterator i = t.begin(); i != t.end(); ++i) {
12                 if (find (begin(), end(), *i) == end()) {
13                         added.push_back (*i);
14                         push_back (*i);
15                 }
16         }
17
18         return added;
19 }