From e5600d750ffd32b3f5760616a197240acdfc1f46 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 11 Mar 2012 19:55:54 +0000 Subject: Implement consistent URI defines in core, state, atom, urid. --- lv2/lv2plug.in/ns/ext/state/state.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'lv2/lv2plug.in/ns/ext/state') 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 #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; -- cgit v1.2.1