X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fbundle_manager.h;h=f553b5cccd60b4b557dbd9ee7800f49cf4d6bf1b;hb=415721fa5b48f3c3dc164ac60095c095c4e48ad0;hp=ff42ad7fb8d539fafb202d32c1fd9d1e05fef139;hpb=9040cbf82a9fcb78583dc4e77df2a54bea827b45;p=ardour.git diff --git a/gtk2_ardour/bundle_manager.h b/gtk2_ardour/bundle_manager.h index ff42ad7fb8..f553b5cccd 100644 --- a/gtk2_ardour/bundle_manager.h +++ b/gtk2_ardour/bundle_manager.h @@ -36,13 +36,13 @@ namespace ARDOUR { class BundleEditorMatrix : public PortMatrix { - public: +public: BundleEditorMatrix (Gtk::Window *, ARDOUR::Session *, boost::shared_ptr); void set_state (ARDOUR::BundleChannel c[2], bool s); PortMatrixNode::State get_state (ARDOUR::BundleChannel c[2]) const; - bool can_add_channel (boost::shared_ptr) const; + bool can_add_channels (boost::shared_ptr) const; void add_channel (boost::shared_ptr, ARDOUR::DataType); bool can_remove_channels (boost::shared_ptr) const; @@ -54,7 +54,7 @@ class BundleEditorMatrix : public PortMatrix std::string disassociation_verb () const; - private: +private: enum { OTHER = 0, OURS = 1 @@ -66,13 +66,13 @@ class BundleEditorMatrix : public PortMatrix class BundleEditor : public ArdourDialog { - public: +public: BundleEditor (ARDOUR::Session *, boost::shared_ptr); - protected: +protected: void on_map (); - private: +private: void name_changed (); void input_or_output_changed (); void on_show (); @@ -85,10 +85,10 @@ class BundleEditor : public ArdourDialog class BundleManager : public ArdourDialog { - public: +public: BundleManager (ARDOUR::Session *); - private: +private: void new_clicked (); void edit_clicked (); @@ -131,7 +131,6 @@ private: void setup (); boost::shared_ptr _bundle; - uint32_t _channel; Gtk::Entry _name; bool _adding; };