summaryrefslogtreecommitdiffstats
path: root/slv2/types.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-01-12 17:58:12 +0000
committerDavid Robillard <d@drobilla.net>2008-01-12 17:58:12 +0000
commit98cc3bd853c47f6cd1cf02cf14e00413993fd6f5 (patch)
treefc31d4304b5a9bb4ba5df30704c3b773558359b1 /slv2/types.h
parent2ea341ef3313b189315367ad6beadc23eec227e3 (diff)
downloadlilv-98cc3bd853c47f6cd1cf02cf14e00413993fd6f5.tar.gz
lilv-98cc3bd853c47f6cd1cf02cf14e00413993fd6f5.tar.bz2
lilv-98cc3bd853c47f6cd1cf02cf14e00413993fd6f5.zip
Add plugin template interface (fast discovery of plugins with certain I/O
characteristics). git-svn-id: http://svn.drobilla.net/lad/slv2@1051 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'slv2/types.h')
-rw-r--r--slv2/types.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/slv2/types.h b/slv2/types.h
index df818ce..1342934 100644
--- a/slv2/types.h
+++ b/slv2/types.h
@@ -19,13 +19,13 @@
#ifndef __SLV2_TYPES_H__
#define __SLV2_TYPES_H__
-#include <stdbool.h>
-#include <stdint.h>
-
#ifdef __cplusplus
extern "C" {
#endif
+#include <stdbool.h>
+#include <stdint.h>
+
/** (Data) Type of a port
*
@@ -73,6 +73,10 @@ typedef enum _SLV2URIType {
typedef struct _SLV2Port* SLV2Port;
+/** The port (I/O) signature of a plugin. Opaque, but valid to compare to NULL. */
+typedef struct _SLV2PortSignature* SLV2PortSignature;
+
+
/** A plugin. Opaque, but valid to compare to NULL. */
typedef struct _SLV2Plugin* SLV2Plugin;
@@ -97,6 +101,10 @@ typedef void* SLV2PluginClasses;
typedef struct _SLV2Value* SLV2Value;
+/** A plugin template (collection of port signatures). */
+typedef void* SLV2Template;
+
+
/** A collection of typed values. */
typedef void* SLV2Values;