From: <eg...@us...> - 2006-07-16 18:46:46
|
Revision: 86 Author: egore Date: 2006-07-16 11:46:36 -0700 (Sun, 16 Jul 2006) ViewCVS: http://svn.sourceforge.net/opengate/?rev=86&view=rev Log Message: ----------- drop crap and minor fixes to header files Modified Paths: -------------- src/common/loader.h src/common/objects/object.h Removed Paths: ------------- src/object.cpp src/object.h src/xml_parser.cpp src/xml_parser.h Modified: src/common/loader.h =================================================================== --- src/common/loader.h 2006-07-16 18:43:52 UTC (rev 85) +++ src/common/loader.h 2006-07-16 18:46:36 UTC (rev 86) @@ -30,6 +30,11 @@ #include <libxml/xpath.h> #include <iostream> +#ifdef __cplusplus +extern "C" +{ +#endif + class Loader { public: Loader(); @@ -66,4 +71,8 @@ xmlNodeSet* evaluate_xpath(char* path); }; +#ifdef __cplusplus +} #endif + +#endif /* _OPENGATE_LOADER_ */ Modified: src/common/objects/object.h =================================================================== --- src/common/objects/object.h 2006-07-16 18:43:52 UTC (rev 85) +++ src/common/objects/object.h 2006-07-16 18:46:36 UTC (rev 86) @@ -1,7 +1,7 @@ /*************************************************************************** * object.h * - * Sat Jul 15 14:52:39 2006 + * Thu May 25 11:42:32 2006 * Copyright 2006 Christoph Brill * Email <eg...@us...> ****************************************************************************/ @@ -25,10 +25,19 @@ #ifndef _OPENGATE_OBJECT_ #define _OPENGATE_OBJECT_ +#ifdef __cplusplus +extern "C" +{ +#endif + class Object { public: Object(); virtual ~Object(); }; +#ifdef __cplusplus +} #endif + +#endif /* _OPENGATE_OBJECT_ */ Deleted: src/object.cpp =================================================================== --- src/object.cpp 2006-07-16 18:43:52 UTC (rev 85) +++ src/object.cpp 2006-07-16 18:46:36 UTC (rev 86) @@ -1,33 +0,0 @@ -/*************************************************************************** - * object.cpp - * - * Thu May 25 11:45:21 2006 - * Copyright 2006 User - * Email - ****************************************************************************/ - -/* - * 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 distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * 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. - */ - -#include "object.h" - -Object::Object() { - -} - -Object::~Object() { - -} Deleted: src/object.h =================================================================== --- src/object.h 2006-07-16 18:43:52 UTC (rev 85) +++ src/object.h 2006-07-16 18:46:36 UTC (rev 86) @@ -1,45 +0,0 @@ -/*************************************************************************** - * object.h - * - * Thu May 25 11:42:32 2006 - * Copyright 2006 User - * Email - ****************************************************************************/ - -/* - * 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 distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * 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. - */ - -#ifndef _OBJECT_H -#define _OBJECT_H - -#ifdef __cplusplus -extern "C" -{ -#endif - -class Object { -public: - Object(); - virtual ~Object(); -protected: - int energy; -}; - -#ifdef __cplusplus -} -#endif - -#endif /* _OBJECT_H */ Deleted: src/xml_parser.cpp =================================================================== --- src/xml_parser.cpp 2006-07-16 18:43:52 UTC (rev 85) +++ src/xml_parser.cpp 2006-07-16 18:46:36 UTC (rev 86) @@ -1,37 +0,0 @@ -/*************************************************************************** - * xml_parser.cpp - * - * Sun Apr 23 10:38:02 2006 - * Copyright 2006 User - * Email - ****************************************************************************/ - -/* - * 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 distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * 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. - */ - -#include "xml_parser.h" - -XmlParser::XmlParser() { - -} - -XmlParser::~XmlParser() { - -} - -int XmlParser::getInt() { - return -1; -} Deleted: src/xml_parser.h =================================================================== --- src/xml_parser.h 2006-07-16 18:43:52 UTC (rev 85) +++ src/xml_parser.h 2006-07-16 18:46:36 UTC (rev 86) @@ -1,48 +0,0 @@ -/*************************************************************************** - * xml_parser.h - * - * Sun Apr 23 10:34:26 2006 - * Copyright 2006 User - * Email - ****************************************************************************/ - -/* - * 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 distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * 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. - */ - -#ifndef _XML_PARSER_H -#define _XML_PARSER_H - -#include <string.h> - -#ifdef __cplusplus -extern "C" -{ -#endif - -class XmlParser { -public: - XmlParser(); - ~XmlParser(); - - int getInt(); - -}; - -#ifdef __cplusplus -} -#endif - -#endif /* _XML_PARSER_H */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |