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/surfaces/mackie/surface_port.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/surfaces/mackie/surface_port.h')
-rw-r--r-- | libs/surfaces/mackie/surface_port.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/surfaces/mackie/surface_port.h b/libs/surfaces/mackie/surface_port.h index f41f2865bb..86ec8ffd9e 100644 --- a/libs/surfaces/mackie/surface_port.h +++ b/libs/surfaces/mackie/surface_port.h @@ -18,9 +18,9 @@ #ifndef surface_port_h #define surface_port_h -#include <boost/signals2.hpp> #include <glibmm/thread.h> +#include "pbd/signals.h" #include "midi_byte_array.h" #include "types.h" @@ -64,17 +64,17 @@ public: const MIDI::Port & port() const { return *_port; } // all control notofications are sent from here - boost::signals2::signal<void(SurfacePort &, Control &, const ControlState &)> control_event; + PBD::Signal3<void,SurfacePort &, Control &, const ControlState &> control_event; // emitted just before the port goes into initialisation // where it tries to establish that its device is connected - boost::signals2::signal<void()> init_event; + PBD::Signal0<void> init_event; // emitted when the port completes initialisation successfully - boost::signals2::signal<void()> active_event; + PBD::Signal0<void> active_event; // emitted when the port goes inactive (ie a read or write failed) - boost::signals2::signal<void()> inactive_event; + PBD::Signal0<void> inactive_event; // the port number - master is 0(extenders are 1((,4 virtual int number() const { return _number; } |