SLV2 0.6.6
world.h
00001 /* SLV2
00002  * Copyright (C) 2007-2009 Dave Robillard <http://drobilla.net>
00003  *
00004  * This library is free software; you can redistribute it and/or modify it
00005  * under the terms of the GNU General Public License as published by the Free
00006  * Software Foundation; either version 2 of the License, or (at your option)
00007  * any later version.
00008  *
00009  * This library is distributed in the hope that it will be useful, but WITHOUT
00010  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00011  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00012  * for more details.
00013  *
00014  * You should have received a copy of the GNU General Public License along
00015  * with this program; if not, write to the Free Software Foundation, Inc.,
00016  * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
00017  */
00018 
00019 #ifndef __SLV2_WORLD_H__
00020 #define __SLV2_WORLD_H__
00021 
00022 #ifdef __cplusplus
00023 extern "C" {
00024 #endif
00025 
00026 #include <librdf.h>
00027 #include "slv2/collections.h"
00028 
00053 SLV2World
00054 slv2_world_new();
00055 
00056 
00059 SLV2World
00060 slv2_world_new_using_rdf_world(librdf_world* world);
00061 
00062 
00069 void
00070 slv2_world_free(SLV2World world);
00071 
00072 
00086 void
00087 slv2_world_load_all(SLV2World world);
00088 
00089 
00108 void
00109 slv2_world_load_bundle(SLV2World world,
00110                        SLV2Value bundle_uri);
00111 
00112 
00117 SLV2PluginClass
00118 slv2_world_get_plugin_class(SLV2World world);
00119 
00120 
00127 SLV2PluginClasses
00128 slv2_world_get_plugin_classes(SLV2World world);
00129 
00130 
00144 SLV2Plugins
00145 slv2_world_get_all_plugins(SLV2World world);
00146 
00147 
00159 SLV2Plugins
00160 slv2_world_get_plugins_by_filter(SLV2World world,
00161                                  bool (*include)(SLV2Plugin));
00162 
00163 
00164 #if 0
00165 
00172 SLV2Plugins
00173 slv2_world_get_plugins_by_class(SLV2World       world,
00174                                 SLV2PluginClass plugin_class);
00175 #endif
00176 
00177 #if 0
00178 
00198 SLV2Plugins
00199 slv2_world_get_plugins_by_query(SLV2World   world,
00200                                 const char* query);
00201 #endif
00202 
00205 #ifdef __cplusplus
00206 } /* extern "C" */
00207 #endif
00208 
00209 #endif /* __SLV2_WORLD_H__ */
00210 

Generated for SLV2 by doxygen 1.7.4