From a80e895b0b23d478807377360b85b4bb1d7073b7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 18 Feb 2007 04:16:24 +0000 Subject: Implemented discovery of plugin extension bundles. git-svn-id: http://svn.drobilla.net/lad/slv2@309 a436a847-0d15-0410-975c-d299462d15a1 --- slv2/private_types.h | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) (limited to 'slv2/private_types.h') diff --git a/slv2/private_types.h b/slv2/private_types.h index 590ecae..cfdcb9c 100644 --- a/slv2/private_types.h +++ b/slv2/private_types.h @@ -25,13 +25,17 @@ extern "C" { #include #include +#include #include -/* If you're a user of SLV2, stop reading this file RIGHT NOW. +/* @file private_types.h + * + * If you're a user of SLV2, stop reading this RIGHT NOW :) * Unfortunately it needs to be exposed to allow inlining of some things that - * really need to be inlined, but these are opaque types. Don't even think - * about writing code that depends on any information here :) + * really need to be inlined, but these are opaque types. + * + * DO NOT WRITE CODE THAT DEPENDS ON DEFINITIONS IN THIS FILE */ @@ -41,10 +45,10 @@ extern "C" { * paths of relevant files, the actual data therein isn't loaded into memory. */ struct _Plugin { - char* plugin_uri; - char* bundle_url; // Bundle directory plugin was loaded from - char* data_url; // rdfs::seeAlso - char* lib_url; // lv2:binary + char* plugin_uri; + char* bundle_url; // Bundle directory plugin was loaded from + raptor_sequence* data_uris; // rdfs::seeAlso + char* lib_uri; // lv2:binary }; @@ -65,6 +69,11 @@ struct _PluginList { }; +typedef raptor_sequence* SLV2URIList; + +SLV2URIList slv2_uri_list_new(); + + #ifdef __cplusplus } #endif -- cgit v1.2.1