/***************************************************************************
                            kde_DocumentType.cpp -  description
                             -------------------
    begin                : Wed Feb  6 15:12:26 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Feb  6 15:12:26 2002, 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 "kde_DocumentType.h"
}

#include <dom/dom_doc.h>

class DocumentTypeBridge : public DOM::DocumentType
{
public:
	DocumentTypeBridge() : DocumentType() {}
	DocumentTypeBridge(const DocumentType& other) : DocumentType(other) {}
	DocumentTypeBridge(const Node& other) : DocumentType(other) {}
	~DocumentTypeBridge() {}
};

kde_DocumentType * kde_new_DocumentType(){
	return (kde_DocumentType *) new DocumentTypeBridge();
}
kde_DocumentType * kde_new_DocumentType1(kde_DocumentType* other){
	return (kde_DocumentType *) new DocumentTypeBridge((DOM::DocumentType&)* (DOM::DocumentType*)other);
}
kde_DocumentType * kde_new_DocumentType2(kde_DOMNode* other){
	return (kde_DocumentType *) new DocumentTypeBridge((DOM::Node&)* (DOM::Node*)other);
}
void kde_del_DocumentType( kde_DocumentType* p ){
	delete (DocumentTypeBridge*) p;
}
kde_DOMString* kde_DocumentType_name( kde_DocumentType* instPointer){
	return (kde_DOMString*)new DOM::DOMString(((DocumentTypeBridge*)instPointer)->name());
}
kde_NamedNodeMap* kde_DocumentType_entities( kde_DocumentType* instPointer){
	return (kde_NamedNodeMap*)new DOM::NamedNodeMap(((DocumentTypeBridge*)instPointer)->entities());
}
kde_NamedNodeMap* kde_DocumentType_notations( kde_DocumentType* instPointer){
	return (kde_NamedNodeMap*)new DOM::NamedNodeMap(((DocumentTypeBridge*)instPointer)->notations());
}
kde_DOMString* kde_DocumentType_publicId( kde_DocumentType* instPointer){
	return (kde_DOMString*)new DOM::DOMString(((DocumentTypeBridge*)instPointer)->publicId());
}
kde_DOMString* kde_DocumentType_systemId( kde_DocumentType* instPointer){
	return (kde_DOMString*)new DOM::DOMString(((DocumentTypeBridge*)instPointer)->systemId());
}
kde_DOMString* kde_DocumentType_internalSubset( kde_DocumentType* instPointer){
	return (kde_DOMString*)new DOM::DOMString(((DocumentTypeBridge*)instPointer)->internalSubset());
}
