diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-12-19 20:26:31 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-12-19 20:26:31 +0000 |
commit | aae367b63c9b619db1e40f27dc334c6987219481 (patch) | |
tree | 142f6ffed6bb749e24a06343587cad6b966888bd /libs/ardour/ardour/export_formats.h | |
parent | 67460c2af45d0455e64623572480c064445c2e5b (diff) |
use new syntax for connecting to backend signals that enforces explicit connection scope, plus a few other related matters
git-svn-id: svn://localhost/ardour2/branches/3.0@6376 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/export_formats.h')
-rw-r--r-- | libs/ardour/ardour/export_formats.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/ardour/ardour/export_formats.h b/libs/ardour/ardour/export_formats.h index 3ef207097b..03585f79a9 100644 --- a/libs/ardour/ardour/export_formats.h +++ b/libs/ardour/ardour/export_formats.h @@ -25,7 +25,7 @@ #include <boost/weak_ptr.hpp> #include "pbd/failed_constructor.h" -#include "pbd/scoped_connections.h" +#include "pbd/signals.h" #include "ardour/export_format_base.h" #include "ardour/export_format_compatibility.h" @@ -128,11 +128,11 @@ class HasSampleFormat : public PBD::ScopedConnectionList { /* Proxies for signals from sample formats and dither types */ - boost::signals2::signal<void(bool, WeakSampleFormatPtr)> SampleFormatSelectChanged; - boost::signals2::signal<void(bool, WeakSampleFormatPtr)> SampleFormatCompatibleChanged; + PBD::Signal2<void,bool, WeakSampleFormatPtr> SampleFormatSelectChanged; + PBD::Signal2<void,bool, WeakSampleFormatPtr> SampleFormatCompatibleChanged; - boost::signals2::signal<void(bool, WeakDitherTypePtr)> DitherTypeSelectChanged; - boost::signals2::signal<void(bool, WeakDitherTypePtr)> DitherTypeCompatibleChanged; + PBD::Signal2<void,bool, WeakDitherTypePtr> DitherTypeSelectChanged; + PBD::Signal2<void,bool, WeakDitherTypePtr> DitherTypeCompatibleChanged; static std::string get_sample_format_name (ExportFormatBase::SampleFormat format); |