From ba3e956f5be02730368b75fbec704e75b3f036da Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 26 Mar 2017 15:24:20 +0200 Subject: Remove Node::graph_type() method and GraphType enum --- ingen/client/BlockModel.hpp | 2 -- ingen/client/GraphModel.hpp | 2 -- ingen/client/PortModel.hpp | 2 -- 3 files changed, 6 deletions(-) (limited to 'ingen/client') diff --git a/ingen/client/BlockModel.hpp b/ingen/client/BlockModel.hpp index e689414c..0fcfce36 100644 --- a/ingen/client/BlockModel.hpp +++ b/ingen/client/BlockModel.hpp @@ -49,8 +49,6 @@ public: BlockModel(const BlockModel& copy); virtual ~BlockModel(); - GraphType graph_type() const { return Node::GraphType::BLOCK; } - typedef std::vector< SPtr > Ports; SPtr get_port(const Raul::Symbol& symbol) const; diff --git a/ingen/client/GraphModel.hpp b/ingen/client/GraphModel.hpp index 52c5ed2c..94b365fc 100644 --- a/ingen/client/GraphModel.hpp +++ b/ingen/client/GraphModel.hpp @@ -36,8 +36,6 @@ class INGEN_API GraphModel : public BlockModel public: /* WARNING: Copy constructor creates a shallow copy WRT connections */ - GraphType graph_type() const { return Node::GraphType::GRAPH; } - SPtr get_arc(const Ingen::Node* tail, const Ingen::Node* head); diff --git a/ingen/client/PortModel.hpp b/ingen/client/PortModel.hpp index f03e5bc1..b29ce652 100644 --- a/ingen/client/PortModel.hpp +++ b/ingen/client/PortModel.hpp @@ -40,8 +40,6 @@ class INGEN_API PortModel : public ObjectModel public: enum class Direction { INPUT, OUTPUT }; - GraphType graph_type() const { return Node::GraphType::PORT; } - bool supports(const URIs::Quark& value_type) const; inline uint32_t index() const { return _index; } -- cgit v1.2.1