diff options
author | David Robillard <d@drobilla.net> | 2007-10-07 18:14:01 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-10-07 18:14:01 +0000 |
commit | 299f075679fc7ea6a67001c2cc0442511e167cbc (patch) | |
tree | 1fa210526bb92ceafa057b423e466686d55d00bd /src/libs/engine/Port.hpp | |
parent | 91031b8f5a4bf86b39e4c4a02412a16e247f8b15 (diff) | |
download | ingen-299f075679fc7ea6a67001c2cc0442511e167cbc.tar.gz ingen-299f075679fc7ea6a67001c2cc0442511e167cbc.tar.bz2 ingen-299f075679fc7ea6a67001c2cc0442511e167cbc.zip |
Shared abstract Node interface.
git-svn-id: http://svn.drobilla.net/lad/ingen@835 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/Port.hpp')
-rw-r--r-- | src/libs/engine/Port.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/engine/Port.hpp b/src/libs/engine/Port.hpp index fa9c454f..2484ea1f 100644 --- a/src/libs/engine/Port.hpp +++ b/src/libs/engine/Port.hpp @@ -29,7 +29,7 @@ namespace Raul { class Maid; } namespace Ingen { -class Node; +class NodeImpl; class Buffer; class ProcessContext; @@ -48,7 +48,7 @@ public: virtual ~Port(); /** A port's parent is always a node, so static cast should be safe */ - Node* parent_node() const { return (Node*)_parent; } + NodeImpl* parent_node() const { return (NodeImpl*)_parent; } /** Prepare for a new (external) polyphony value. * @@ -91,7 +91,7 @@ public: bool broadcast() { return _broadcast; } protected: - Port(Node* const node, const std::string& name, uint32_t index, uint32_t poly, DataType type, size_t buffer_size); + Port(NodeImpl* node, const std::string& name, uint32_t index, uint32_t poly, DataType type, size_t buffer_size); virtual void allocate_buffers(); virtual void connect_buffers(); |