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/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 }
00207 #endif
00208
00209 #endif
00210