diff options
author | David Robillard <d@drobilla.net> | 2007-10-07 23:09:48 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-10-07 23:09:48 +0000 |
commit | 971c02f3707c4872a2da9a3b946b6508290c5ab4 (patch) | |
tree | 1dd28dabb27f75a1c5fc79bb583e50c8ec98974f /src/common/interface/Node.hpp | |
parent | 288a04a65de1ff86ff0ca6e02e611f83e881d159 (diff) | |
download | ingen-971c02f3707c4872a2da9a3b946b6508290c5ab4.tar.gz ingen-971c02f3707c4872a2da9a3b946b6508290c5ab4.tar.bz2 ingen-971c02f3707c4872a2da9a3b946b6508290c5ab4.zip |
Added shared abstract interface for ports.
Moved DataType to shared.
Switch data type URIs to match LV2 type semantics (e.g. separate audio/control types).
git-svn-id: http://svn.drobilla.net/lad/ingen@840 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/common/interface/Node.hpp')
-rw-r--r-- | src/common/interface/Node.hpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/common/interface/Node.hpp b/src/common/interface/Node.hpp index e332688e..26133b11 100644 --- a/src/common/interface/Node.hpp +++ b/src/common/interface/Node.hpp @@ -18,15 +18,14 @@ #ifndef NODE_H #define NODE_H -#include <string> -#include <raul/Array.hpp> #include "GraphObject.hpp" -namespace Raul { template <typename T> class List; class Maid; } - namespace Ingen { namespace Shared { +class Port; +class Plugin; + /** A Node (or "module") in a Patch (which is also a Node). * @@ -40,7 +39,9 @@ namespace Shared { class Node : public virtual GraphObject { public: - virtual uint32_t num_ports() const = 0; + virtual uint32_t num_ports() const = 0; + virtual Port* port(uint32_t index) const = 0; + virtual const Plugin* plugin() const = 0; }; |