diff options
author | David Robillard <d@drobilla.net> | 2009-11-15 03:17:26 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-11-15 03:17:26 +0000 |
commit | 597fa9212f27d2448c0cdd20fbf616928c662cc1 (patch) | |
tree | d761421a2a7eaa55761ebdf48b794ccf6489cb95 /src/common | |
parent | 6ae2018e81e7e81e4906e62dc6224ad34298d9c2 (diff) | |
download | ingen-597fa9212f27d2448c0cdd20fbf616928c662cc1.tar.gz ingen-597fa9212f27d2448c0cdd20fbf616928c662cc1.tar.bz2 ingen-597fa9212f27d2448c0cdd20fbf616928c662cc1.zip |
Better Parse plugin, working Print plugin.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2262 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/interface/DataType.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/common/interface/DataType.hpp b/src/common/interface/DataType.hpp index 15cdc591..dc2726df 100644 --- a/src/common/interface/DataType.hpp +++ b/src/common/interface/DataType.hpp @@ -43,7 +43,7 @@ public: //MIDI = 4, //OSC = 5, //STRING = 6, - OBJECT = 7 + VALUE = 7 }; DataType(const Raul::URI& uri) @@ -55,8 +55,8 @@ public: _symbol = CONTROL; } else if (uri.str() == type_uri(EVENTS)) { _symbol = EVENTS; - } else if (uri.str() == type_uri(OBJECT)) { - _symbol = OBJECT; + } else if (uri.str() == type_uri(VALUE)) { + _symbol = VALUE; } } @@ -75,7 +75,7 @@ public: inline bool is_audio() { return _symbol == AUDIO; } inline bool is_control() { return _symbol == CONTROL; } inline bool is_events() { return _symbol == EVENTS; } - inline bool is_object() { return _symbol == OBJECT; } + inline bool is_value() { return _symbol == VALUE; } private: @@ -87,7 +87,7 @@ private: case 4: return "lv2ev:EventPort"; // MIDI (no longer used) case 5: return "lv2ev:EventPort"; // OSC (no longer used) case 6: return "sp:StringPort"; // String Port (no longer used) - case 7: return "obj:ObjectPort"; + case 7: return "obj:ValuePort"; default: return ""; } } |