summaryrefslogtreecommitdiffstats
path: root/src/common/interface/Port.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-01-25 06:55:57 +0000
committerDavid Robillard <d@drobilla.net>2008-01-25 06:55:57 +0000
commitdf8ee18c0139f889bf7c697713a2205364845464 (patch)
tree2d3d2389504676b194fcb47a9ed3e7b1da8f94c4 /src/common/interface/Port.hpp
parentf3f08e248a96f2a6d75d4fc6ee3dc34985805e58 (diff)
downloadingen-df8ee18c0139f889bf7c697713a2205364845464.tar.gz
ingen-df8ee18c0139f889bf7c697713a2205364845464.tar.bz2
ingen-df8ee18c0139f889bf7c697713a2205364845464.zip
Overhaul SLV2 API to return/take SLV2Value (instead of strings or primitives) wherever possible.
Make 'index' a fundemental property of ingen ports. git-svn-id: http://svn.drobilla.net/lad/ingen@1113 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/common/interface/Port.hpp')
-rw-r--r--src/common/interface/Port.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/common/interface/Port.hpp b/src/common/interface/Port.hpp
index 7667b385..b7305519 100644
--- a/src/common/interface/Port.hpp
+++ b/src/common/interface/Port.hpp
@@ -35,9 +35,10 @@ namespace Shared {
class Port : public virtual GraphObject
{
public:
- virtual bool is_input() const = 0;
- virtual DataType type() const = 0;
- virtual Raul::Atom value() const = 0;
+ virtual uint32_t index() const = 0;
+ virtual bool is_input() const = 0;
+ virtual DataType type() const = 0;
+ virtual const Raul::Atom& value() const = 0;
};