forgot to update Jamfile for new directory structure
[supertux.git] / src / serializable.h
index ab6bebc..06a8234 100644 (file)
@@ -1,13 +1,36 @@
-#ifndef __SERIALIZABLE_H__
-#define __SERIALIZABLE_H__
+//  $Id$
+//
+//  SuperTux -  A Jump'n Run
+//  Copyright (C) 2004 Matthias Braun <matze@braunis.de
+//
+//  This program 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.
+//
+//  This program 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 more 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., 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
+#endif /*SUPERTUX_SERIALIZABLE_H*/