summaryrefslogtreecommitdiffstats
path: root/src/slv2_internal.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-06-14 22:28:29 +0000
committerDavid Robillard <d@drobilla.net>2009-06-14 22:28:29 +0000
commit03aa15ef37abb29d9d88d8b4912616247ceffa5d (patch)
treeee0e2574c467a689fffc7f9f064e601912ce68e6 /src/slv2_internal.h
parentedf989ee2de5b4644aaa981a165262c0b6438823 (diff)
downloadlilv-03aa15ef37abb29d9d88d8b4912616247ceffa5d.tar.gz
lilv-03aa15ef37abb29d9d88d8b4912616247ceffa5d.tar.bz2
lilv-03aa15ef37abb29d9d88d8b4912616247ceffa5d.zip
Updated LV2 dynamic manifest extension.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2105 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/slv2_internal.h')
-rw-r--r--src/slv2_internal.h16
1 files changed, 16 insertions, 0 deletions
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 <librdf.h>
#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__)