diff options
Diffstat (limited to 'ingen')
-rw-r--r-- | ingen/Node.hpp | 7 | ||||
-rw-r--r-- | ingen/client/BlockModel.hpp | 2 | ||||
-rw-r--r-- | ingen/client/GraphModel.hpp | 2 | ||||
-rw-r--r-- | ingen/client/PortModel.hpp | 2 |
4 files changed, 0 insertions, 13 deletions
diff --git a/ingen/Node.hpp b/ingen/Node.hpp index e0fcf338..cde50f63 100644 --- a/ingen/Node.hpp +++ b/ingen/Node.hpp @@ -49,12 +49,6 @@ class Store; class INGEN_API Node : public Resource { public: - enum class GraphType { - GRAPH, - BLOCK, - PORT - }; - typedef std::pair<const Node*, const Node*> ArcsKey; typedef std::map< ArcsKey, SPtr<Arc> > Arcs; @@ -71,7 +65,6 @@ public: virtual bool save_state(const std::string& dir) const { return false; } // All objects - virtual GraphType graph_type() const = 0; virtual const Raul::Path& path() const = 0; virtual const Raul::Symbol& symbol() const = 0; 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; } |