aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/Stateful.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/Stateful.hpp')
-rw-r--r--src/engine/Stateful.hpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/engine/Stateful.hpp b/src/engine/Stateful.hpp
index 08a1425..76fe284 100644
--- a/src/engine/Stateful.hpp
+++ b/src/engine/Stateful.hpp
@@ -20,8 +20,7 @@
#include <stdint.h>
-#include "redlandmm/World.hpp"
-#include "redlandmm/Model.hpp"
+#include "sord/sordmm.hpp"
#include "machina/types.hpp"
@@ -38,10 +37,10 @@ public:
virtual ~Stateful() {}
virtual void set(URIInt key, const Raul::Atom& value) {}
- virtual void write_state(Redland::Model& model) = 0;
+ virtual void write_state(Sord::Model& model) = 0;
uint64_t id() const { return _id; }
- const Redland::Node& rdf_id(Redland::World& world) const;
+ const Sord::Node& rdf_id(Sord::World& world) const;
static uint64_t next_id() { return _next_id++; }
@@ -52,14 +51,14 @@ private:
static uint64_t _next_id;
uint64_t _id;
- mutable Redland::Node _rdf_id;
+ mutable Sord::Node _rdf_id;
};
class StatefulKey : public Stateful {
public:
StatefulKey(uint64_t id) : Stateful(id) {}
- void write_state(Redland::Model& model) {}
+ void write_state(Sord::Model& model) {}
};
} // namespace Machina