2 * Copyright (C) 2007-2009 David Robillard <d@drobilla.net>
3 * Copyright (C) 2007-2017 Paul Davis <paul@linuxaudiosystems.com>
4 * Copyright (C) 2016-2017 Robin Gareus <robin@gareus.org>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 #ifndef __ardour_gtk_route_processor_selection_h__
22 #define __ardour_gtk_route_processor_selection_h__
25 #include "pbd/signals.h"
27 #include "processor_selection.h"
28 #include "route_ui_selection.h"
31 class SessionHandlePtr;
34 class AxisViewProvider;
36 class RouteProcessorSelection : public ProcessorSelection
39 AxisViewSelection axes;
41 RouteProcessorSelection (ARDOUR::SessionHandlePtr&, AxisViewProvider&);
47 void add (AxisView*, bool with_groups = false);
48 void remove (AxisView*, bool with_groups = false);
49 bool selected (AxisView*);
53 void presentation_info_changed (PBD::PropertyChange const & what_changed);
56 ARDOUR::SessionHandlePtr& shp;
57 AxisViewProvider& avp;
58 void removed (AxisView*);
59 std::list<AxisView*> add_grouped_tracks (AxisView*) const;
61 RouteProcessorSelection& operator= (const RouteProcessorSelection& other);
62 RouteProcessorSelection (RouteProcessorSelection const&);
65 bool operator==(const RouteProcessorSelection& a, const RouteProcessorSelection& b);
67 #endif /* __ardour_gtk_route_processor_selection_h__ */