diff options
author | David Robillard <d@drobilla.net> | 2009-02-17 03:49:32 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-02-17 03:49:32 +0000 |
commit | 3f24977735b06f9b39a82d66c216ba27e3a302d5 (patch) | |
tree | f8c436d7350da2a14546aa047cf9cfbe83ecceff /libs/ardour/ardour/port.h | |
parent | 4fced02c0b9805e7b25dd91bf871d2dfe7350393 (diff) |
Make a bunch of stuff boost::noncopyable.
Clean up.
git-svn-id: svn://localhost/ardour2/branches/3.0@4613 d708f5d6-7413-0410-9779-e7cbd77b26cf
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__ */ |