summaryrefslogtreecommitdiffstats
path: root/raul/Stateful.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-05-01 04:01:04 +0000
committerDavid Robillard <d@drobilla.net>2007-05-01 04:01:04 +0000
commitc5eb1148b99cf88555c0a516e1218bdb74ab0080 (patch)
tree4f72d46c43ff7fe39ebce3bd39911c3b09952868 /raul/Stateful.h
parenta5ce2e3af283f3ffeb2d30a34546ceab0a84d702 (diff)
downloadraul-c5eb1148b99cf88555c0a516e1218bdb74ab0080.tar.gz
raul-c5eb1148b99cf88555c0a516e1218bdb74ab0080.tar.bz2
raul-c5eb1148b99cf88555c0a516e1218bdb74ab0080.zip
Converted Raul (and thus Ingen and Machina) to use Redland over Raptor/Rasqal independently.
Fixed patch loading for Ingen (local only, still something wrong with remote...). git-svn-id: http://svn.drobilla.net/lad/raul@486 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'raul/Stateful.h')
-rw-r--r--raul/Stateful.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/raul/Stateful.h b/raul/Stateful.h
index 5e4626c..a366ffd 100644
--- a/raul/Stateful.h
+++ b/raul/Stateful.h
@@ -18,25 +18,22 @@
#ifndef STATEFUL_H
#define STATEFUL_H
-#include "raul/RDFWriter.h"
+#include "raul/RDFModel.h"
namespace Raul {
-class RDFWriter;
-
-
class Stateful {
public:
virtual ~Stateful() {}
- virtual void write_state(RDFWriter& writer) = 0;
+ virtual void write_state(RDF::Model& model) = 0;
- RdfId id() const { return _id; }
- void set_id(const RdfId& id) { _id = id; }
+ RDF::Node id() const { return _id; }
+ void set_id(const RDF::Node& id) { _id = id; }
protected:
- RdfId _id;
+ RDF::Node _id;
};