aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/lv2plug.in/ns/ext
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-09 23:06:18 +0000
committerDavid Robillard <d@drobilla.net>2012-04-09 23:06:18 +0000
commit219086c57b4315828b262224f8e827af44ab4afd (patch)
treeadc940ecbe2da996ce64431440840d39b80b43b4 /lv2/lv2plug.in/ns/ext
parent7d2236d2c5319bd56ccb62f2b49c6967b159314a (diff)
downloadlv2-219086c57b4315828b262224f8e827af44ab4afd.tar.xz
Add missing URI defines.
Diffstat (limited to 'lv2/lv2plug.in/ns/ext')
-rw-r--r--lv2/lv2plug.in/ns/ext/event/event.h15
-rw-r--r--lv2/lv2plug.in/ns/ext/presets/presets.h35
2 files changed, 49 insertions, 1 deletions
diff --git a/lv2/lv2plug.in/ns/ext/event/event.h b/lv2/lv2plug.in/ns/ext/event/event.h
index 2d8bfaa..477a34f 100644
--- a/lv2/lv2plug.in/ns/ext/event/event.h
+++ b/lv2/lv2plug.in/ns/ext/event/event.h
@@ -33,7 +33,20 @@
#ifndef LV2_EVENT_H
#define LV2_EVENT_H
-#define LV2_EVENT_URI "http://lv2plug.in/ns/ext/event"
+#define LV2_EVENT_URI "http://lv2plug.in/ns/ext/event"
+#define LV2_EVENT_PREFIX LV2_EVENT_URI "#"
+
+#define LV2_EVENT__Event LV2_EVENT_PREFIX "Event"
+#define LV2_EVENT__EventPort LV2_EVENT_PREFIX "EventPort"
+#define LV2_EVENT__FrameStamp LV2_EVENT_PREFIX "FrameStamp"
+#define LV2_EVENT__TimeStamp LV2_EVENT_PREFIX "TimeStamp"
+#define LV2_EVENT__generatesTimeStamp LV2_EVENT_PREFIX "generatesTimeStamp"
+#define LV2_EVENT__generic LV2_EVENT_PREFIX "generic"
+#define LV2_EVENT__inheritsEvent LV2_EVENT_PREFIX "inheritsEvent"
+#define LV2_EVENT__inheritsTimeStamp LV2_EVENT_PREFIX "inheritsTimeStamp"
+#define LV2_EVENT__supportsEvent LV2_EVENT_PREFIX "supportsEvent"
+#define LV2_EVENT__supportsTimeStamp LV2_EVENT_PREFIX "supportsTimeStamp"
+
#define LV2_EVENT_AUDIO_STAMP 0
#include <stdint.h>
diff --git a/lv2/lv2plug.in/ns/ext/presets/presets.h b/lv2/lv2plug.in/ns/ext/presets/presets.h
new file mode 100644
index 0000000..cab1775
--- /dev/null
+++ b/lv2/lv2plug.in/ns/ext/presets/presets.h
@@ -0,0 +1,35 @@
+/*
+ Copyright 2012 David Robillard <http://drobilla.net>
+
+ Permission to use, copy, modify, and/or distribute this software for any
+ purpose with or without fee is hereby granted, provided that the above
+ copyright notice and this permission notice appear in all copies.
+
+ THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+*/
+
+/**
+ @file presets.h
+
+ C definitions for the LV2 Presets extension
+ <http://lv2plug.in/ns/ext/presets>.
+*/
+
+#ifndef LV2_PRESETS_H
+#define LV2_PRESETS_H
+
+#define LV2_PRESETS_URI "http://lv2plug.in/ns/ext/presets"
+#define LV2_PRESETS_PREFIX LV2_PRESETS_URI "#"
+
+#define LV2_PRESETS__Preset LV2_PRESETS_PREFIX "Preset"
+#define LV2_PRESETS__appliesTo LV2_PRESETS_PREFIX "appliesTo"
+#define LV2_PRESETS__preset LV2_PRESETS_PREFIX "preset"
+#define LV2_PRESETS__value LV2_PRESETS_PREFIX "value"
+
+#endif /* LV2_PRESETS_H */