From 172a0119ee0a0bb6d50836c70936907c3eb71c9e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 18 Jun 2006 08:06:14 +0000 Subject: More work on new ports implementation; lots of mass renaming and code removal. git-svn-id: http://svn.drobilla.net/lad/grauph@52 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/OutputPort.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/libs/engine/OutputPort.h') diff --git a/src/libs/engine/OutputPort.h b/src/libs/engine/OutputPort.h index 90488a7f..2546586e 100644 --- a/src/libs/engine/OutputPort.h +++ b/src/libs/engine/OutputPort.h @@ -42,10 +42,13 @@ template class OutputPort : public PortBase { public: - OutputPort(Node* node, const string& name, size_t index, size_t poly, PortInfo* port_info, size_t buffer_size); + OutputPort(Node* parent, const string& name, size_t index, size_t poly, DataType type, size_t buffer_size); virtual ~OutputPort() {} void set_tied_port(InputPort* port); + + bool is_input() const { return false; } + bool is_output() const { return true; } private: // Prevent copies (undefined) -- cgit v1.2.1