/***************************************************************************
                            qt_QXmlSimpleReader.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_QXmlSimpleReader.h"
}

#include <qxml.h>

class QXmlSimpleReaderBridge : public QXmlSimpleReader
{
public:
	QXmlSimpleReaderBridge() : QXmlSimpleReader() {}
	~QXmlSimpleReaderBridge() {}
};

qt_QXmlSimpleReader * qt_new_QXmlSimpleReader(){
	return (qt_QXmlSimpleReader *) new QXmlSimpleReaderBridge();
}
void qt_del_QXmlSimpleReader( qt_QXmlSimpleReader* p ){
	delete (QXmlSimpleReaderBridge*) p;
}
int qt_QXmlSimpleReader_feature( qt_QXmlSimpleReader* instPointer,qt_QString * name, int* ok){
	return (int) ((QXmlSimpleReaderBridge*)instPointer)->feature((QString&)* (QString*)name, (bool*)ok);
}
void qt_QXmlSimpleReader_setFeature( qt_QXmlSimpleReader* instPointer,qt_QString * name, int value){
	((QXmlSimpleReaderBridge*)instPointer)->setFeature((QString&)* (QString*)name, (bool)value);
	return;
}
int qt_QXmlSimpleReader_hasFeature( qt_QXmlSimpleReader* instPointer,qt_QString * name){
	return (int) ((QXmlSimpleReaderBridge*)instPointer)->hasFeature((QString&)* (QString*)name);
}
void* qt_QXmlSimpleReader_property( qt_QXmlSimpleReader* instPointer,qt_QString * name, int* ok){
	return (void*) ((QXmlSimpleReaderBridge*)instPointer)->property((QString&)* (QString*)name, (bool*)ok);
}
void qt_QXmlSimpleReader_setProperty( qt_QXmlSimpleReader* instPointer,qt_QString * name, void* value){
	((QXmlSimpleReaderBridge*)instPointer)->setProperty((QString&)* (QString*)name, (void*)value);
	return;
}
int qt_QXmlSimpleReader_hasProperty( qt_QXmlSimpleReader* instPointer,qt_QString * name){
	return (int) ((QXmlSimpleReaderBridge*)instPointer)->hasProperty((QString&)* (QString*)name);
}
void qt_QXmlSimpleReader_setEntityResolver( qt_QXmlSimpleReader* instPointer,qt_QXmlEntityResolver* handler){
	((QXmlSimpleReaderBridge*)instPointer)->setEntityResolver((QXmlEntityResolver*)handler);
	return;
}
qt_QXmlEntityResolver* qt_QXmlSimpleReader_entityResolver( qt_QXmlSimpleReader* instPointer){
	return (qt_QXmlEntityResolver*) ((QXmlSimpleReaderBridge*)instPointer)->entityResolver();
}
void qt_QXmlSimpleReader_setDTDHandler( qt_QXmlSimpleReader* instPointer,qt_QXmlDTDHandler* handler){
	((QXmlSimpleReaderBridge*)instPointer)->setDTDHandler((QXmlDTDHandler*)handler);
	return;
}
qt_QXmlDTDHandler* qt_QXmlSimpleReader_DTDHandler( qt_QXmlSimpleReader* instPointer){
	return (qt_QXmlDTDHandler*) ((QXmlSimpleReaderBridge*)instPointer)->DTDHandler();
}
void qt_QXmlSimpleReader_setContentHandler( qt_QXmlSimpleReader* instPointer,qt_QXmlContentHandler* handler){
	((QXmlSimpleReaderBridge*)instPointer)->setContentHandler((QXmlContentHandler*)handler);
	return;
}
qt_QXmlContentHandler* qt_QXmlSimpleReader_contentHandler( qt_QXmlSimpleReader* instPointer){
	return (qt_QXmlContentHandler*) ((QXmlSimpleReaderBridge*)instPointer)->contentHandler();
}
void qt_QXmlSimpleReader_setErrorHandler( qt_QXmlSimpleReader* instPointer,qt_QXmlErrorHandler* handler){
	((QXmlSimpleReaderBridge*)instPointer)->setErrorHandler((QXmlErrorHandler*)handler);
	return;
}
qt_QXmlErrorHandler* qt_QXmlSimpleReader_errorHandler( qt_QXmlSimpleReader* instPointer){
	return (qt_QXmlErrorHandler*) ((QXmlSimpleReaderBridge*)instPointer)->errorHandler();
}
void qt_QXmlSimpleReader_setLexicalHandler( qt_QXmlSimpleReader* instPointer,qt_QXmlLexicalHandler* handler){
	((QXmlSimpleReaderBridge*)instPointer)->setLexicalHandler((QXmlLexicalHandler*)handler);
	return;
}
qt_QXmlLexicalHandler* qt_QXmlSimpleReader_lexicalHandler( qt_QXmlSimpleReader* instPointer){
	return (qt_QXmlLexicalHandler*) ((QXmlSimpleReaderBridge*)instPointer)->lexicalHandler();
}
void qt_QXmlSimpleReader_setDeclHandler( qt_QXmlSimpleReader* instPointer,qt_QXmlDeclHandler* handler){
	((QXmlSimpleReaderBridge*)instPointer)->setDeclHandler((QXmlDeclHandler*)handler);
	return;
}
qt_QXmlDeclHandler* qt_QXmlSimpleReader_declHandler( qt_QXmlSimpleReader* instPointer){
	return (qt_QXmlDeclHandler*) ((QXmlSimpleReaderBridge*)instPointer)->declHandler();
}
int qt_QXmlSimpleReader_parse( qt_QXmlSimpleReader* instPointer,qt_QXmlInputSource* input){
	return (int) ((QXmlSimpleReaderBridge*)instPointer)->parse((QXmlInputSource&)* (QXmlInputSource*)input);
}
int qt_QXmlSimpleReader_parse1( qt_QXmlSimpleReader* instPointer,qt_QXmlInputSource* input){
	return (int) ((QXmlSimpleReaderBridge*)instPointer)->parse((QXmlInputSource*)input);
}
int qt_QXmlSimpleReader_parse2( qt_QXmlSimpleReader* instPointer,qt_QXmlInputSource* input, int incremental){
	return (int) ((QXmlSimpleReaderBridge*)instPointer)->parse((QXmlInputSource*)input, (bool)incremental);
}
int qt_QXmlSimpleReader_parseContinue( qt_QXmlSimpleReader* instPointer){
	return (int) ((QXmlSimpleReaderBridge*)instPointer)->parseContinue();
}
