diff options
author | Carl Hetherington <carl@carlh.net> | 2009-01-14 23:54:46 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-01-14 23:54:46 +0000 |
commit | bed58e9f372a6c2671e9f072c19a4c77d06c4292 (patch) | |
tree | 7e146669f680c6275f92687b8434fafef4689ded /libs/ardour/ardour/user_bundle.h | |
parent | ad9913538e903359de700432459f559794f2e80d (diff) |
Make Bundles work a bit better. A few include optimisations.
git-svn-id: svn://localhost/ardour2/branches/3.0@4408 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/user_bundle.h')
-rw-r--r-- | libs/ardour/ardour/user_bundle.h | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/libs/ardour/ardour/user_bundle.h b/libs/ardour/ardour/user_bundle.h index c33ddeaed9..6d197450c3 100644 --- a/libs/ardour/ardour/user_bundle.h +++ b/libs/ardour/ardour/user_bundle.h @@ -35,36 +35,10 @@ class UserBundle : public Bundle, public PBD::Stateful { UserBundle (std::string const &); UserBundle (XMLNode const &, bool); - ChanCount nchannels () const; - const ARDOUR::PortList& channel_ports (uint32_t) const; - - void add_channel (); - void set_channels (uint32_t); - void remove_channel (uint32_t); - void add_port_to_channel (uint32_t, std::string const &); - void remove_port_from_channel (uint32_t, std::string const &); - bool port_attached_to_channel (uint32_t, std::string const &) const; XMLNode& get_state (); - - /// The number of channels is about to change - sigc::signal<void> ConfigurationWillChange; - /// The number of channels has changed - sigc::signal<void> ConfigurationHasChanged; - /// The port set associated with one of our channels is about to change - /// Parameter is the channel number - sigc::signal<void, int> PortsWillChange; - /// The port set associated with one of our channels has changed - /// Parameter is the channel number - sigc::signal<void, int> PortsHaveChanged; private: - - int set_state (const XMLNode &); - - /// mutex for _ports; - /// XXX: is this necessary? - mutable Glib::Mutex _ports_mutex; - std::vector<PortList> _ports; + int set_state (XMLNode const &); }; } |