summaryrefslogtreecommitdiff
path: root/gtk2_ardour/mixer_actor.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-07-06 15:20:42 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-07-06 15:20:42 -0400
commit6e469ffb5e0fa93fff77f7559e5b94861f9e1be7 (patch)
treeb81ddb9d481e9d3df274bb8c4496b4c35047db2a /gtk2_ardour/mixer_actor.h
parentdb3223478c914f5b9ef97343ae2f262d3e99f74b (diff)
merge MixerActor API (back) into Mixer_UI; make solo/mute/recenable actions there do the right thing
Diffstat (limited to 'gtk2_ardour/mixer_actor.h')
-rw-r--r--gtk2_ardour/mixer_actor.h91
1 files changed, 0 insertions, 91 deletions
diff --git a/gtk2_ardour/mixer_actor.h b/gtk2_ardour/mixer_actor.h
deleted file mode 100644
index a2f4522afb..0000000000
--- a/gtk2_ardour/mixer_actor.h
+++ /dev/null
@@ -1,91 +0,0 @@
-/*
- Copyright (C) 2000 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 __gtk2_ardour_mixer_actor_h__
-#define __gtk2_ardour_mixer_actor_h__
-
-#include <glibmm/refptr.h>
-#include <gtkmm2ext/bindings.h>
-
-#include "route_processor_selection.h"
-
-namespace Gtk {
- class ActionGroup;
-}
-
-namespace ARDOUR {
- class VCA;
-}
-
-class MixerActor : virtual public sigc::trackable
-{
- public:
- MixerActor ();
- virtual ~MixerActor ();
-
- RouteProcessorSelection& selection() { return _selection; }
- void register_actions ();
-
- void load_bindings ();
- Gtkmm2ext::Bindings* bindings;
-
- protected:
- Gtkmm2ext::ActionMap myactions;
- RouteProcessorSelection _selection;
- AxisViewSelection _axis_targets;
-
- virtual void set_axis_targets_for_operation () = 0;
-
- void vca_assign (boost::shared_ptr<ARDOUR::VCA>);
- void vca_unassign (boost::shared_ptr<ARDOUR::VCA>);
-
- void solo_action ();
- void mute_action ();
- void rec_enable_action ();
- void step_gain_up_action ();
- void step_gain_down_action ();
- void unity_gain_action ();
-
- void copy_processors ();
- void cut_processors ();
- void paste_processors ();
- void select_all_processors ();
- void toggle_processors ();
- void ab_plugins ();
-
- //this op is different because it checks _all_ mixer strips, and deletes selected plugins on any of them (ignores track selections)
- //BUT... note that we have used mixerstrip's "Enter" to enforce the rule that only one strip will have an active selection
- virtual void delete_processors () = 0;
-
- virtual void select_none () = 0;
-
-
- /* these actions need access to a Session, do defer to
- a derived class
- */
- virtual void toggle_midi_input_active (bool flip_others) = 0;
-
- /* these actions don't apply to the selection, so defer to
- a derived class.
- */
- virtual void scroll_left () {}
- virtual void scroll_right () {}
-};
-
-#endif /* __gtk2_ardour_mixer_actor_h__ */