summaryrefslogtreecommitdiffstats
path: root/ingen
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-10-24 17:59:05 +0000
committerDavid Robillard <d@drobilla.net>2015-10-24 17:59:05 +0000
commit84135d2b77b877665a56570b4ed15609c48c6e84 (patch)
treec606d4751b066adbdc046bed0193e9e2d62b1ca6 /ingen
parent1d92e1e205f35a9dd9cf671cef242491d56eefa0 (diff)
downloadingen-84135d2b77b877665a56570b4ed15609c48c6e84.tar.gz
ingen-84135d2b77b877665a56570b4ed15609c48c6e84.tar.bz2
ingen-84135d2b77b877665a56570b4ed15609c48c6e84.zip
Fix loading recursive graphs in LV2
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5776 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'ingen')
-rw-r--r--ingen/Parser.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/ingen/Parser.hpp b/ingen/Parser.hpp
index 2f288384..039c6102 100644
--- a/ingen/Parser.hpp
+++ b/ingen/Parser.hpp
@@ -66,6 +66,15 @@ public:
const std::string& manifest_uri,
const Raul::URI& type_uri);
+ /** Parse a graph from RDF into a Interface (engine or client).
+ *
+ * @param path If this is a file path, then the graph is loaded from that
+ * file. If it is a directory, then the manifest.ttl from that directory
+ * is used instead. In either case, any rdfs:seeAlso files are loaded and
+ * the graph parsed from the resulting combined model.
+ *
+ * @return whether or not load was successful.
+ */
virtual bool parse_file(
World* world,
Interface* target,