aboutsummaryrefslogtreecommitdiffstats
path: root/include/lv2/presets/presets.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lv2/presets/presets.h')
-rw-r--r--include/lv2/presets/presets.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/include/lv2/presets/presets.h b/include/lv2/presets/presets.h
new file mode 100644
index 0000000..ecd23a2
--- /dev/null
+++ b/include/lv2/presets/presets.h
@@ -0,0 +1,35 @@
+// Copyright 2012-2016 David Robillard <d@drobilla.net>
+// SPDX-License-Identifier: ISC
+
+#ifndef LV2_PRESETS_PRESETS_H
+#define LV2_PRESETS_PRESETS_H
+
+/**
+ @defgroup presets Presets
+ @ingroup lv2
+
+ Presets for plugins.
+
+ See <http://lv2plug.in/ns/ext/presets> for details.
+
+ @{
+*/
+
+// clang-format off
+
+#define LV2_PRESETS_URI "http://lv2plug.in/ns/ext/presets" ///< http://lv2plug.in/ns/ext/presets
+#define LV2_PRESETS_PREFIX LV2_PRESETS_URI "#" ///< http://lv2plug.in/ns/ext/presets#
+
+#define LV2_PRESETS__Bank LV2_PRESETS_PREFIX "Bank" ///< http://lv2plug.in/ns/ext/presets#Bank
+#define LV2_PRESETS__Preset LV2_PRESETS_PREFIX "Preset" ///< http://lv2plug.in/ns/ext/presets#Preset
+#define LV2_PRESETS__bank LV2_PRESETS_PREFIX "bank" ///< http://lv2plug.in/ns/ext/presets#bank
+#define LV2_PRESETS__preset LV2_PRESETS_PREFIX "preset" ///< http://lv2plug.in/ns/ext/presets#preset
+#define LV2_PRESETS__value LV2_PRESETS_PREFIX "value" ///< http://lv2plug.in/ns/ext/presets#value
+
+// clang-format on
+
+/**
+ @}
+*/
+
+#endif // LV2_PRESETS_PRESETS_H