VKeybd: Pass on primary (Ctrl/Cmd) shortcuts
[ardour.git] / gtk2_ardour / processor_box.h
1 /*
2  * Copyright (C) 2007-2014 David Robillard <d@drobilla.net>
3  * Copyright (C) 2007-2018 Paul Davis <paul@linuxaudiosystems.com>
4  * Copyright (C) 2008-2012 Carl Hetherington <carl@carlh.net>
5  * Copyright (C) 2013-2019 Robin Gareus <robin@gareus.org>
6  * Copyright (C) 2014-2018 Ben Loftis <ben@harrisonconsoles.com>
7  * Copyright (C) 2017 Johannes Mueller <github@johannes-mueller.org>
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License along
20  * with this program; if not, write to the Free Software Foundation, Inc.,
21  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22  */
23
24 #ifndef __ardour_gtk_processor_box__
25 #define __ardour_gtk_processor_box__
26
27 #include <cmath>
28 #include <vector>
29
30 #include <boost/function.hpp>
31
32 #include <gtkmm/box.h>
33 #include <gtkmm/eventbox.h>
34 #include <gtkmm/menu.h>
35 #include <gtkmm/scrolledwindow.h>
36
37 #include "gtkmm2ext/bindings.h"
38 #include "gtkmm2ext/dndtreeview.h"
39 #include "gtkmm2ext/dndvbox.h"
40 #include "gtkmm2ext/persistent_tooltip.h"
41
42 #include "pbd/stateful.h"
43 #include "pbd/signals.h"
44
45 #include "ardour/types.h"
46 #include "ardour/ardour.h"
47 #include "ardour/plugin_insert.h"
48 #include "ardour/luaproc.h"
49 #include "ardour/port_insert.h"
50 #include "ardour/processor.h"
51 #include "ardour/route.h"
52 #include "ardour/session_handle.h"
53
54 #include "pbd/fastlog.h"
55
56 #include "widgets/ardour_button.h"
57 #include "widgets/ardour_fader.h"
58 #include "widgets/slider_controller.h"
59
60 #include "plugin_interest.h"
61 #include "plugin_display.h"
62 #include "io_selector.h"
63 #include "send_ui.h"
64 #include "enums.h"
65 #include "window_manager.h"
66
67 class MotionController;
68 class PluginSelector;
69 class PluginUIWindow;
70 class ProcessorSelection;
71 class MixerStrip;
72
73 namespace ARDOUR {
74         class Connection;
75         class IO;
76         class Insert;
77         class Plugin;
78         class PluginInsert;
79         class PortInsert;
80         class Route;
81         class Session;
82 }
83
84 class ProcessorBox;
85
86 class ProcessorWindowProxy : public WM::ProxyBase
87 {
88 public:
89         ProcessorWindowProxy (std::string const &, ProcessorBox *, boost::weak_ptr<ARDOUR::Processor>);
90         ~ProcessorWindowProxy();
91
92         Gtk::Window* get (bool create = false);
93
94         boost::weak_ptr<ARDOUR::Processor> processor () const {
95                 return _processor;
96         }
97
98         ARDOUR::SessionHandlePtr* session_handle();
99         void show_the_right_window (bool show_not_toggle = false);
100         void set_custom_ui_mode(bool use_custom) { want_custom = use_custom; }
101
102         int set_state (const XMLNode&, int);
103         XMLNode& get_state ();
104
105 private:
106         ProcessorBox* _processor_box;
107         boost::weak_ptr<ARDOUR::Processor> _processor;
108         bool is_custom;
109         bool want_custom;
110
111         void processor_going_away ();
112         PBD::ScopedConnection going_away_connection;
113         PBD::ScopedConnectionList gui_connections;
114 };
115
116
117 class PluginPinWindowProxy : public WM::ProxyBase
118 {
119   public:
120         PluginPinWindowProxy (std::string const &, boost::weak_ptr<ARDOUR::Processor>);
121         ~PluginPinWindowProxy();
122
123         Gtk::Window* get (bool create = false);
124         ARDOUR::SessionHandlePtr* session_handle();
125
126   private:
127         boost::weak_ptr<ARDOUR::Processor> _processor;
128
129         void processor_going_away ();
130         PBD::ScopedConnection going_away_connection;
131 };
132
133
134
135 class ProcessorEntry : public Gtkmm2ext::DnDVBoxChild, public sigc::trackable
136 {
137 public:
138         ProcessorEntry (ProcessorBox *, boost::shared_ptr<ARDOUR::Processor>, Width);
139         ~ProcessorEntry ();
140
141         Gtk::EventBox& action_widget ();
142         Gtk::Widget& widget ();
143         std::string drag_text () const;
144         void set_visual_state (Gtkmm2ext::VisualState, bool);
145
146         bool is_selectable() const {return _selectable;}
147         void set_selectable(bool s) { _selectable = s; }
148
149         bool drag_data_get (Glib::RefPtr<Gdk::DragContext> const, Gtk::SelectionData &);
150         bool can_copy_state (Gtkmm2ext::DnDVBoxChild*) const;
151
152         enum Position {
153                 PreFader,
154                 Fader,
155                 PostFader
156         };
157
158         void set_position (Position, uint32_t);
159         bool unknown_processor () const { return _unknown_processor; } ;
160         boost::shared_ptr<ARDOUR::Processor> processor () const;
161         void set_enum_width (Width);
162
163         /** Hide any widgets that should be hidden */
164         virtual void hide_things ();
165
166         void toggle_inline_display_visibility ();
167         void show_all_controls ();
168         void hide_all_controls ();
169         void add_control_state (XMLNode *) const;
170         void set_control_state (XMLNode const *);
171         std::string state_id () const;
172         Gtk::Menu* build_controls_menu ();
173         Gtk::Menu* build_send_options_menu ();
174
175 protected:
176         ArdourWidgets::ArdourButton _button;
177         Gtk::VBox _vbox;
178         Position _position;
179         uint32_t _position_num;
180         ProcessorBox* _parent;
181
182         virtual void setup_visuals ();
183
184 private:
185         bool _selectable;
186         bool _unknown_processor;
187         void led_clicked(GdkEventButton *);
188         void processor_active_changed ();
189         void processor_property_changed (const PBD::PropertyChange&);
190         void processor_configuration_changed (const ARDOUR::ChanCount in, const ARDOUR::ChanCount out);
191         std::string name (Width) const;
192         void setup_tooltip ();
193
194         boost::shared_ptr<ARDOUR::Processor> _processor;
195         Width _width;
196         PBD::ScopedConnection active_connection;
197         PBD::ScopedConnection name_connection;
198         PBD::ScopedConnection config_connection;
199         ARDOUR::PluginPresetPtr _plugin_preset_pointer;
200
201         class Control : public sigc::trackable {
202         public:
203                 Control (boost::shared_ptr<ARDOUR::AutomationControl>, std::string const &);
204                 ~Control ();
205
206                 void set_visible (bool);
207                 void add_state (XMLNode *) const;
208                 void set_state (XMLNode const *);
209                 void hide_things ();
210
211                 bool visible () const {
212                         return _visible;
213                 }
214
215                 std::string name () const {
216                         return _name;
217                 }
218
219                 Gtk::Alignment box;
220
221         private:
222                 void slider_adjusted ();
223                 void button_clicked ();
224                 void button_clicked_event (GdkEventButton *);
225                 void control_changed ();
226                 void control_automation_state_changed ();
227                 std::string state_id () const;
228                 void set_tooltip ();
229
230                 void start_touch ();
231                 void end_touch ();
232
233                 boost::weak_ptr<ARDOUR::AutomationControl> _control;
234                 /* things for a slider */
235                 Gtk::Adjustment _adjustment;
236                 ArdourWidgets::HSliderController _slider;
237                 Gtkmm2ext::PersistentTooltip _slider_persistant_tooltip;
238                 /* things for a button */
239                 ArdourWidgets::ArdourButton _button;
240                 bool _ignore_ui_adjustment;
241                 PBD::ScopedConnectionList _connections;
242                 bool _visible;
243                 std::string _name;
244         };
245
246         std::list<Control*> _controls;
247
248         void toggle_control_visibility (Control *);
249         void toggle_panner_link ();
250         void toggle_allow_feedback ();
251
252         class PluginInlineDisplay : public PluginDisplay {
253         public:
254                 PluginInlineDisplay(ProcessorEntry&, boost::shared_ptr<ARDOUR::Plugin>, uint32_t max_height = 80);
255                 ~PluginInlineDisplay() {}
256         protected:
257                 void on_size_request (Gtk::Requisition* req);
258                 bool on_button_press_event (GdkEventButton *ev);
259                 void update_height_alloc (uint32_t inline_height);
260
261                 void display_frame (cairo_t* cr, double w, double h);
262
263                 ProcessorEntry& _entry;
264                 bool _scroll;
265                 const uint32_t _given_max_height;
266         };
267
268         class LuaPluginDisplay : public PluginInlineDisplay {
269         public:
270                 LuaPluginDisplay(ProcessorEntry&, boost::shared_ptr<ARDOUR::LuaProc>, uint32_t max_height = 80);
271                 ~LuaPluginDisplay();
272         protected:
273                 virtual uint32_t render_inline (cairo_t *, uint32_t width);
274         private:
275                 boost::shared_ptr<ARDOUR::LuaProc> _luaproc;
276                 LuaState lua_gui;
277                 luabridge::LuaRef * _lua_render_inline;
278         };
279
280         class PortIcon : public Gtk::DrawingArea {
281         public:
282                 PortIcon(bool input);
283                 void set_ports(ARDOUR::ChanCount const ports) { _ports = ports; }
284         private:
285                 bool on_expose_event (GdkEventExpose *);
286                 bool _input;
287                 ARDOUR::ChanCount _ports;
288         };
289
290         class RoutingIcon : public Gtk::DrawingArea {
291         public:
292                 RoutingIcon(bool inputrouting = true);
293                 void set (
294                                 const ARDOUR::ChanCount&,
295                                 const ARDOUR::ChanCount&,
296                                 const ARDOUR::ChanCount&,
297                                 const ARDOUR::ChanCount&,
298                                 const ARDOUR::ChanMapping&,
299                                 const ARDOUR::ChanMapping&,
300                                 const ARDOUR::ChanMapping&);
301                 void set_fed_by (
302                                 const ARDOUR::ChanCount&,
303                                 const ARDOUR::ChanCount&,
304                                 const ARDOUR::ChanMapping&,
305                                 const ARDOUR::ChanMapping&);
306
307                 void set_feeding (
308                                 const ARDOUR::ChanCount&,
309                                 const ARDOUR::ChanCount&,
310                                 const ARDOUR::ChanMapping&,
311                                 const ARDOUR::ChanMapping&);
312
313                 void set_terminal (bool b);
314
315                 void copy_state (const RoutingIcon& other) {
316                         _in         = other._in;
317                         _out        = other._out;
318                         _sources    = other._sources;
319                         _sinks      = other._sinks;
320                         _in_map     = other._in_map;
321                         _out_map    = other._out_map;
322                         _thru_map   = other._thru_map;
323                         _f_out      = other._f_out;
324                         _f_out_map  = other._f_out_map;
325                         _f_thru_map = other._f_thru_map;
326                         _f_sources  = other._f_sources;
327                         _i_in       = other._i_in;
328                         _i_in_map   = other._i_in_map;
329                         _i_thru_map = other._i_thru_map;
330                         _i_sinks    = other._i_sinks;
331                         _fed_by     = other._fed_by;
332                         _feeding    = other._feeding;
333                 }
334
335                 void unset_fed_by () { _fed_by  = false ; }
336                 void unset_feeding () { _feeding  = false ; }
337                 bool in_identity () const;
338                 bool out_identity () const;
339                 bool can_coalesce () const;
340
341                 static double pin_x_pos (uint32_t, double, uint32_t, uint32_t, bool);
342                 static void draw_connection (cairo_t*, double, double, double, double, bool, bool dashed = false);
343                 static void draw_gnd (cairo_t*, double, double, double, bool);
344                 static void draw_sidechain (cairo_t*, double, double, double, bool);
345                 static void draw_thru_src (cairo_t*, double, double, double, bool);
346                 static void draw_thru_sink (cairo_t*, double, double, double, bool);
347
348         private:
349                 bool on_expose_event (GdkEventExpose *);
350                 void expose_input_map (cairo_t*, const double, const double);
351                 void expose_coalesced_input_map (cairo_t*, const double, const double);
352                 void expose_output_map (cairo_t*, const double, const double);
353
354                 ARDOUR::ChanCount   _in;
355                 ARDOUR::ChanCount   _out;
356                 ARDOUR::ChanCount   _sources;
357                 ARDOUR::ChanCount   _sinks;
358                 ARDOUR::ChanMapping _in_map;
359                 ARDOUR::ChanMapping _out_map;
360                 ARDOUR::ChanMapping _thru_map;
361                 ARDOUR::ChanCount   _f_out;
362                 ARDOUR::ChanMapping _f_out_map;
363                 ARDOUR::ChanMapping _f_thru_map;
364                 ARDOUR::ChanCount   _f_sources;
365                 ARDOUR::ChanCount   _i_in;
366                 ARDOUR::ChanMapping _i_in_map;
367                 ARDOUR::ChanMapping _i_thru_map;
368                 ARDOUR::ChanCount   _i_sinks;
369                 bool _fed_by;
370                 bool _feeding;
371                 bool _input;
372                 bool _terminal;
373         };
374
375 public:
376         PortIcon input_icon;
377         PortIcon output_icon;
378         RoutingIcon routing_icon; // sits on top of every processor (input routing)
379         RoutingIcon output_routing_icon; // only used by last processor in the chain
380
381 protected:
382         PluginDisplay *_plugin_display ;
383 };
384
385 class PluginInsertProcessorEntry : public ProcessorEntry
386 {
387 public:
388         PluginInsertProcessorEntry (ProcessorBox *, boost::shared_ptr<ARDOUR::PluginInsert>, Width);
389
390         void hide_things ();
391
392 private:
393         void iomap_changed ();
394         boost::shared_ptr<ARDOUR::PluginInsert> _plugin_insert;
395
396         PBD::ScopedConnectionList _iomap_connection;
397 };
398
399 class ProcessorBox : public Gtk::HBox, public PluginInterestedObject, public ARDOUR::SessionHandlePtr
400 {
401 public:
402         enum ProcessorOperation {
403                 ProcessorsCut,
404                 ProcessorsCopy,
405                 ProcessorsPaste,
406                 ProcessorsDelete,
407                 ProcessorsSelectAll,
408                 ProcessorsSelectNone,
409                 ProcessorsToggleActive,
410                 ProcessorsAB,
411         };
412
413         ProcessorBox (ARDOUR::Session*, boost::function<PluginSelector*()> get_plugin_selector,
414                       ProcessorSelection&, MixerStrip* parent, bool owner_is_mixer = false);
415         ~ProcessorBox ();
416
417         void set_route (boost::shared_ptr<ARDOUR::Route>);
418         void set_width (Width);
419
420         bool processor_operation (ProcessorOperation);
421
422         void select_all_processors ();
423         void deselect_all_processors ();
424         void select_all_plugins ();
425         void select_all_inserts ();
426         void select_all_sends ();
427
428         void all_visible_processors_active(bool state);
429         void setup_routing_feeds ();
430
431         void hide_things ();
432
433         bool edit_aux_send(boost::shared_ptr<ARDOUR::Processor>);
434
435         /* Everything except a WindowProxy object should use this to get the window */
436         Gtk::Window* get_processor_ui (boost::shared_ptr<ARDOUR::Processor>) const;
437
438         /* a WindowProxy object can use this */
439         Gtk::Window* get_editor_window (boost::shared_ptr<ARDOUR::Processor>, bool);
440         Gtk::Window* get_generic_editor_window (boost::shared_ptr<ARDOUR::Processor>);
441
442         void manage_pins (boost::shared_ptr<ARDOUR::Processor>);
443         void edit_processor (boost::shared_ptr<ARDOUR::Processor>);
444         void generic_edit_processor (boost::shared_ptr<ARDOUR::Processor>);
445
446         void update_gui_object_state (ProcessorEntry *);
447
448         sigc::signal<void,boost::shared_ptr<ARDOUR::Processor> > ProcessorSelected;
449         sigc::signal<void,boost::shared_ptr<ARDOUR::Processor> > ProcessorUnselected;
450
451         static Glib::RefPtr<Gtk::ActionGroup> processor_box_actions;
452         static Gtkmm2ext::Bindings* bindings;
453         static void register_actions();
454
455         typedef std::vector<boost::shared_ptr<ARDOUR::Processor> > ProcSelection;
456
457         static ProcSelection current_processor_selection ()
458         {
459                 ProcSelection ps;
460                 if (_current_processor_box) {
461                         _current_processor_box->get_selected_processors (ps);
462                 }
463                 return ps;
464         }
465
466 #ifndef NDEBUG
467         static bool show_all_processors;
468 #endif
469
470 private:
471         /* prevent copy construction */
472         ProcessorBox (ProcessorBox const &);
473
474         boost::shared_ptr<ARDOUR::Route>  _route;
475         MixerStrip*         _parent_strip; // null if in RouteParamsUI
476         bool                _owner_is_mixer;
477         bool                 ab_direction;
478         PBD::ScopedConnectionList _mixer_strip_connections;
479         PBD::ScopedConnectionList _route_connections;
480
481         boost::function<PluginSelector*()> _get_plugin_selector;
482
483         boost::shared_ptr<ARDOUR::Processor> _processor_being_created;
484
485         /** Index at which to place a new plugin (based on where the menu was opened), or -1 to
486          *  put at the end of the plugin list.
487          */
488         int _placement;
489
490         ProcessorSelection& _p_selection;
491
492         static void load_bindings ();
493
494         void route_going_away ();
495
496         bool is_editor_mixer_strip() const;
497
498         Gtkmm2ext::DnDVBox<ProcessorEntry> processor_display;
499         Gtk::ScrolledWindow    processor_scroller;
500
501         boost::shared_ptr<ARDOUR::Processor> find_drop_position (ProcessorEntry* position);
502
503         void _drop_plugin_preset (Gtk::SelectionData const &, ARDOUR::Route::ProcessorList &);
504         void _drop_plugin (Gtk::SelectionData const &, ARDOUR::Route::ProcessorList &);
505
506         void plugin_drop (Gtk::SelectionData const &, ProcessorEntry* position, Glib::RefPtr<Gdk::DragContext> const & context);
507         void object_drop (Gtkmm2ext::DnDVBox<ProcessorEntry> *, ProcessorEntry *, Glib::RefPtr<Gdk::DragContext> const &);
508
509         Width _width;
510         bool  _redisplay_pending;
511
512         Gtk::Menu *processor_menu;
513         gint processor_menu_map_handler (GdkEventAny *ev);
514         Gtk::Menu * build_processor_menu ();
515         void show_processor_menu (int);
516         Gtk::Menu* build_possible_aux_menu();
517         Gtk::Menu* build_possible_listener_menu();
518         Gtk::Menu* build_possible_remove_listener_menu();
519
520         void choose_aux (boost::weak_ptr<ARDOUR::Route>);
521         void remove_aux (boost::weak_ptr<ARDOUR::Route>);
522         void choose_send ();
523         void send_io_finished (IOSelector::Result, boost::weak_ptr<ARDOUR::Processor>, IOSelectorWindow*);
524         void return_io_finished (IOSelector::Result, boost::weak_ptr<ARDOUR::Processor>, IOSelectorWindow*);
525         void choose_insert ();
526         void choose_plugin ();
527         bool use_plugins (const SelectedPlugins&);
528
529         bool no_processor_redisplay;
530
531         bool enter_notify (GdkEventCrossing *ev);
532         bool leave_notify (GdkEventCrossing *ev);
533         bool processor_button_press_event (GdkEventButton *, ProcessorEntry *);
534         bool processor_button_release_event (GdkEventButton *, ProcessorEntry *);
535         void redisplay_processors ();
536         void add_processor_to_display (boost::weak_ptr<ARDOUR::Processor>);
537         void reordered ();
538         void report_failed_reorder ();
539         void route_processors_changed (ARDOUR::RouteProcessorChange);
540         void processor_menu_unmapped ();
541
542         void processors_reordered (const Gtk::TreeModel::Path&, const Gtk::TreeModel::iterator&, int*);
543         void compute_processor_sort_keys ();
544
545         void ab_plugins ();
546
547         void cut_processors (const ProcSelection&);
548         void copy_processors (const ProcSelection&);
549         void delete_processors (const ProcSelection&);
550         void paste_processors ();
551         void paste_processors (boost::shared_ptr<ARDOUR::Processor> before);
552
553         void delete_dragged_processors (const std::list<boost::shared_ptr<ARDOUR::Processor> >&);
554         void clear_processors ();
555         void clear_processors (ARDOUR::Placement);
556         void rename_processors ();
557
558         void for_selected_processors (void (ProcessorBox::*pmf)(boost::shared_ptr<ARDOUR::Processor>));
559         void get_selected_processors (ProcSelection&) const;
560
561         void set_disk_io_position (ARDOUR::DiskIOPoint);
562
563         bool can_cut() const;
564         bool stub_processor_selected() const;
565
566         static Glib::RefPtr<Gtk::Action> cut_action;
567         static Glib::RefPtr<Gtk::Action> copy_action;
568         static Glib::RefPtr<Gtk::Action> paste_action;
569         static Glib::RefPtr<Gtk::Action> rename_action;
570         static Glib::RefPtr<Gtk::Action> delete_action;
571         static Glib::RefPtr<Gtk::Action> backspace_action;
572         static Glib::RefPtr<Gtk::Action> manage_pins_action;
573         static Glib::RefPtr<Gtk::Action> disk_io_action;
574         static Glib::RefPtr<Gtk::Action> edit_action;
575         static Glib::RefPtr<Gtk::Action> edit_generic_action;
576         void paste_processor_state (const XMLNodeList&, boost::shared_ptr<ARDOUR::Processor>);
577
578         void hide_processor_editor (boost::shared_ptr<ARDOUR::Processor>);
579         void rename_processor (boost::shared_ptr<ARDOUR::Processor>);
580
581         gint idle_delete_processor (boost::weak_ptr<ARDOUR::Processor>);
582
583         void weird_plugin_dialog (ARDOUR::Plugin& p, ARDOUR::Route::ProcessorStreams streams);
584
585         void setup_entry_positions ();
586
587         static ProcessorBox* _current_processor_box;
588
589         static void rb_choose_aux (boost::weak_ptr<ARDOUR::Route>);
590         static void rb_remove_aux (boost::weak_ptr<ARDOUR::Route>);
591         static void rb_choose_plugin ();
592         static void rb_choose_insert ();
593         static void rb_choose_send ();
594         static void rb_clear ();
595         static void rb_clear_pre ();
596         static void rb_clear_post ();
597         static void rb_cut ();
598         static void rb_copy ();
599         static void rb_paste ();
600         static void rb_delete ();
601         static void rb_rename ();
602         static void rb_select_all ();
603         static void rb_deselect_all ();
604         static void rb_activate_all ();
605         static void rb_deactivate_all ();
606         static void rb_ab_plugins ();
607         static void rb_manage_pins ();
608         static void rb_set_disk_io_position (ARDOUR::DiskIOPoint);
609         static void rb_edit ();
610         static void rb_edit_generic ();
611
612         void route_property_changed (const PBD::PropertyChange&);
613         std::string generate_processor_title (boost::shared_ptr<ARDOUR::PluginInsert> pi);
614
615         //typedef std::list<ProcessorWindowProxy*> ProcessorWindowProxies;
616         //ProcessorWindowProxies _processor_window_info;
617
618         ProcessorWindowProxy* find_window_proxy (boost::shared_ptr<ARDOUR::Processor>) const;
619
620         void set_processor_ui (boost::shared_ptr<ARDOUR::Processor>, Gtk::Window *);
621         void maybe_add_processor_to_ui_list (boost::weak_ptr<ARDOUR::Processor>);
622         void maybe_add_processor_pin_mgr (boost::weak_ptr<ARDOUR::Processor>);
623
624         bool one_processor_can_be_edited ();
625         bool processor_can_be_edited (boost::shared_ptr<ARDOUR::Processor>);
626
627         void mixer_strip_delivery_changed (boost::weak_ptr<ARDOUR::Delivery>);
628
629         XMLNode* entry_gui_object_state (ProcessorEntry *);
630         PBD::ScopedConnection amp_config_connection;
631 };
632
633 #endif /* __ardour_gtk_processor_box__ */