/***************************************************************************
                            kde_HTMLLegendElement.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_HTMLLegendElement.h"
}

#include <dom/html_form.h>

class HTMLLegendElementBridge : public DOM::HTMLLegendElement
{
public:
	HTMLLegendElementBridge() : HTMLLegendElement() {}
	HTMLLegendElementBridge(const HTMLLegendElement& other) : HTMLLegendElement(other) {}
	HTMLLegendElementBridge(const Node& other) : HTMLLegendElement(other) {}
	~HTMLLegendElementBridge() {}
};

kde_HTMLLegendElement * kde_new_HTMLLegendElement(){
	return (kde_HTMLLegendElement *) new HTMLLegendElementBridge();
}
kde_HTMLLegendElement * kde_new_HTMLLegendElement1(kde_HTMLLegendElement* other){
	return (kde_HTMLLegendElement *) new HTMLLegendElementBridge((DOM::HTMLLegendElement&)* (DOM::HTMLLegendElement*)other);
}
kde_HTMLLegendElement * kde_new_HTMLLegendElement2(kde_DOMNode* other){
	return (kde_HTMLLegendElement *) new HTMLLegendElementBridge((DOM::Node&)* (DOM::Node*)other);
}
void kde_del_HTMLLegendElement( kde_HTMLLegendElement* p ){
	delete (HTMLLegendElementBridge*) p;
}
kde_HTMLFormElement* kde_HTMLLegendElement_form( kde_HTMLLegendElement* instPointer){
	return (kde_HTMLFormElement*)new DOM::HTMLFormElement(((HTMLLegendElementBridge*)instPointer)->form());
}
kde_DOMString* kde_HTMLLegendElement_accessKey( kde_HTMLLegendElement* instPointer){
	return (kde_DOMString*)new DOM::DOMString(((HTMLLegendElementBridge*)instPointer)->accessKey());
}
void kde_HTMLLegendElement_setAccessKey( kde_HTMLLegendElement* instPointer,kde_DOMString* arg1){
	((HTMLLegendElementBridge*)instPointer)->setAccessKey((DOM::DOMString&)* (DOM::DOMString*)arg1);
	return;
}
kde_DOMString* kde_HTMLLegendElement_align( kde_HTMLLegendElement* instPointer){
	return (kde_DOMString*)new DOM::DOMString(((HTMLLegendElementBridge*)instPointer)->align());
}
void kde_HTMLLegendElement_setAlign( kde_HTMLLegendElement* instPointer,kde_DOMString* arg1){
	((HTMLLegendElementBridge*)instPointer)->setAlign((DOM::DOMString&)* (DOM::DOMString*)arg1);
	return;
}
