2009-12-13 14:37:55 -05:00
|
|
|
/*
|
|
|
|
Copyright (C) 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
|
|
|
|
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_view_list_h__
|
|
|
|
#define __ardour_gtk_track_view_list_h__
|
|
|
|
|
|
|
|
#include <list>
|
2011-12-10 14:20:15 -05:00
|
|
|
#include <set>
|
2009-12-13 14:37:55 -05:00
|
|
|
|
|
|
|
class TimeAxisView;
|
|
|
|
|
|
|
|
class TrackViewList : public std::list<TimeAxisView*>
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
TrackViewList () {}
|
|
|
|
TrackViewList (std::list<TimeAxisView*> const &);
|
|
|
|
|
2010-09-07 17:26:37 -04:00
|
|
|
virtual ~TrackViewList ();
|
|
|
|
|
2009-12-13 14:37:55 -05:00
|
|
|
virtual TrackViewList add (TrackViewList const &);
|
|
|
|
bool contains (TimeAxisView const *) const;
|
2011-12-10 14:20:15 -05:00
|
|
|
|
|
|
|
TrackViewList filter_to_unique_playlists ();
|
2009-12-13 14:37:55 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
2011-06-01 13:00:29 -04:00
|
|
|
|