From 03aa15ef37abb29d9d88d8b4912616247ceffa5d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 14 Jun 2009 22:28:29 +0000 Subject: Updated LV2 dynamic manifest extension. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2105 a436a847-0d15-0410-975c-d299462d15a1 --- src/slv2_internal.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/slv2_internal.h') diff --git a/src/slv2_internal.h b/src/slv2_internal.h index 20fe619..1b2c785 100644 --- a/src/slv2_internal.h +++ b/src/slv2_internal.h @@ -16,6 +16,8 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */ +#include "slv2-config.h" + #ifndef __SLV2_INTERNAL_H__ #define __SLV2_INTERNAL_H__ @@ -30,7 +32,12 @@ extern "C" { #include #include "slv2/types.h" #include "slv2/lv2_ui.h" +#ifdef SLV2_DYN_MANIFEST +#include "lv2_dyn_manifest.h" +#endif +#define SLV2_NS_RDFS (const unsigned char*)"http://www.w3.org/2000/01/rdf-schema#" +#define SLV2_NS_SLV2 (const unsigned char*)"http://drobilla.net/ns/slv2#" /* ********* PORT ********* */ @@ -59,6 +66,9 @@ struct _SLV2Plugin { SLV2Value plugin_uri; SLV2Value bundle_uri; ///< Bundle directory plugin was loaded from SLV2Value binary_uri; ///< lv2:binary +//#ifdef SLV2_DYN_MANIFEST + SLV2Value dynman_uri; ///< dynamic manifest binary +//#endif SLV2PluginClass plugin_class; raptor_sequence* data_uris; ///< rdfs::seeAlso SLV2Port* ports; @@ -244,6 +254,12 @@ struct _SLV2Results { char* slv2_strjoin(const char* first, ...); char* slv2_get_lang(); + +/* ********* Dynamic Manifest ********* */ +#ifdef SLV2_DYN_MANIFEST +static const LV2_Dyn_Manifest_Feature* const dman_features = { NULL }; +#endif + #define SLV2_ERROR(str) fprintf(stderr, "ERROR: %s: " str, __func__) #define SLV2_ERRORF(fmt, ...) fprintf(stderr, "ERROR: %s: " fmt, __func__, __VA_ARGS__) -- cgit v1.2.1