diff options
author | David Robillard <d@drobilla.net> | 2011-09-27 22:31:15 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-09-27 22:31:15 +0000 |
commit | ec0b7f8db95b11bdb4d87a349be42148ff5d99f5 (patch) | |
tree | 05ff06a02e9996308484e248b448a7e39c4c3fed /lilv/lilv.h | |
parent | 4f50cfecac13b0b35ae67f31e976c2680884e785 (diff) | |
download | lilv-ec0b7f8db95b11bdb4d87a349be42148ff5d99f5.tar.gz lilv-ec0b7f8db95b11bdb4d87a349be42148ff5d99f5.tar.bz2 lilv-ec0b7f8db95b11bdb4d87a349be42148ff5d99f5.zip |
Add lilv_plugin_write_description and lilv_plugin_write_manifest_entry.
Add -p and -m options to lv2info for writing data files.
Define LILV_NS_OWL.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3498 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'lilv/lilv.h')
-rw-r--r-- | lilv/lilv.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lilv/lilv.h b/lilv/lilv.h index bbf64de..fccec60 100644 --- a/lilv/lilv.h +++ b/lilv/lilv.h @@ -24,6 +24,7 @@ #include <stdbool.h> #include <stddef.h> #include <stdint.h> +#include <stdio.h> #include "lv2/lv2plug.in/ns/lv2core/lv2.h" @@ -52,6 +53,7 @@ extern "C" { #define LILV_NS_FOAF "http://xmlns.com/foaf/0.1/" #define LILV_NS_LILV "http://drobilla.net/ns/lilv#" #define LILV_NS_LV2 "http://lv2plug.in/ns/lv2core#" +#define LILV_NS_OWL "http://www.w3.org/2002/07/owl#" #define LILV_NS_RDF "http://www.w3.org/1999/02/22-rdf-syntax-ns#" #define LILV_NS_RDFS "http://www.w3.org/2000/01/rdf-schema#" #define LILV_NS_XSD "http://www.w3.org/2001/XMLSchema#" @@ -900,6 +902,27 @@ bool lilv_plugin_is_replaced(const LilvPlugin* plugin); /** + Write the Turtle description of @c plugin to @c file. + + This function is particularly useful for porting plugins in conjunction with + an LV2 bridge such as NASPRO. +*/ +LILV_API +void +lilv_plugin_write_description(LilvWorld* world, + const LilvPlugin* plugin, + const LilvNode* base_uri, + FILE* plugin_file); + +LILV_API +void +lilv_plugin_write_manifest_entry(LilvWorld* world, + const LilvPlugin* plugin, + const LilvNode* base_uri, + FILE* manifest_file, + const char* plugin_file_path); + +/** @} @name Port @{ |