X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fserializable.h;h=06a8234e300e0c24bddb8ba7c4e4b719d6e4583a;hb=11ea32de7fcc2d667b13f95bb7097d808e6b0dd4;hp=c9539776918187b46083971057ec114724714437;hpb=42398ef94da66fa3eb3d42aeae45c9076cae99ca;p=supertux.git diff --git a/src/serializable.h b/src/serializable.h index c95397769..06a8234e3 100644 --- a/src/serializable.h +++ b/src/serializable.h @@ -16,16 +16,21 @@ // 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 __SERIALIZABLE_H__ -#define __SERIALIZABLE_H__ +#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*/