summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
l---------src/common/contexts.lv21
-rw-r--r--src/common/interface/DataType.hpp20
l---------src/common/object.lv21
l---------src/common/resize-port.lv21
4 files changed, 14 insertions, 9 deletions
diff --git a/src/common/contexts.lv2 b/src/common/contexts.lv2
new file mode 120000
index 00000000..acc4d68c
--- /dev/null
+++ b/src/common/contexts.lv2
@@ -0,0 +1 @@
+../../../lv2/dev/contexts.lv2 \ No newline at end of file
diff --git a/src/common/interface/DataType.hpp b/src/common/interface/DataType.hpp
index 4590a9a1..15cdc591 100644
--- a/src/common/interface/DataType.hpp
+++ b/src/common/interface/DataType.hpp
@@ -39,10 +39,11 @@ public:
UNKNOWN = 0,
AUDIO = 1,
CONTROL = 2,
- EVENT = 3,
+ EVENTS = 3,
//MIDI = 4,
//OSC = 5,
- STRING = 6
+ //STRING = 6,
+ OBJECT = 7
};
DataType(const Raul::URI& uri)
@@ -52,10 +53,10 @@ public:
_symbol = AUDIO;
} else if (uri.str() == type_uri(CONTROL)) {
_symbol = CONTROL;
- } else if (uri.str() == type_uri(EVENT)) {
- _symbol = EVENT;
- } else if (uri.str() == type_uri(STRING)) {
- _symbol = STRING;
+ } else if (uri.str() == type_uri(EVENTS)) {
+ _symbol = EVENTS;
+ } else if (uri.str() == type_uri(OBJECT)) {
+ _symbol = OBJECT;
}
}
@@ -73,8 +74,8 @@ public:
inline bool is_audio() { return _symbol == AUDIO; }
inline bool is_control() { return _symbol == CONTROL; }
- inline bool is_event() { return _symbol == EVENT; }
- inline bool is_string() { return _symbol == STRING; }
+ inline bool is_events() { return _symbol == EVENTS; }
+ inline bool is_object() { return _symbol == OBJECT; }
private:
@@ -85,7 +86,8 @@ private:
case 3: return "lv2ev:EventPort";
case 4: return "lv2ev:EventPort"; // MIDI (no longer used)
case 5: return "lv2ev:EventPort"; // OSC (no longer used)
- case 6: return "sp:StringPort";
+ case 6: return "sp:StringPort"; // String Port (no longer used)
+ case 7: return "obj:ObjectPort";
default: return "";
}
}
diff --git a/src/common/object.lv2 b/src/common/object.lv2
new file mode 120000
index 00000000..08017748
--- /dev/null
+++ b/src/common/object.lv2
@@ -0,0 +1 @@
+../../../lv2/dev/object.lv2 \ No newline at end of file
diff --git a/src/common/resize-port.lv2 b/src/common/resize-port.lv2
new file mode 120000
index 00000000..89bdbf96
--- /dev/null
+++ b/src/common/resize-port.lv2
@@ -0,0 +1 @@
+../../../lv2/dev/resize-port.lv2 \ No newline at end of file