SLV2 0.6.6

- Main Page
- Modules
- Files

- File List

types.h
1 /* SLV2
2 * Copyright (C) 2007-2009 Dave Robillard <http://drobilla.net>
3 *
4 * This library is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the Free
6 * Software Foundation; either version 2 of the License, or (at your option)
7 * any later version.
8 *
9 * This library is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * for more details.
13 *
14 * You should have received a copy of the GNU General Public License along
15 * with this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
17 */
18
19 #ifndef __SLV2_TYPES_H__
20 #define __SLV2_TYPES_H__
21
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25
26 #include <stdint.h>
27 #include <stdbool.h>
28
29 #define SLV2_NAMESPACE_LV2 "http://lv2plug.in/ns/lv2core#"
30 #define SLV2_PORT_CLASS_PORT "http://lv2plug.in/ns/lv2core#Port"
31 #define SLV2_PORT_CLASS_INPUT "http://lv2plug.in/ns/lv2core#InputPort"
32 #define SLV2_PORT_CLASS_OUTPUT "http://lv2plug.in/ns/lv2core#OutputPort"
33 #define SLV2_PORT_CLASS_CONTROL "http://lv2plug.in/ns/lv2core#ControlPort"
34 #define SLV2_PORT_CLASS_AUDIO "http://lv2plug.in/ns/lv2core#AudioPort"
35 #define SLV2_PORT_CLASS_EVENT "http://lv2plug.in/ns/ext/event#EventPort"
36 #define SLV2_EVENT_CLASS_MIDI "http://lv2plug.in/ns/ext/midi#MidiEvent"
37
38
40 typedef struct _SLV2Port* SLV2Port;
41
42
44 typedef struct _SLV2Plugin* SLV2Plugin;
45
46
48 typedef void* SLV2Plugins;
49
50
52 typedef struct _SLV2World* SLV2World;
53
54
56 typedef struct _SLV2PluginClass* SLV2PluginClass;
57
58
60 typedef void* SLV2PluginClasses;
61
62
64 typedef struct _SLV2Value* SLV2Value;
65
66
68 typedef void* SLV2Values;
69
70
72 typedef struct _SLV2ScalePoint* SLV2ScalePoint;
73
74
76 typedef void* SLV2ScalePoints;
77
78
80 typedef struct _SLV2UI* SLV2UI;
81
82
84 typedef void* SLV2UIs;
85
86
88 typedef struct _SLV2Results* SLV2Results;
89
90
91 #ifdef __cplusplus
92 } /* extern "C" */
93 #endif
94
95 #endif /* __SLV2_TYPES_H__ */
96