SLV2 0.6.6
|
00001 /* SLV2 00002 * Copyright (C) 2007-2009 Dave Robillard <http://drobilla.net> 00003 * 00004 * This library is free software; you can redistribute it and/or modify it 00005 * under the terms of the GNU General Public License as published by the Free 00006 * Software Foundation; either version 2 of the License, or (at your option) 00007 * any later version. 00008 * 00009 * This library is distributed in the hope that it will be useful, but WITHOUT 00010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00011 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 00012 * for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License along 00015 * with this program; if not, write to the Free Software Foundation, Inc., 00016 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 00017 */ 00018 00019 #ifndef __SLV2_TYPES_H__ 00020 #define __SLV2_TYPES_H__ 00021 00022 #ifdef __cplusplus 00023 extern "C" { 00024 #endif 00025 00026 #include <stdint.h> 00027 #include <stdbool.h> 00028 00029 #define SLV2_NAMESPACE_LV2 "http://lv2plug.in/ns/lv2core#" 00030 #define SLV2_PORT_CLASS_PORT "http://lv2plug.in/ns/lv2core#Port" 00031 #define SLV2_PORT_CLASS_INPUT "http://lv2plug.in/ns/lv2core#InputPort" 00032 #define SLV2_PORT_CLASS_OUTPUT "http://lv2plug.in/ns/lv2core#OutputPort" 00033 #define SLV2_PORT_CLASS_CONTROL "http://lv2plug.in/ns/lv2core#ControlPort" 00034 #define SLV2_PORT_CLASS_AUDIO "http://lv2plug.in/ns/lv2core#AudioPort" 00035 #define SLV2_PORT_CLASS_EVENT "http://lv2plug.in/ns/ext/event#EventPort" 00036 #define SLV2_EVENT_CLASS_MIDI "http://lv2plug.in/ns/ext/midi#MidiEvent" 00037 00038 00040 typedef struct _SLV2Port* SLV2Port; 00041 00042 00044 typedef struct _SLV2Plugin* SLV2Plugin; 00045 00046 00048 typedef void* SLV2Plugins; 00049 00050 00052 typedef struct _SLV2World* SLV2World; 00053 00054 00056 typedef struct _SLV2PluginClass* SLV2PluginClass; 00057 00058 00060 typedef void* SLV2PluginClasses; 00061 00062 00064 typedef struct _SLV2Value* SLV2Value; 00065 00066 00068 typedef void* SLV2Values; 00069 00070 00072 typedef struct _SLV2ScalePoint* SLV2ScalePoint; 00073 00074 00076 typedef void* SLV2ScalePoints; 00077 00078 00080 typedef struct _SLV2UI* SLV2UI; 00081 00082 00084 typedef void* SLV2UIs; 00085 00086 00088 typedef struct _SLV2Results* SLV2Results; 00089 00090 00091 #ifdef __cplusplus 00092 } /* extern "C" */ 00093 #endif 00094 00095 #endif /* __SLV2_TYPES_H__ */ 00096