[1812] | 1 | /************************************************************************
|
---|
| 2 | filename: CEGUITinyXMLParser.h
|
---|
| 3 | created: Sun Mar 13 2005
|
---|
| 4 | author: Paul D Turner
|
---|
| 5 | *************************************************************************/
|
---|
| 6 | /*************************************************************************
|
---|
| 7 | Crazy Eddie's GUI System (http://www.cegui.org.uk)
|
---|
| 8 | Copyright (C)2004 - 2005 Paul D Turner (paul@cegui.org.uk)
|
---|
| 9 |
|
---|
| 10 | This library is free software; you can redistribute it and/or
|
---|
| 11 | modify it under the terms of the GNU Lesser General Public
|
---|
| 12 | License as published by the Free Software Foundation; either
|
---|
| 13 | version 2.1 of the License, or (at your option) any later version.
|
---|
| 14 |
|
---|
| 15 | This library is distributed in the hope that it will be useful,
|
---|
| 16 | but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
| 17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
| 18 | Lesser General Public License for more details.
|
---|
| 19 |
|
---|
| 20 | You should have received a copy of the GNU Lesser General Public
|
---|
| 21 | License along with this library; if not, write to the Free Software
|
---|
| 22 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
---|
| 23 | *************************************************************************/
|
---|
| 24 | #ifndef _CEGUITinyXMLParser_h_
|
---|
| 25 | #define _CEGUITinyXMLParser_h_
|
---|
| 26 |
|
---|
| 27 | #include "CEGUIXMLParser.h"
|
---|
| 28 |
|
---|
| 29 |
|
---|
| 30 | // Start of CEGUI namespace section
|
---|
| 31 | namespace CEGUI
|
---|
| 32 | {
|
---|
| 33 | /*!
|
---|
| 34 | \brief
|
---|
| 35 | Implementation of XMLParser using TinyXML
|
---|
| 36 | */
|
---|
| 37 | class TinyXMLParser : public XMLParser
|
---|
| 38 | {
|
---|
| 39 | public:
|
---|
| 40 | TinyXMLParser(void);
|
---|
| 41 | ~TinyXMLParser(void);
|
---|
| 42 |
|
---|
| 43 | // Implementation of public abstract interface
|
---|
| 44 | void parseXMLFile(XMLHandler& handler, const String& filename, const String& schemaName, const String& resourceGroup);
|
---|
| 45 |
|
---|
| 46 | protected:
|
---|
| 47 | // Implementation of abstract interface.
|
---|
| 48 | bool initialiseImpl(void);
|
---|
| 49 | void cleanupImpl(void);
|
---|
| 50 | };
|
---|
| 51 |
|
---|
| 52 | } // End of CEGUI namespace section
|
---|
| 53 |
|
---|
| 54 |
|
---|
| 55 | #endif // end of guard _CEGUITinyXMLParser_h_
|
---|