/***************************************************************************
                            kde_HTMLPreElement.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_HTMLPreElement.h"
}

#include <dom/html_block.h>

class HTMLPreElementBridge : public DOM::HTMLPreElement
{
public:
	HTMLPreElementBridge() : HTMLPreElement() {}
	HTMLPreElementBridge(const HTMLPreElement& other) : HTMLPreElement(other) {}
	HTMLPreElementBridge(const Node& other) : HTMLPreElement(other) {}
	~HTMLPreElementBridge() {}
};

kde_HTMLPreElement * kde_new_HTMLPreElement(){
	return (kde_HTMLPreElement *) new HTMLPreElementBridge();
}
kde_HTMLPreElement * kde_new_HTMLPreElement1(kde_HTMLPreElement* other){
	return (kde_HTMLPreElement *) new HTMLPreElementBridge((DOM::HTMLPreElement&)* (DOM::HTMLPreElement*)other);
}
kde_HTMLPreElement * kde_new_HTMLPreElement2(kde_DOMNode* other){
	return (kde_HTMLPreElement *) new HTMLPreElementBridge((DOM::Node&)* (DOM::Node*)other);
}
void kde_del_HTMLPreElement( kde_HTMLPreElement* p ){
	delete (HTMLPreElementBridge*) p;
}
long kde_HTMLPreElement_width( kde_HTMLPreElement* instPointer){
	return (long) ((HTMLPreElementBridge*)instPointer)->width();
}
void kde_HTMLPreElement_setWidth( kde_HTMLPreElement* instPointer,long arg1){
	((HTMLPreElementBridge*)instPointer)->setWidth((long)arg1);
	return;
}
