/***************************************************************************
                            kde_EntityReference.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_EntityReference.h"
}

#include <dom/dom_xml.h>

class EntityReferenceBridge : public DOM::EntityReference
{
public:
	EntityReferenceBridge() : EntityReference() {}
	EntityReferenceBridge(const EntityReference& other) : EntityReference(other) {}
	EntityReferenceBridge(const Node& other) : EntityReference(other) {}
	~EntityReferenceBridge() {}
};

kde_EntityReference * kde_new_EntityReference(){
	return (kde_EntityReference *) new EntityReferenceBridge();
}
kde_EntityReference * kde_new_EntityReference1(kde_EntityReference* other){
	return (kde_EntityReference *) new EntityReferenceBridge((DOM::EntityReference&)* (DOM::EntityReference*)other);
}
kde_EntityReference * kde_new_EntityReference2(kde_DOMNode* other){
	return (kde_EntityReference *) new EntityReferenceBridge((DOM::Node&)* (DOM::Node*)other);
}
void kde_del_EntityReference( kde_EntityReference* p ){
	delete (EntityReferenceBridge*) p;
}
