X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fserializable.h;h=06a8234e300e0c24bddb8ba7c4e4b719d6e4583a;hb=8e0bad9f82ccbc811a18edd7ce6c6f69c5bca082;hp=9f1f69bfe0742a2fe117f88acbbb31c5cfef3644;hpb=308f11e38981077626fe0ea9887094f3c28b02f9;p=supertux.git diff --git a/src/serializable.h b/src/serializable.h index 9f1f69bfe..06a8234e3 100644 --- a/src/serializable.h +++ b/src/serializable.h @@ -16,16 +16,20 @@ // 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - #ifndef SUPERTUX_SERIALIZABLE_H #define SUPERTUX_SERIALIZABLE_H -class LispWriter; +namespace lisp { +class Writer; +} class Serializable { public: - virtual void write(LispWriter& writer) = 0; + virtual ~Serializable() + { } + + virtual void write(lisp::Writer& writer) = 0; }; #endif /*SUPERTUX_SERIALIZABLE_H*/