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/region_selection.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/region_selection.h')
-rw-r--r-- | gtk2_ardour/region_selection.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gtk2_ardour/region_selection.h b/gtk2_ardour/region_selection.h index f89eef9eb8..dcb6d68e0c 100644 --- a/gtk2_ardour/region_selection.h +++ b/gtk2_ardour/region_selection.h @@ -21,7 +21,9 @@ #include <set> #include <list> -#include <sigc++/signal.h> + +#include <boost/signals2.hpp> + #include "ardour/types.h" class RegionView; @@ -29,7 +31,7 @@ class TimeAxisView; /** Class to represent list of selected regions. */ -class RegionSelection : public std::list<RegionView*>, public sigc::trackable +class RegionSelection : public std::list<RegionView*> { public: RegionSelection(); @@ -69,6 +71,7 @@ class RegionSelection : public std::list<RegionView*>, public sigc::trackable nframes_t _current_end; ///< end position for the selection std::list<RegionView *> _bylayer; ///< list of regions sorted by layer + boost::signals2::scoped_connection death_connection; }; #endif /* __ardour_gtk_region_selection_h__ */ |