/*
- Copyright (C) 2002-2009 Paul Davis
+ Copyright (C) 2002-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
ARDOUR::DataType type () const {
return _type;
}
-
+
void disassociate_all ();
void setup_scrollbars ();
void popup_menu (
PortGroupList const * ports (int d) const {
return &_ports[d];
}
-
+
void setup ();
virtual void setup_ports (int) = 0;
void setup_all_ports ();
virtual void rename_channel (ARDOUR::BundleChannel) {}
virtual std::string disassociation_verb () const = 0;
virtual std::string channel_noun () const { return _("channel"); }
-
+
enum Result {
Cancelled,
Accepted
inputs and outputs should put outputs in list 0 and inputs in list 1. */
PortGroupList _ports[2];
ARDOUR::Session& _session;
-
+
private:
void hscroll_changed ();
void toggle_show_only_bundles ();
bool on_scroll_event (GdkEventScroll *);
boost::shared_ptr<ARDOUR::IO> io_from_bundle (boost::shared_ptr<ARDOUR::Bundle>) const;
+ void bundle_changed (ARDOUR::Bundle::Change);
Gtk::Window* _parent;