From f6fdd8dcbf41f864e9f0cc32dabe81fe3533ddfe Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 17 Dec 2009 18:24:23 +0000 Subject: 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 --- gtk2_ardour/sfdb_ui.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gtk2_ardour/sfdb_ui.h') diff --git a/gtk2_ardour/sfdb_ui.h b/gtk2_ardour/sfdb_ui.h index c3030669c2..15affab570 100644 --- a/gtk2_ardour/sfdb_ui.h +++ b/gtk2_ardour/sfdb_ui.h @@ -39,6 +39,7 @@ #include #include "ardour/audiofilesource.h" +#include "ardour/session_handle.h" #include "ardour_dialog.h" #include "editing.h" @@ -50,7 +51,7 @@ namespace ARDOUR { class GainMeter; -class SoundFileBox : public Gtk::VBox +class SoundFileBox : public Gtk::VBox, public ARDOUR::SessionHandlePtr { public: SoundFileBox (bool persistent); @@ -64,7 +65,6 @@ class SoundFileBox : public Gtk::VBox bool autoplay () const; protected: - ARDOUR::Session* _session; Glib::ustring path; ARDOUR::SoundFileInfo sf_info; @@ -241,7 +241,7 @@ class SoundFileOmega : public SoundFileBrowser bool check_info (const std::vector& paths, bool& same_size, bool& src_needed, bool& multichannel); - static bool check_link_status (const ARDOUR::Session&, const std::vector& paths); + static bool check_link_status (const ARDOUR::Session*, const std::vector& paths); void file_selection_changed (); bool reset_options (); -- cgit v1.2.3