aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/lv2plug.in/ns/ext/state
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-03-11 19:55:54 +0000
committerDavid Robillard <d@drobilla.net>2012-03-11 19:55:54 +0000
commite5600d750ffd32b3f5760616a197240acdfc1f46 (patch)
tree3971c201622f903c7ad45a09e2ee01c7ad30fdf2 /lv2/lv2plug.in/ns/ext/state
parentec9b62e83536624500b294a5de53164d7dbce073 (diff)
downloadlv2-e5600d750ffd32b3f5760616a197240acdfc1f46.tar.xz
Implement consistent URI defines in core, state, atom, urid.
Diffstat (limited to 'lv2/lv2plug.in/ns/ext/state')
-rw-r--r--lv2/lv2plug.in/ns/ext/state/state.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/lv2/lv2plug.in/ns/ext/state/state.h b/lv2/lv2plug.in/ns/ext/state/state.h
index 2ab731d..2f5af22 100644
--- a/lv2/lv2plug.in/ns/ext/state/state.h
+++ b/lv2/lv2plug.in/ns/ext/state/state.h
@@ -28,20 +28,21 @@
#include "lv2/lv2plug.in/ns/lv2core/lv2.h"
+#define LV2_STATE_URI "http://lv2plug.in/ns/ext/state"
+#define LV2_STATE_PREFIX LV2_STATE_URI "#"
+
+#define LV2_STATE__Interface LV2_STATE_PREFIX "Interface"
+#define LV2_STATE__State LV2_STATE_PREFIX "State"
+#define LV2_STATE__makePath LV2_STATE_PREFIX "makePath"
+#define LV2_STATE__mapPath LV2_STATE_PREFIX "mapPath"
+#define LV2_STATE__state LV2_STATE_PREFIX "state"
+
#ifdef __cplusplus
extern "C" {
#else
# include <stdbool.h>
#endif
-#define LV2_STATE_URI "http://lv2plug.in/ns/ext/state"
-
-#define LV2_STATE__Interface LV2_STATE_URI "#Interface"
-#define LV2_STATE__State LV2_STATE_URI "#State"
-#define LV2_STATE__makePath LV2_STATE_URI "#makePath"
-#define LV2_STATE__mapPath LV2_STATE_URI "#mapPath"
-#define LV2_STATE__state LV2_STATE_URI "#state"
-
typedef void* LV2_State_Handle;
typedef void* LV2_State_Map_Path_Handle;
typedef void* LV2_State_Make_Path_Handle;