summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/Connection.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-10-07 23:09:48 +0000
committerDavid Robillard <d@drobilla.net>2007-10-07 23:09:48 +0000
commit971c02f3707c4872a2da9a3b946b6508290c5ab4 (patch)
tree1dd28dabb27f75a1c5fc79bb583e50c8ec98974f /src/libs/engine/Connection.hpp
parent288a04a65de1ff86ff0ca6e02e611f83e881d159 (diff)
downloadingen-971c02f3707c4872a2da9a3b946b6508290c5ab4.tar.gz
ingen-971c02f3707c4872a2da9a3b946b6508290c5ab4.tar.bz2
ingen-971c02f3707c4872a2da9a3b946b6508290c5ab4.zip
Added shared abstract interface for ports.
Moved DataType to shared. Switch data type URIs to match LV2 type semantics (e.g. separate audio/control types). git-svn-id: http://svn.drobilla.net/lad/ingen@840 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/Connection.hpp')
-rw-r--r--src/libs/engine/Connection.hpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/libs/engine/Connection.hpp b/src/libs/engine/Connection.hpp
index 4a077a87..36dc0ee2 100644
--- a/src/libs/engine/Connection.hpp
+++ b/src/libs/engine/Connection.hpp
@@ -21,13 +21,13 @@
#include <cstdlib>
#include <boost/utility.hpp>
#include <raul/Deletable.hpp>
-#include "DataType.hpp"
-#include "Port.hpp"
+#include "interface/DataType.hpp"
+#include "PortImpl.hpp"
#include "types.hpp"
namespace Ingen {
-class Port;
+class PortImpl;
class Buffer;
@@ -44,11 +44,11 @@ class Buffer;
class Connection : public Raul::Deletable
{
public:
- Connection(Port* src_port, Port* dst_port);
+ Connection(PortImpl* src_port, PortImpl* dst_port);
virtual ~Connection();
- Port* src_port() const { return _src_port; }
- Port* dst_port() const { return _dst_port; }
+ PortImpl* src_port() const { return _src_port; }
+ PortImpl* dst_port() const { return _dst_port; }
/** Used by some (recursive) events to prevent double disconnections */
bool pending_disconnection() { return _pending_disconnection; }
@@ -70,12 +70,12 @@ public:
DataType type() const { return _src_port->type(); }
protected:
- Port* const _src_port;
- Port* const _dst_port;
- Buffer* _local_buffer;
- size_t _buffer_size;
- bool _must_mix;
- bool _pending_disconnection;
+ PortImpl* const _src_port;
+ PortImpl* const _dst_port;
+ Buffer* _local_buffer;
+ size_t _buffer_size;
+ bool _must_mix;
+ bool _pending_disconnection;
};