summaryrefslogtreecommitdiffstats
path: root/raul
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-12-18 20:39:56 +0000
committerDavid Robillard <d@drobilla.net>2010-12-18 20:39:56 +0000
commitac3e250ab59ddf92192853a65e049f62efd47b05 (patch)
tree826264c49882b8a730226051de89f740fcb1fe76 /raul
parentecd46f4c6e6205f9ed372e717f8011a0303ee8c2 (diff)
downloadraul-ac3e250ab59ddf92192853a65e049f62efd47b05.tar.gz
raul-ac3e250ab59ddf92192853a65e049f62efd47b05.tar.bz2
raul-ac3e250ab59ddf92192853a65e049f62efd47b05.zip
Remove Raul::Stateful (which never really belonged in Raul anyway).
git-svn-id: http://svn.drobilla.net/lad/trunk/raul@2766 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'raul')
-rw-r--r--raul/AtomRDF.hpp11
-rw-r--r--raul/Stateful.hpp42
2 files changed, 6 insertions, 47 deletions
diff --git a/raul/AtomRDF.hpp b/raul/AtomRDF.hpp
index 6691187..d9373bc 100644
--- a/raul/AtomRDF.hpp
+++ b/raul/AtomRDF.hpp
@@ -18,16 +18,17 @@
#ifndef RAUL_ATOM_RDF_HPP
#define RAUL_ATOM_RDF_HPP
+#include <cmath>
#include <cstring>
-#include <string>
#include <sstream>
-#include <cmath>
+#include <string>
#include <utility>
-#include "raul/log.hpp"
+
#include "raul/Atom.hpp"
+#include "raul/log.hpp"
+#include "redlandmm/Model.hpp"
#include "redlandmm/Node.hpp"
#include "redlandmm/World.hpp"
-#include "redlandmm/Model.hpp"
#define CUC(x) ((const unsigned char*)(x))
@@ -35,7 +36,7 @@ namespace Raul {
/** Conversion between Raul Atoms and Redlandmm RDF nodes.
* This code (in header raul/AtomRDF.hpp) depends on redlandmm, only apps
- * which directly depend on both raul and liblo should include it.
+ * which directly depend on both raul and redlandmm should include it.
*/
namespace AtomRDF {
diff --git a/raul/Stateful.hpp b/raul/Stateful.hpp
deleted file mode 100644
index 256ed91..0000000
--- a/raul/Stateful.hpp
+++ /dev/null
@@ -1,42 +0,0 @@
-/* This file is part of Raul.
- * Copyright (C) 2007-2009 David Robillard <http://drobilla.net>
- *
- * Raul is free software; you can redistribute it and/or modify it under the
- * terms of the GNU General Public License as published by the Free Software
- * Foundation; either version 2 of the License, or (at your option) any later
- * version.
- *
- * Raul is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef STATEFUL_H
-#define STATEFUL_H
-
-#include "redlandmm/Model.hpp"
-
-namespace Raul {
-
-
-class Stateful {
-public:
- virtual ~Stateful() {}
-
- virtual void write_state(Redland::Model& model) = 0;
-
- Redland::Node id() const { return _id; }
- void set_id(const Redland::Node& id) { _id = id; }
-
-protected:
- Redland::Node _id;
-};
-
-
-} // namespace Raul
-
-#endif // STATEFUL_H