summaryrefslogtreecommitdiffstats
path: root/src/server/NodeImpl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/NodeImpl.hpp')
-rw-r--r--src/server/NodeImpl.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/server/NodeImpl.hpp b/src/server/NodeImpl.hpp
index 995450f3..f9509e49 100644
--- a/src/server/NodeImpl.hpp
+++ b/src/server/NodeImpl.hpp
@@ -20,7 +20,6 @@
#include <list>
#include <string>
-#include "ingen/Node.hpp"
#include "raul/Array.hpp"
#include "raul/AtomicInt.hpp"
#include "raul/Semaphore.hpp"
@@ -39,7 +38,6 @@ class Maid;
namespace Ingen {
class Plugin;
-class Port;
namespace Server {
@@ -59,7 +57,7 @@ class ProcessContext;
*
* \ingroup engine
*/
-class NodeImpl : public GraphObjectImpl, virtual public Node
+class NodeImpl : public GraphObjectImpl
{
public:
NodeImpl(PluginImpl* plugin,
@@ -70,6 +68,8 @@ public:
virtual ~NodeImpl();
+ virtual GraphType graph_type() const { return NODE; }
+
/** Activate this Node.
*
* This function must be called in a non-realtime thread before it is
@@ -142,8 +142,8 @@ public:
BufferRef buf,
SampleCount offset);
- virtual Port* port(uint32_t index) const;
- virtual PortImpl* port_impl(uint32_t index) const { return (*_ports)[index]; }
+ virtual GraphObject* port(uint32_t index) const;
+ virtual PortImpl* port_impl(uint32_t index) const { return (*_ports)[index]; }
/** Nodes that are connected to this Node's inputs. */
std::list<NodeImpl*>& providers() { return _providers; }