| 1 |
// Copyright © 2001-2002 Rob Kaper <[email protected]>, |
| 2 |
// 2001 Erik Bourget <[email protected]> |
| 3 |
// 2010-2015 Sylvain Rochet <[email protected]> |
| 4 |
// |
| 5 |
// This program is free software; you can redistribute it and/or |
| 6 |
// modify it under the terms of the GNU General Public License |
| 7 |
// version 2 as published by the Free Software Foundation. |
| 8 |
// |
| 9 |
// This program is distributed in the hope that it will be useful, |
| 10 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 12 |
// General Public License for more details. |
| 13 |
// |
| 14 |
// You should have received a copy of the GNU General Public License |
| 15 |
// along with this program; see the file COPYING. If not, see |
| 16 |
// <http://www.gnu.org/licenses/>. |
| 17 |
|
| 18 |
#ifndef __MONOPD_IO_H__ |
| 19 |
#define __MONOPD_IO_H__ |
| 20 |
|
| 21 |
#include <string> |
| 22 |
|
| 23 |
class Game; |
| 24 |
class Player; |
| 25 |
|
| 26 |
std::string escapeHTML(std::string data); |
| 27 |
std::string escapeXML(std::string data); |
| 28 |
std::string itoa(int number); |
| 29 |
void stringReplace( std::string & source, const std::string & find, const std::string & replace ); |
| 30 |
|
| 31 |
#endif |