/***************************************************************************
                            qt_QXmlContentHandler.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_QXmlContentHandler.h"
}

#include <qxml.h>

void qt_QXmlContentHandler_setDocumentLocator( qt_QXmlContentHandler* instPointer,qt_QXmlLocator* locator){
	((QXmlContentHandler*)instPointer)->setDocumentLocator((QXmlLocator*)locator);
	return;
}
int qt_QXmlContentHandler_startDocument( qt_QXmlContentHandler* instPointer){
	return (int) ((QXmlContentHandler*)instPointer)->startDocument();
}
int qt_QXmlContentHandler_endDocument( qt_QXmlContentHandler* instPointer){
	return (int) ((QXmlContentHandler*)instPointer)->endDocument();
}
int qt_QXmlContentHandler_startPrefixMapping( qt_QXmlContentHandler* instPointer,qt_QString * prefix, qt_QString * uri){
	return (int) ((QXmlContentHandler*)instPointer)->startPrefixMapping((QString&)* (QString*)prefix, (QString&)* (QString*)uri);
}
int qt_QXmlContentHandler_endPrefixMapping( qt_QXmlContentHandler* instPointer,qt_QString * prefix){
	return (int) ((QXmlContentHandler*)instPointer)->endPrefixMapping((QString&)* (QString*)prefix);
}
int qt_QXmlContentHandler_startElement( qt_QXmlContentHandler* instPointer,qt_QString * namespaceURI, qt_QString * localName, qt_QString * qName, qt_QXmlAttributes* atts){
	return (int) ((QXmlContentHandler*)instPointer)->startElement((QString&)* (QString*)namespaceURI, (QString&)* (QString*)localName, (QString&)* (QString*)qName, (QXmlAttributes&)* (QXmlAttributes*)atts);
}
int qt_QXmlContentHandler_endElement( qt_QXmlContentHandler* instPointer,qt_QString * namespaceURI, qt_QString * localName, qt_QString * qName){
	return (int) ((QXmlContentHandler*)instPointer)->endElement((QString&)* (QString*)namespaceURI, (QString&)* (QString*)localName, (QString&)* (QString*)qName);
}
int qt_QXmlContentHandler_characters( qt_QXmlContentHandler* instPointer,qt_QString * ch){
	return (int) ((QXmlContentHandler*)instPointer)->characters((QString&)* (QString*)ch);
}
int qt_QXmlContentHandler_ignorableWhitespace( qt_QXmlContentHandler* instPointer,qt_QString * ch){
	return (int) ((QXmlContentHandler*)instPointer)->ignorableWhitespace((QString&)* (QString*)ch);
}
int qt_QXmlContentHandler_processingInstruction( qt_QXmlContentHandler* instPointer,qt_QString * target, qt_QString * data){
	return (int) ((QXmlContentHandler*)instPointer)->processingInstruction((QString&)* (QString*)target, (QString&)* (QString*)data);
}
int qt_QXmlContentHandler_skippedEntity( qt_QXmlContentHandler* instPointer,qt_QString * name){
	return (int) ((QXmlContentHandler*)instPointer)->skippedEntity((QString&)* (QString*)name);
}
qt_QString * qt_QXmlContentHandler_errorString( qt_QXmlContentHandler* instPointer){
	return (qt_QString *)new QString(((QXmlContentHandler*)instPointer)->errorString());
}
