/***************************************************************************
                            kde_DocumentFragment.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_DocumentFragment.h"
}

#include <dom/dom_doc.h>

class DocumentFragmentBridge : public DOM::DocumentFragment
{
public:
	DocumentFragmentBridge() : DocumentFragment() {}
	DocumentFragmentBridge(const DocumentFragment& other) : DocumentFragment(other) {}
	DocumentFragmentBridge(const Node& other) : DocumentFragment(other) {}
	~DocumentFragmentBridge() {}
};

kde_DocumentFragment * kde_new_DocumentFragment(){
	return (kde_DocumentFragment *) new DocumentFragmentBridge();
}
kde_DocumentFragment * kde_new_DocumentFragment1(kde_DocumentFragment* other){
	return (kde_DocumentFragment *) new DocumentFragmentBridge((DOM::DocumentFragment&)* (DOM::DocumentFragment*)other);
}
kde_DocumentFragment * kde_new_DocumentFragment2(kde_DOMNode* other){
	return (kde_DocumentFragment *) new DocumentFragmentBridge((DOM::Node&)* (DOM::Node*)other);
}
void kde_del_DocumentFragment( kde_DocumentFragment* p ){
	delete (DocumentFragmentBridge*) p;
}
