From 976af13df86455031873ab37891008a1702581f6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 23 Jan 2008 15:11:43 +0000 Subject: Remove port type enums. git-svn-id: http://svn.drobilla.net/lad/slv2@1103 a436a847-0d15-0410-975c-d299462d15a1 --- slv2/types.h | 34 ---------------------------------- 1 file changed, 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 #include #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. * -- cgit v1.2.1