summaryrefslogtreecommitdiffstats
path: root/src/engine/ConnectionImpl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/ConnectionImpl.hpp')
-rw-r--r--src/engine/ConnectionImpl.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/engine/ConnectionImpl.hpp b/src/engine/ConnectionImpl.hpp
index 896b055b..232d8033 100644
--- a/src/engine/ConnectionImpl.hpp
+++ b/src/engine/ConnectionImpl.hpp
@@ -32,6 +32,8 @@ using namespace std;
namespace Ingen {
class PortImpl;
+class OutputPort;
+class InputPort;
class Buffer;
class BufferFactory;
@@ -92,6 +94,8 @@ public:
/** Returns true if this connection crosses contexts and must buffer */
inline bool must_queue() const { return _src_port->context() != _dst_port->context(); }
+ static bool can_connect(const OutputPort* src, const InputPort* dst);
+
protected:
void dump() const;