diff options
author | David Robillard <d@drobilla.net> | 2017-03-26 15:24:20 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-03-26 18:13:33 +0200 |
commit | ba3e956f5be02730368b75fbec704e75b3f036da (patch) | |
tree | 1163df60cc7f3279cf940ccd17d9290e7f0da317 /ingen/client | |
parent | 6268bb2accfdc0dcad6cb8b54ba56ec64609d474 (diff) | |
download | ingen-ba3e956f5be02730368b75fbec704e75b3f036da.tar.gz ingen-ba3e956f5be02730368b75fbec704e75b3f036da.tar.bz2 ingen-ba3e956f5be02730368b75fbec704e75b3f036da.zip |
Remove Node::graph_type() method and GraphType enum
Diffstat (limited to 'ingen/client')
-rw-r--r-- | ingen/client/BlockModel.hpp | 2 | ||||
-rw-r--r-- | ingen/client/GraphModel.hpp | 2 | ||||
-rw-r--r-- | ingen/client/PortModel.hpp | 2 |
3 files changed, 0 insertions, 6 deletions
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<const PortModel> > Ports; SPtr<const PortModel> 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<ArcModel> 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; } |