X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Faddon%2Faddon.cpp;h=c4bc5adcbc4a99ab64cacb91aa5122e450d7bc8f;hb=53026cfb1c6cd664a6bf9f9d3d05789b00b43df5;hp=7e7e98ee0acb7f1d20602d8ede8e35016501a1b3;hpb=65a0b6f7ec1123cff959e13e1a4919dc70fe4e85;p=supertux.git diff --git a/src/addon/addon.cpp b/src/addon/addon.cpp index 7e7e98ee0..c4bc5adcb 100644 --- a/src/addon/addon.cpp +++ b/src/addon/addon.cpp @@ -1,12 +1,10 @@ -// $Id$ -// // SuperTux - Add-on // Copyright (C) 2007 Christoph Sommer // -// 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 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 3 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 @@ -14,21 +12,19 @@ // 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. -// +// along with this program. If not, see . -#include -#include -#include -#include -#include "lisp/lisp.hpp" -#include "lisp/writer.hpp" -#include "lisp/parser.hpp" #include "addon/addon.hpp" -#include "log.hpp" + +#include +#include +#include + #include "addon/md5.hpp" +#include "lisp/parser.hpp" +#include "util/reader.hpp" +#include "util/writer.hpp" +#include "util/log.hpp" std::string Addon::get_md5() const @@ -64,7 +60,7 @@ Addon::get_md5() const } void -Addon::parse(const lisp::Lisp& lisp) +Addon::parse(const Reader& lisp) { try { lisp.get("kind", kind); @@ -132,3 +128,4 @@ Addon::operator==(Addon addon2) const return true; } +/* EOF */