/***************************************************************************
                            QXmlReader.h -  description
                             -------------------
    begin                : Wed Nov 21 12:08:37 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 12:08:37 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.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef QXMLREADER_H
#define QXMLREADER_H

#include <Foundation/NSObject.h>
#include <Foundation/NSString.h>
#include <qtobjc/QtSupport.h>

#include <qtobjc/QXmlEntityResolver.h>
#include <qtobjc/QXmlDTDHandler.h>
#include <qtobjc/QXmlContentHandler.h>
#include <qtobjc/QXmlErrorHandler.h>
#include <qtobjc/QXmlLexicalHandler.h>
#include <qtobjc/QXmlDeclHandler.h>
#include <qtobjc/QXmlInputSource.h>

@interface  QXmlReader : NSObject <QtSupport>
{
@private
	void * _qt;
	BOOL  _allocatedInObjcWorld;
}
- (BOOL) feature: (NSString *)name ok: (int*)ok;
- (BOOL) feature: (NSString *)name ;
- setFeature: (NSString *)name value: (BOOL)value;
- (BOOL) hasFeature: (NSString *)name;
- (void*) property: (NSString *)name ok: (int*)ok;
- (void*) property: (NSString *)name ;
- setProperty: (NSString *)name value: (void*)value;
- (BOOL) hasProperty: (NSString *)name;
- setEntityResolver: (QXmlEntityResolver*)handler;
- (QXmlEntityResolver*) entityResolver;
- setDTDHandler: (QXmlDTDHandler*)handler;
- (QXmlDTDHandler*) DTDHandler;
- setContentHandler: (QXmlContentHandler*)handler;
- (QXmlContentHandler*) contentHandler;
- setErrorHandler: (QXmlErrorHandler*)handler;
- (QXmlErrorHandler*) errorHandler;
- setLexicalHandler: (QXmlLexicalHandler*)handler;
- (QXmlLexicalHandler*) lexicalHandler;
- setDeclHandler: (QXmlDeclHandler*)handler;
- (QXmlDeclHandler*) declHandler;
- (BOOL) parse: (QXmlInputSource*)input;
- (BOOL) parse: (QXmlInputSource*)input;
@end

#endif
