#include <vector>
#include <jack/jack.h>
#include <boost/utility.hpp>
-#include <sigc++/trackable.h>
+#include "pbd/signals.h"
+
#include "ardour/data_type.h"
#include "ardour/types.h"
class AudioEngine;
class Buffer;
-class Port : public sigc::trackable, public boost::noncopyable
+class Port : public boost::noncopyable
{
public:
enum Flags {
static void set_buffer_size (nframes_t sz) {
_buffer_size = sz;
}
+ static void set_connecting_blocked( bool yn ) {
+ _connecting_blocked = yn;
+ }
+ static bool connecting_blocked() {
+ return _connecting_blocked;
+ }
+
/** @return Port short name */
std::string name () const {
}
virtual void transport_stopped () {}
+ bool physically_connected () const;
+
static void set_engine (AudioEngine *);
- sigc::signal<void, bool> MonitorInputChanged;
+ PBD::Signal1<void,bool> MonitorInputChanged;
protected:
static nframes_t _port_offset;
static nframes_t _buffer_size;
-
+ static bool _connecting_blocked;
+
static AudioEngine* _engine; ///< the AudioEngine
private: