diff options
Diffstat (limited to 'libs/ardour/ardour/port.h')
-rw-r--r-- | libs/ardour/ardour/port.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libs/ardour/ardour/port.h b/libs/ardour/ardour/port.h index c63faa162d..cf54c5065b 100644 --- a/libs/ardour/ardour/port.h +++ b/libs/ardour/ardour/port.h @@ -24,6 +24,7 @@ #include <string> #include <vector> #include <jack/jack.h> +#include <boost/utility.hpp> #include <sigc++/trackable.h> #include "ardour/data_type.h" #include "ardour/types.h" @@ -33,7 +34,7 @@ namespace ARDOUR { class AudioEngine; class Buffer; -class Port : public sigc::trackable +class Port : public sigc::trackable, public boost::noncopyable { public: enum Flags { @@ -115,8 +116,8 @@ private: /* XXX */ bool _last_monitor; - std::string _name; ///< port short name - Flags _flags; ///< flags + std::string _name; ///< port short name + Flags _flags; ///< flags /** ports that we are connected to, kept so that we can reconnect to JACK when required */ @@ -125,4 +126,4 @@ private: } -#endif +#endif /* __ardour_port_h__ */ |