/***************************************************************************
                            kde_HTMLFormElement.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_HTMLFormElement.h"
}

#include <dom/html_form.h>

class HTMLFormElementBridge : public DOM::HTMLFormElement
{
public:
	HTMLFormElementBridge() : HTMLFormElement() {}
	HTMLFormElementBridge(const HTMLFormElement& other) : HTMLFormElement(other) {}
	HTMLFormElementBridge(const Node& other) : HTMLFormElement(other) {}
	~HTMLFormElementBridge() {}
};

kde_HTMLFormElement * kde_new_HTMLFormElement(){
	return (kde_HTMLFormElement *) new HTMLFormElementBridge();
}
kde_HTMLFormElement * kde_new_HTMLFormElement1(kde_HTMLFormElement* other){
	return (kde_HTMLFormElement *) new HTMLFormElementBridge((DOM::HTMLFormElement&)* (DOM::HTMLFormElement*)other);
}
kde_HTMLFormElement * kde_new_HTMLFormElement2(kde_DOMNode* other){
	return (kde_HTMLFormElement *) new HTMLFormElementBridge((DOM::Node&)* (DOM::Node*)other);
}
void kde_del_HTMLFormElement( kde_HTMLFormElement* p ){
	delete (HTMLFormElementBridge*) p;
}
kde_HTMLCollection* kde_HTMLFormElement_elements( kde_HTMLFormElement* instPointer){
	return (kde_HTMLCollection*)new DOM::HTMLCollection(((HTMLFormElementBridge*)instPointer)->elements());
}
long kde_HTMLFormElement_length( kde_HTMLFormElement* instPointer){
	return (long) ((HTMLFormElementBridge*)instPointer)->length();
}
kde_DOMString* kde_HTMLFormElement_name( kde_HTMLFormElement* instPointer){
	return (kde_DOMString*)new DOM::DOMString(((HTMLFormElementBridge*)instPointer)->name());
}
void kde_HTMLFormElement_setName( kde_HTMLFormElement* instPointer,kde_DOMString* arg1){
	((HTMLFormElementBridge*)instPointer)->setName((DOM::DOMString&)* (DOM::DOMString*)arg1);
	return;
}
kde_DOMString* kde_HTMLFormElement_acceptCharset( kde_HTMLFormElement* instPointer){
	return (kde_DOMString*)new DOM::DOMString(((HTMLFormElementBridge*)instPointer)->acceptCharset());
}
void kde_HTMLFormElement_setAcceptCharset( kde_HTMLFormElement* instPointer,kde_DOMString* arg1){
	((HTMLFormElementBridge*)instPointer)->setAcceptCharset((DOM::DOMString&)* (DOM::DOMString*)arg1);
	return;
}
kde_DOMString* kde_HTMLFormElement_action( kde_HTMLFormElement* instPointer){
	return (kde_DOMString*)new DOM::DOMString(((HTMLFormElementBridge*)instPointer)->action());
}
void kde_HTMLFormElement_setAction( kde_HTMLFormElement* instPointer,kde_DOMString* arg1){
	((HTMLFormElementBridge*)instPointer)->setAction((DOM::DOMString&)* (DOM::DOMString*)arg1);
	return;
}
kde_DOMString* kde_HTMLFormElement_enctype( kde_HTMLFormElement* instPointer){
	return (kde_DOMString*)new DOM::DOMString(((HTMLFormElementBridge*)instPointer)->enctype());
}
void kde_HTMLFormElement_setEnctype( kde_HTMLFormElement* instPointer,kde_DOMString* arg1){
	((HTMLFormElementBridge*)instPointer)->setEnctype((DOM::DOMString&)* (DOM::DOMString*)arg1);
	return;
}
kde_DOMString* kde_HTMLFormElement_method( kde_HTMLFormElement* instPointer){
	return (kde_DOMString*)new DOM::DOMString(((HTMLFormElementBridge*)instPointer)->method());
}
void kde_HTMLFormElement_setMethod( kde_HTMLFormElement* instPointer,kde_DOMString* arg1){
	((HTMLFormElementBridge*)instPointer)->setMethod((DOM::DOMString&)* (DOM::DOMString*)arg1);
	return;
}
kde_DOMString* kde_HTMLFormElement_target( kde_HTMLFormElement* instPointer){
	return (kde_DOMString*)new DOM::DOMString(((HTMLFormElementBridge*)instPointer)->target());
}
void kde_HTMLFormElement_setTarget( kde_HTMLFormElement* instPointer,kde_DOMString* arg1){
	((HTMLFormElementBridge*)instPointer)->setTarget((DOM::DOMString&)* (DOM::DOMString*)arg1);
	return;
}
void kde_HTMLFormElement_submit( kde_HTMLFormElement* instPointer){
	((HTMLFormElementBridge*)instPointer)->submit();
	return;
}
void kde_HTMLFormElement_reset( kde_HTMLFormElement* instPointer){
	((HTMLFormElementBridge*)instPointer)->reset();
	return;
}
