/***************************************************************************
                            qt_QXmlDefaultHandler.cpp -  description
                             -------------------
    begin                : Tue Nov 20 20:51:20 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Tue Nov 20 20:51:20 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

extern "C" {
#include "qt_QXmlDefaultHandler.h"
}

#include <qxml.h>

class QXmlDefaultHandlerBridge : public QXmlDefaultHandler
{
public:
	QXmlDefaultHandlerBridge() : QXmlDefaultHandler() {}
	~QXmlDefaultHandlerBridge() {}
};

qt_QXmlDefaultHandler * qt_new_QXmlDefaultHandler(){
	return (qt_QXmlDefaultHandler *) new QXmlDefaultHandlerBridge();
}
void qt_del_QXmlDefaultHandler( qt_QXmlDefaultHandler* p ){
	delete (QXmlDefaultHandlerBridge*) p;
}
void qt_QXmlDefaultHandler_setDocumentLocator( qt_QXmlDefaultHandler* instPointer,qt_QXmlLocator* locator){
	((QXmlDefaultHandlerBridge*)instPointer)->setDocumentLocator((QXmlLocator*)locator);
	return;
}
int qt_QXmlDefaultHandler_startDocument( qt_QXmlDefaultHandler* instPointer){
	return (int) ((QXmlDefaultHandlerBridge*)instPointer)->startDocument();
}
int qt_QXmlDefaultHandler_endDocument( qt_QXmlDefaultHandler* instPointer){
	return (int) ((QXmlDefaultHandlerBridge*)instPointer)->endDocument();
}
int qt_QXmlDefaultHandler_startPrefixMapping( qt_QXmlDefaultHandler* instPointer,qt_QString * prefix, qt_QString * uri){
	return (int) ((QXmlDefaultHandlerBridge*)instPointer)->startPrefixMapping((QString&)* (QString*)prefix, (QString&)* (QString*)uri);
}
int qt_QXmlDefaultHandler_endPrefixMapping( qt_QXmlDefaultHandler* instPointer,qt_QString * prefix){
	return (int) ((QXmlDefaultHandlerBridge*)instPointer)->endPrefixMapping((QString&)* (QString*)prefix);
}
int qt_QXmlDefaultHandler_startElement( qt_QXmlDefaultHandler* instPointer,qt_QString * namespaceURI, qt_QString * localName, qt_QString * qName, qt_QXmlAttributes* atts){
	return (int) ((QXmlDefaultHandlerBridge*)instPointer)->startElement((QString&)* (QString*)namespaceURI, (QString&)* (QString*)localName, (QString&)* (QString*)qName, (QXmlAttributes&)* (QXmlAttributes*)atts);
}
int qt_QXmlDefaultHandler_endElement( qt_QXmlDefaultHandler* instPointer,qt_QString * namespaceURI, qt_QString * localName, qt_QString * qName){
	return (int) ((QXmlDefaultHandlerBridge*)instPointer)->endElement((QString&)* (QString*)namespaceURI, (QString&)* (QString*)localName, (QString&)* (QString*)qName);
}
int qt_QXmlDefaultHandler_characters( qt_QXmlDefaultHandler* instPointer,qt_QString * ch){
	return (int) ((QXmlDefaultHandlerBridge*)instPointer)->characters((QString&)* (QString*)ch);
}
int qt_QXmlDefaultHandler_ignorableWhitespace( qt_QXmlDefaultHandler* instPointer,qt_QString * ch){
	return (int) ((QXmlDefaultHandlerBridge*)instPointer)->ignorableWhitespace((QString&)* (QString*)ch);
}
int qt_QXmlDefaultHandler_processingInstruction( qt_QXmlDefaultHandler* instPointer,qt_QString * target, qt_QString * data){
	return (int) ((QXmlDefaultHandlerBridge*)instPointer)->processingInstruction((QString&)* (QString*)target, (QString&)* (QString*)data);
}
int qt_QXmlDefaultHandler_skippedEntity( qt_QXmlDefaultHandler* instPointer,qt_QString * name){
	return (int) ((QXmlDefaultHandlerBridge*)instPointer)->skippedEntity((QString&)* (QString*)name);
}
int qt_QXmlDefaultHandler_warning( qt_QXmlDefaultHandler* instPointer,qt_QXmlParseException* exception){
	return (int) ((QXmlDefaultHandlerBridge*)instPointer)->warning((QXmlParseException&)* (QXmlParseException*)exception);
}
int qt_QXmlDefaultHandler_error( qt_QXmlDefaultHandler* instPointer,qt_QXmlParseException* exception){
	return (int) ((QXmlDefaultHandlerBridge*)instPointer)->error((QXmlParseException&)* (QXmlParseException*)exception);
}
int qt_QXmlDefaultHandler_fatalError( qt_QXmlDefaultHandler* instPointer,qt_QXmlParseException* exception){
	return (int) ((QXmlDefaultHandlerBridge*)instPointer)->fatalError((QXmlParseException&)* (QXmlParseException*)exception);
}
int qt_QXmlDefaultHandler_notationDecl( qt_QXmlDefaultHandler* instPointer,qt_QString * name, qt_QString * publicId, qt_QString * systemId){
	return (int) ((QXmlDefaultHandlerBridge*)instPointer)->notationDecl((QString&)* (QString*)name, (QString&)* (QString*)publicId, (QString&)* (QString*)systemId);
}
int qt_QXmlDefaultHandler_unparsedEntityDecl( qt_QXmlDefaultHandler* instPointer,qt_QString * name, qt_QString * publicId, qt_QString * systemId, qt_QString * notationName){
	return (int) ((QXmlDefaultHandlerBridge*)instPointer)->unparsedEntityDecl((QString&)* (QString*)name, (QString&)* (QString*)publicId, (QString&)* (QString*)systemId, (QString&)* (QString*)notationName);
}
int qt_QXmlDefaultHandler_resolveEntity( qt_QXmlDefaultHandler* instPointer,qt_QString * publicId, qt_QString * systemId, qt_QXmlInputSource* ret){
	return (int) ((QXmlDefaultHandlerBridge*)instPointer)->resolveEntity((QString&)* (QString*)publicId, (QString&)* (QString*)systemId, (QXmlInputSource*&)ret);
}
int qt_QXmlDefaultHandler_startDTD( qt_QXmlDefaultHandler* instPointer,qt_QString * name, qt_QString * publicId, qt_QString * systemId){
	return (int) ((QXmlDefaultHandlerBridge*)instPointer)->startDTD((QString&)* (QString*)name, (QString&)* (QString*)publicId, (QString&)* (QString*)systemId);
}
int qt_QXmlDefaultHandler_endDTD( qt_QXmlDefaultHandler* instPointer){
	return (int) ((QXmlDefaultHandlerBridge*)instPointer)->endDTD();
}
int qt_QXmlDefaultHandler_startEntity( qt_QXmlDefaultHandler* instPointer,qt_QString * name){
	return (int) ((QXmlDefaultHandlerBridge*)instPointer)->startEntity((QString&)* (QString*)name);
}
int qt_QXmlDefaultHandler_endEntity( qt_QXmlDefaultHandler* instPointer,qt_QString * name){
	return (int) ((QXmlDefaultHandlerBridge*)instPointer)->endEntity((QString&)* (QString*)name);
}
int qt_QXmlDefaultHandler_startCDATA( qt_QXmlDefaultHandler* instPointer){
	return (int) ((QXmlDefaultHandlerBridge*)instPointer)->startCDATA();
}
int qt_QXmlDefaultHandler_endCDATA( qt_QXmlDefaultHandler* instPointer){
	return (int) ((QXmlDefaultHandlerBridge*)instPointer)->endCDATA();
}
int qt_QXmlDefaultHandler_comment( qt_QXmlDefaultHandler* instPointer,qt_QString * ch){
	return (int) ((QXmlDefaultHandlerBridge*)instPointer)->comment((QString&)* (QString*)ch);
}
int qt_QXmlDefaultHandler_attributeDecl( qt_QXmlDefaultHandler* instPointer,qt_QString * eName, qt_QString * aName, qt_QString * type, qt_QString * valueDefault, qt_QString * value){
	return (int) ((QXmlDefaultHandlerBridge*)instPointer)->attributeDecl((QString&)* (QString*)eName, (QString&)* (QString*)aName, (QString&)* (QString*)type, (QString&)* (QString*)valueDefault, (QString&)* (QString*)value);
}
int qt_QXmlDefaultHandler_internalEntityDecl( qt_QXmlDefaultHandler* instPointer,qt_QString * name, qt_QString * value){
	return (int) ((QXmlDefaultHandlerBridge*)instPointer)->internalEntityDecl((QString&)* (QString*)name, (QString&)* (QString*)value);
}
int qt_QXmlDefaultHandler_externalEntityDecl( qt_QXmlDefaultHandler* instPointer,qt_QString * name, qt_QString * publicId, qt_QString * systemId){
	return (int) ((QXmlDefaultHandlerBridge*)instPointer)->externalEntityDecl((QString&)* (QString*)name, (QString&)* (QString*)publicId, (QString&)* (QString*)systemId);
}
qt_QString * qt_QXmlDefaultHandler_errorString( qt_QXmlDefaultHandler* instPointer){
	return (qt_QString *)new QString(((QXmlDefaultHandlerBridge*)instPointer)->errorString());
}
qt_QXmlContentHandler* qt_QXmlDefaultHandler_QXmlContentHandler(qt_QXmlDefaultHandler* instPointer){
	return (qt_QXmlContentHandler*) (QXmlContentHandler *) (QXmlDefaultHandler *) instPointer;
}
qt_QXmlDTDHandler* qt_QXmlDefaultHandler_QXmlDTDHandler(qt_QXmlDefaultHandler* instPointer){
	return (qt_QXmlDTDHandler*) (QXmlDTDHandler *) (QXmlDefaultHandler *) instPointer;
}
qt_QXmlDeclHandler* qt_QXmlDefaultHandler_QXmlDeclHandler(qt_QXmlDefaultHandler* instPointer){
	return (qt_QXmlDeclHandler*) (QXmlDeclHandler *) (QXmlDefaultHandler *) instPointer;
}
qt_QXmlEntityResolver* qt_QXmlDefaultHandler_QXmlEntityResolver(qt_QXmlDefaultHandler* instPointer){
	return (qt_QXmlEntityResolver*) (QXmlEntityResolver *) (QXmlDefaultHandler *) instPointer;
}
qt_QXmlErrorHandler* qt_QXmlDefaultHandler_QXmlErrorHandler(qt_QXmlDefaultHandler* instPointer){
	return (qt_QXmlErrorHandler*) (QXmlErrorHandler *) (QXmlDefaultHandler *) instPointer;
}
qt_QXmlLexicalHandler* qt_QXmlDefaultHandler_QXmlLexicalHandler(qt_QXmlDefaultHandler* instPointer){
	return (qt_QXmlLexicalHandler*) (QXmlLexicalHandler *) (QXmlDefaultHandler *) instPointer;
}
