SLV2 0.6.6
world.h
1/* SLV2
2 * Copyright (C) 2007-2009 Dave Robillard <http://drobilla.net>
3 *
4 * This library is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the Free
6 * Software Foundation; either version 2 of the License, or (at your option)
7 * any later version.
8 *
9 * This library is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * for more details.
13 *
14 * You should have received a copy of the GNU General Public License along
15 * with this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
17 */
18
19#ifndef __SLV2_WORLD_H__
20#define __SLV2_WORLD_H__
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
26#include <librdf.h>
27#include "slv2/collections.h"
28
53SLV2World
55
56
59SLV2World
60slv2_world_new_using_rdf_world(librdf_world* world);
61
62
69void
70slv2_world_free(SLV2World world);
71
72
86void
87slv2_world_load_all(SLV2World world);
88
89
108void
110 SLV2Value bundle_uri);
111
112
117SLV2PluginClass
119
120
127SLV2PluginClasses
129
130
144SLV2Plugins
146
147
159SLV2Plugins
161 bool (*include)(SLV2Plugin));
162
163
164#if 0
172SLV2Plugins
173slv2_world_get_plugins_by_class(SLV2World world,
174 SLV2PluginClass plugin_class);
175#endif
176
177#if 0
198SLV2Plugins
199slv2_world_get_plugins_by_query(SLV2World world,
200 const char* query);
201#endif
202
205#ifdef __cplusplus
206} /* extern "C" */
207#endif
208
209#endif /* __SLV2_WORLD_H__ */
210
SLV2PluginClasses slv2_world_get_plugin_classes(SLV2World world)
Return a list of all found plugin classes.
void slv2_world_free(SLV2World world)
Destroy the world, mwahaha.
SLV2Plugins slv2_world_get_plugins_by_filter(SLV2World world, bool(*include)(SLV2Plugin))
Return a list of found plugins filtered by a user-defined filter function.
SLV2PluginClass slv2_world_get_plugin_class(SLV2World world)
Get the parent of all other plugin classes, lv2:Plugin.
SLV2World slv2_world_new_using_rdf_world(librdf_world *world)
Initialize a new, empty world, using an existing Redland context.
void slv2_world_load_bundle(SLV2World world, SLV2Value bundle_uri)
Load a specific bundle.
SLV2World slv2_world_new()
Initialize a new, empty world.
SLV2Plugins slv2_world_get_all_plugins(SLV2World world)
Return a list of all found plugins.
void slv2_world_load_all(SLV2World world)
Load all installed LV2 bundles on the system.

Generated for SLV2 by doxygen 1.12.0