summaryrefslogtreecommitdiffstats
path: root/slv2
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-01-23 15:11:43 +0000
committerDavid Robillard <d@drobilla.net>2008-01-23 15:11:43 +0000
commit976af13df86455031873ab37891008a1702581f6 (patch)
tree5d4b4a00594c5bd332399e16bdfc4016263fa1bf /slv2
parentbcfe02b21c62d199b735ac01422080017189f6d9 (diff)
downloadlilv-976af13df86455031873ab37891008a1702581f6.tar.gz
lilv-976af13df86455031873ab37891008a1702581f6.tar.bz2
lilv-976af13df86455031873ab37891008a1702581f6.zip
Remove port type enums.
git-svn-id: http://svn.drobilla.net/lad/slv2@1103 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'slv2')
-rw-r--r--slv2/types.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/slv2/types.h b/slv2/types.h
index 79e7370..0318a98 100644
--- a/slv2/types.h
+++ b/slv2/types.h
@@ -23,7 +23,6 @@
extern "C" {
#endif
-#include <stdbool.h>
#include <stdint.h>
#define SLV2_NAMESPACE_LV2 "http://lv2plug.in/ns/lv2core#"
@@ -36,39 +35,6 @@ extern "C" {
#define SLV2_PORT_CLASS_OSC "http://drobilla.net/ns/lv2ext/osc/0#OSCPort"
#define SLV2_PORT_CLASS_EVENT "http://lv2plug.in/ns/ext/event#EventPort"
-#if 0
-/** (Data) Type of a port
- *
- * SLV2_PORT_DATA_TYPE_UNKNOWN means the Port is not of any type SLV2
- * understands. This does not mean the port is unusable with slv2
- * however:further class information can be using
- * slv2_port_get_value(p, "rdf:type") or a custom query.
- */
-typedef enum _SLV2PortDataType {
- SLV2_PORT_DATA_TYPE_UNKNOWN,
- SLV2_PORT_DATA_TYPE_CONTROL, /**< One float per block */
- SLV2_PORT_DATA_TYPE_AUDIO, /**< One float per frame */
- SLV2_PORT_DATA_TYPE_MIDI, /**< DEPRECATED: A buffer of MIDI data (LL extension) */
- SLV2_PORT_DATA_TYPE_OSC, /**< DEPRECATED: A buffer of OSC data (DR extension) */
- SLV2_PORT_DATA_TYPE_EVENT, /**< Generic event port */
-} SLV2PortDataType;
-
-
-/** Direction (input or output) of a port
- *
- * SLV2_UNKNOWN_PORT_DIRECTION means the Port is only of type lv2:Port
- * (neither lv2:Input or lv2:Output) as far as SLV2 understands.
- *
- * Further class information can be using slv2_port_get_value(p, "rdf:type")
- * or a custom query.
- */
-typedef enum _SLV2PortDirection {
- SLV2_PORT_DIRECTION_UNKNOWN, /**< Neither input or output */
- SLV2_PORT_DIRECTION_INPUT, /**< Plugin reads from port when run */
- SLV2_PORT_DIRECTION_OUTPUT, /**< Plugin writes to port when run */
-} SLV2PortDirection;
-#endif
-
/** The format of a URI string.
*