From 3d8a2bef05f69eff154ad350db4be897f6d3edfa Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 9 Feb 2012 06:40:45 +0000 Subject: Add message extension. --- lv2/lv2plug.in/ns/ext/message/message.h | 47 +++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 lv2/lv2plug.in/ns/ext/message/message.h (limited to 'lv2/lv2plug.in/ns/ext/message/message.h') diff --git a/lv2/lv2plug.in/ns/ext/message/message.h b/lv2/lv2plug.in/ns/ext/message/message.h new file mode 100644 index 0000000..9c03713 --- /dev/null +++ b/lv2/lv2plug.in/ns/ext/message/message.h @@ -0,0 +1,47 @@ +/* + Copyright 2012 David Robillard + + 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 message.h C header for the LV2 Message extension + . + + The message extension is purely data, this header merely defines URIs + for convenience. +*/ + +#ifndef LV2_MESSAGE_H +#define LV2_MESSAGE_H + +#define LV2_MESSAGE_URI "http://lv2plug.in/ns/ext/message" + +#define LV2_MESSAGE_Ack LV2_MESSAGE_URI "#Ack" +#define LV2_MESSAGE_Delete LV2_MESSAGE_URI "#Delete" +#define LV2_MESSAGE_Error LV2_MESSAGE_URI "#Error" +#define LV2_MESSAGE_Get LV2_MESSAGE_URI "#Get" +#define LV2_MESSAGE_Message LV2_MESSAGE_URI "#Message" +#define LV2_MESSAGE_Move LV2_MESSAGE_URI "#Move" +#define LV2_MESSAGE_Patch LV2_MESSAGE_URI "#Patch" +#define LV2_MESSAGE_Post LV2_MESSAGE_URI "#Post" +#define LV2_MESSAGE_Put LV2_MESSAGE_URI "#Put" +#define LV2_MESSAGE_Request LV2_MESSAGE_URI "#Request" +#define LV2_MESSAGE_Response LV2_MESSAGE_URI "#Response" +#define LV2_MESSAGE_Set LV2_MESSAGE_URI "#Set" + +#define LV2_MESSAGE_add LV2_MESSAGE_URI "#add" +#define LV2_MESSAGE_body LV2_MESSAGE_URI "#body" +#define LV2_MESSAGE_cause LV2_MESSAGE_URI "#cause" + +#endif /* LV2_MESSAGE_H */ -- cgit v1.2.1