X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Ftrack_selection.h;h=d39101f981474e680b430d98b7b357863ee5446e;hb=034db5fb1cc4d71bfa0e1c005733115df68fdefd;hp=2a4cc1b2887124848da1e40b5edb13bf3917c7a9;hpb=5b97b137663d0990d1a3ac172f01b200a45e4692;p=ardour.git diff --git a/gtk2_ardour/track_selection.h b/gtk2_ardour/track_selection.h index 2a4cc1b288..d39101f981 100644 --- a/gtk2_ardour/track_selection.h +++ b/gtk2_ardour/track_selection.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2000-2007 Paul Davis + Copyright (C) 2000-2009 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 @@ -20,18 +20,20 @@ #ifndef __ardour_gtk_track_selection_h__ #define __ardour_gtk_track_selection_h__ -#include +#include "track_view_list.h" -class TimeAxisView; +class PublicEditor; -class TrackSelection : public std::list +class TrackSelection : public TrackViewList { public: - TrackSelection () {} - - TrackSelection (std::list const &); - std::list add (std::list const &); - bool contains (TimeAxisView const *) const; + TrackSelection (PublicEditor const * e) : _editor (e) {} + TrackSelection (PublicEditor const *, TrackViewList const &); + + TrackViewList add (TrackViewList const &); + +private: + PublicEditor const * _editor; }; #endif /* __ardour_gtk_track_selection_h__ */