X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fserializable.hpp;h=ce4d3b73fd8fcb20113bc7f108775ae4a44ed2b1;hb=4a486d92343d1824b311c234e9321e08f280fe68;hp=06a8234e300e0c24bddb8ba7c4e4b719d6e4583a;hpb=5b7f9214cb929399f1a855ef5807018a9447d510;p=supertux.git diff --git a/src/serializable.hpp b/src/serializable.hpp index 06a8234e3..ce4d3b73f 100644 --- a/src/serializable.hpp +++ b/src/serializable.hpp @@ -1,7 +1,7 @@ // $Id$ // // SuperTux - A Jump'n Run -// Copyright (C) 2004 Matthias Braun // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License @@ -19,18 +19,15 @@ #ifndef SUPERTUX_SERIALIZABLE_H #define SUPERTUX_SERIALIZABLE_H -namespace lisp { -class Writer; -} +#include "lisp/writer.hpp" class Serializable { public: virtual ~Serializable() { } - + virtual void write(lisp::Writer& writer) = 0; }; #endif /*SUPERTUX_SERIALIZABLE_H*/ -