diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-12-17 18:24:23 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-12-17 18:24:23 +0000 |
commit | f6fdd8dcbf41f864e9f0cc32dabe81fe3533ddfe (patch) | |
tree | 5214c580b9e6c17a499fa587660dbf949e892bf2 /gtk2_ardour/editor_routes.h | |
parent | da762129f19c28aff64f833b6ec09fba946faef6 (diff) |
switch to using boost::signals2 instead of sigc++, at least for libardour. not finished yet, but compiles, loads sessions, records and can close a session without a crash
git-svn-id: svn://localhost/ardour2/branches/3.0@6372 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_routes.h')
-rw-r--r-- | gtk2_ardour/editor_routes.h | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/gtk2_ardour/editor_routes.h b/gtk2_ardour/editor_routes.h index 756796dbda..23e1e93388 100644 --- a/gtk2_ardour/editor_routes.h +++ b/gtk2_ardour/editor_routes.h @@ -17,12 +17,18 @@ */ -class EditorRoutes : public EditorComponent +#ifndef __ardour_gtk_editor_route_h__ +#define __ardour_gtk_editor_route_h__ + +#include "pbd/scoped_connections.h" +#include "editor_component.h" + +class EditorRoutes : public EditorComponent, public PBD::ScopedConnectionList { public: EditorRoutes (Editor *); - void connect_to_session (ARDOUR::Session *); + void set_session (ARDOUR::Session *); Gtk::Widget& widget () { return _scroller; @@ -66,9 +72,9 @@ private: void route_removed (TimeAxisView *); void handle_gui_changes (std::string const &, void *); void update_rec_display (); - void update_mute_display (void* /*src*/); - void update_solo_display (void* /*src*/); - void update_solo_isolate_display (void* /*src*/); + void update_mute_display (); + void update_solo_display (); + void update_solo_isolate_display (); void set_all_tracks_visibility (bool); void set_all_audio_visibility (int, bool); void show_all_routes (); @@ -126,3 +132,5 @@ private: Gtk::Menu* _menu; }; + +#endif /* __ardour_gtk_editor_route_h__ */ |