X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fscripting%2Fsquirrel_error.hpp;h=1191b5fbb461f84b58f6ee0ad06fd3868e5dd01e;hb=f5ad6f69da56235de950f21de30563802c6f2e06;hp=82905f65ab681611f6777fdeae91237b825f0ff3;hpb=07ddaed2a657e4d2a3d038fed223fc5827159caf;p=supertux.git diff --git a/src/scripting/squirrel_error.hpp b/src/scripting/squirrel_error.hpp index 82905f65a..1191b5fbb 100644 --- a/src/scripting/squirrel_error.hpp +++ b/src/scripting/squirrel_error.hpp @@ -1,12 +1,10 @@ -// $Id$ -// // SuperTux // Copyright (C) 2006 Matthias Braun // -// 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,20 @@ // 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 . -#ifndef __SQUIRREL_ERROR_HPP__ -#define __SQUIRREL_ERROR_HPP__ +#ifndef HEADER_SUPERTUX_SCRIPTING_SQUIRREL_ERROR_HPP +#define HEADER_SUPERTUX_SCRIPTING_SQUIRREL_ERROR_HPP #include #include +#include -namespace Scripting -{ +namespace scripting { /** Exception class for squirrel errors, it takes a squirrelvm and uses * sq_geterror() to retrieve additional information about the last error that - * occured and creates a readable message from that. + * occurred and creates a readable message from that. */ class SquirrelError : public std::exception { @@ -45,3 +42,4 @@ private: #endif +/* EOF */