00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
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/plugins.h"
00028 #include "slv2/pluginclasses.h"
00029
00054 SLV2World
00055 slv2_world_new();
00056
00057
00060 SLV2World
00061 slv2_world_new_using_rdf_world(librdf_world* world);
00062
00063
00070 void
00071 slv2_world_free(SLV2World world);
00072
00073
00087 void
00088 slv2_world_load_all(SLV2World world);
00089
00090
00109 void
00110 slv2_world_load_bundle(SLV2World world,
00111 SLV2Value bundle_uri);
00112
00113
00118 SLV2PluginClass
00119 slv2_world_get_plugin_class(SLV2World world);
00120
00121
00128 SLV2PluginClasses
00129 slv2_world_get_plugin_classes(SLV2World world);
00130
00131
00145 SLV2Plugins
00146 slv2_world_get_all_plugins(SLV2World world);
00147
00148
00160 SLV2Plugins
00161 slv2_world_get_plugins_by_filter(SLV2World world,
00162 bool (*include)(SLV2Plugin));
00163
00164
00165 #if 0
00166
00173 SLV2Plugins
00174 slv2_world_get_plugins_by_class(SLV2World world,
00175 SLV2PluginClass plugin_class);
00176 #endif
00177
00178 #if 0
00179
00199 SLV2Plugins
00200 slv2_world_get_plugins_by_query(SLV2World world,
00201 const char* query);
00202 #endif
00203
00206 #ifdef __cplusplus
00207 }
00208 #endif
00209
00210 #endif
00211