diff options
Diffstat (limited to 'src/client/PluginModel.hpp')
-rw-r--r-- | src/client/PluginModel.hpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/client/PluginModel.hpp b/src/client/PluginModel.hpp index c59da63b..c93f5fda 100644 --- a/src/client/PluginModel.hpp +++ b/src/client/PluginModel.hpp @@ -21,7 +21,6 @@ #include "config.h" #include <string> #include <iostream> -#include "raul/Path.hpp" #include "raul/SharedPtr.hpp" #include "redlandmm/World.hpp" #ifdef HAVE_SLV2 @@ -92,15 +91,9 @@ public: static Redland::World* rdf_world() { return _rdf_world; } private: - const Type _type; + const Type _type; - const string string_property(const std::string& name) const { - const Raul::Atom& atom = get_property(name); - if (atom.type() == Raul::Atom::STRING) - return atom.get_string(); - else - return ""; - } + const string string_property(const std::string& name) const; #ifdef HAVE_SLV2 static SLV2World _slv2_world; |