MIDI/Controllables for monitor section, and related fixes
[ardour.git] / gtk2_ardour / utils.h
index ca1d751539d7fb3eb66d6db20a2df04d7e939ab6..bfde7807d5f38fbac33a0c80c639befb5f53aa25 100644 (file)
 
 #include "canvas.h"
 
+namespace PBD {
+        class Controllable;
+        class ScopedConnectionList;
+}
+
 namespace Gtk {
        class Window;
        class ComboBoxText;
        class Paned;
+        class Adjustment;
 }
 
 Glib::ustring fit_to_pixels (const Glib::ustring&, int pixel_width, Pango::FontDescription& font, int& actual_width, bool with_ellipses = false);
@@ -98,4 +104,6 @@ void resize_window_to_proportion_of_monitor (Gtk::Window*, int, int);
 
 std::string escape_underscores (std::string const &);
 
+void control_link (PBD::ScopedConnectionList& scl, boost::shared_ptr<PBD::Controllable> c, Gtk::Adjustment& a);
+
 #endif /* __ardour_gtk_utils_h__ */