summaryrefslogtreecommitdiffstats
path: root/src/libs/client/PluginModel.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/client/PluginModel.hpp')
-rw-r--r--src/libs/client/PluginModel.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libs/client/PluginModel.hpp b/src/libs/client/PluginModel.hpp
index a8d420b8..ba5598c0 100644
--- a/src/libs/client/PluginModel.hpp
+++ b/src/libs/client/PluginModel.hpp
@@ -23,6 +23,7 @@
#include <iostream>
#include <raul/Path.hpp>
#include <raul/SharedPtr.hpp>
+#include <raul/RDFWorld.hpp>
#ifdef HAVE_SLV2
#include <slv2/slv2.h>
#endif
@@ -109,6 +110,12 @@ public:
void* gui();
#endif
+ static void set_rdf_world(Raul::RDF::World& world) {
+ _rdf_world = &world;
+ }
+
+ static Raul::RDF::World* rdf_world() { return _rdf_world; }
+
private:
Type _type;
string _uri;
@@ -120,6 +127,8 @@ private:
SLV2Plugin _slv2_plugin;
#endif
+
+ static Raul::RDF::World* _rdf_world;
};