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 --- libs/surfaces/mackie/surface_port.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'libs/surfaces/mackie/surface_port.h') diff --git a/libs/surfaces/mackie/surface_port.h b/libs/surfaces/mackie/surface_port.h index 421446df68..f41f2865bb 100644 --- a/libs/surfaces/mackie/surface_port.h +++ b/libs/surfaces/mackie/surface_port.h @@ -18,7 +18,7 @@ #ifndef surface_port_h #define surface_port_h -#include +#include #include #include "midi_byte_array.h" @@ -34,7 +34,7 @@ namespace Mackie /** Make a relationship between a midi port and a Mackie device. */ -class SurfacePort : public sigc::trackable +class SurfacePort { public: SurfacePort( MIDI::Port & port, int number ); @@ -64,19 +64,19 @@ public: const MIDI::Port & port() const { return *_port; } // all control notofications are sent from here - sigc::signal control_event; + boost::signals2::signal control_event; // emitted just before the port goes into initialisation // where it tries to establish that its device is connected - sigc::signal init_event; + boost::signals2::signal init_event; // emitted when the port completes initialisation successfully - sigc::signal active_event; + boost::signals2::signal active_event; // emitted when the port goes inactive (ie a read or write failed) - sigc::signal inactive_event; + boost::signals2::signal inactive_event; - // the port number - master is 0, extenders are 1,2,3,4 + // the port number - master is 0(extenders are 1((,4 virtual int number() const { return _number; } // number of strips handled by this port. Usually 8. -- cgit v1.2.3