X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fscripting%2Fplatform.hpp;h=9ffafbf205b23e4c9acf06386fc271219c26ea65;hb=2b017a68959d768ee917128bbdaa42439911ef43;hp=1bff5ca2da92e32b7a077d012f098e8d113126f3;hpb=fe875e6f18c4ed968f7b1534b4039c8a580b852b;p=supertux.git diff --git a/src/scripting/platform.hpp b/src/scripting/platform.hpp index 1bff5ca2d..9ffafbf20 100644 --- a/src/scripting/platform.hpp +++ b/src/scripting/platform.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,19 +12,17 @@ // 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 __SCRIPTING_PLATFORM_H__ -#define __SCRIPTING_PLATFORM_H__ +#ifndef HEADER_SUPERTUX_SCRIPTING_PLATFORM_HPP +#define HEADER_SUPERTUX_SCRIPTING_PLATFORM_HPP #ifndef SCRIPTING_API class Platform; typedef Platform _Platform; #endif -namespace Scripting -{ +namespace scripting { class Platform { @@ -47,6 +43,10 @@ public: #ifndef SCRIPTING_API _Platform* platform; + +private: + Platform(const Platform&); + Platform& operator=(const Platform&); #endif }; @@ -54,3 +54,4 @@ public: #endif +/* EOF */