2007-04-26 16:54:31 -04:00
|
|
|
/*
|
|
|
|
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.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2005-09-25 14:42:24 -04:00
|
|
|
#ifndef __ardour_gtk_track_selection_h__
|
|
|
|
#define __ardour_gtk_track_selection_h__
|
|
|
|
|
|
|
|
#include <list>
|
|
|
|
|
|
|
|
class TimeAxisView;
|
|
|
|
|
2009-07-09 13:58:13 -04:00
|
|
|
class TrackSelection : public std::list<TimeAxisView*>
|
2009-06-21 15:59:56 -04:00
|
|
|
{
|
|
|
|
public:
|
2009-07-01 19:20:18 -04:00
|
|
|
TrackSelection () {}
|
|
|
|
|
2009-07-09 13:58:13 -04:00
|
|
|
TrackSelection (std::list<TimeAxisView*> const &);
|
|
|
|
std::list<TimeAxisView*> add (std::list<TimeAxisView*> const &);
|
|
|
|
bool contains (TimeAxisView const *) const;
|
2009-06-21 15:59:56 -04:00
|
|
|
};
|
2005-09-25 14:42:24 -04:00
|
|
|
|
|
|
|
#endif /* __ardour_gtk_track_selection_h__ */
|