summaryrefslogtreecommitdiffstats
path: root/ingen/client/PortModel.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ingen/client/PortModel.hpp')
-rw-r--r--ingen/client/PortModel.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/ingen/client/PortModel.hpp b/ingen/client/PortModel.hpp
index 477186fb..99cd85be 100644
--- a/ingen/client/PortModel.hpp
+++ b/ingen/client/PortModel.hpp
@@ -26,7 +26,6 @@
#include "lv2/lv2plug.in/ns/ext/port-props/port-props.h"
#include "lv2/lv2plug.in/ns/lv2core/lv2.h"
-#include "ingen/Port.hpp"
#include "ingen/client/ObjectModel.hpp"
namespace Raul { class Path; }
@@ -38,11 +37,13 @@ namespace Client {
*
* @ingroup IngenClient
*/
-class PortModel : public ObjectModel, public Ingen::Port
+class PortModel : public ObjectModel
{
public:
enum Direction { INPUT, OUTPUT };
+ GraphType graph_type() const { return GraphObject::PORT; }
+
bool supports(const Raul::URI& value_type) const;
inline uint32_t index() const { return _index; }