/***************************************************************************
                            kde_HTMLSelectElement.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_HTMLSelectElement.h"
}

#include <dom/html_form.h>

class HTMLSelectElementBridge : public DOM::HTMLSelectElement
{
public:
	HTMLSelectElementBridge() : HTMLSelectElement() {}
	HTMLSelectElementBridge(const HTMLSelectElement& other) : HTMLSelectElement(other) {}
	HTMLSelectElementBridge(const Node& other) : HTMLSelectElement(other) {}
	~HTMLSelectElementBridge() {}
};

kde_HTMLSelectElement * kde_new_HTMLSelectElement(){
	return (kde_HTMLSelectElement *) new HTMLSelectElementBridge();
}
kde_HTMLSelectElement * kde_new_HTMLSelectElement1(kde_HTMLSelectElement* other){
	return (kde_HTMLSelectElement *) new HTMLSelectElementBridge((DOM::HTMLSelectElement&)* (DOM::HTMLSelectElement*)other);
}
kde_HTMLSelectElement * kde_new_HTMLSelectElement2(kde_DOMNode* other){
	return (kde_HTMLSelectElement *) new HTMLSelectElementBridge((DOM::Node&)* (DOM::Node*)other);
}
void kde_del_HTMLSelectElement( kde_HTMLSelectElement* p ){
	delete (HTMLSelectElementBridge*) p;
}
kde_DOMString* kde_HTMLSelectElement_type( kde_HTMLSelectElement* instPointer){
	return (kde_DOMString*)new DOM::DOMString(((HTMLSelectElementBridge*)instPointer)->type());
}
long kde_HTMLSelectElement_selectedIndex( kde_HTMLSelectElement* instPointer){
	return (long) ((HTMLSelectElementBridge*)instPointer)->selectedIndex();
}
void kde_HTMLSelectElement_setSelectedIndex( kde_HTMLSelectElement* instPointer,long arg1){
	((HTMLSelectElementBridge*)instPointer)->setSelectedIndex((long)arg1);
	return;
}
kde_DOMString* kde_HTMLSelectElement_value( kde_HTMLSelectElement* instPointer){
	return (kde_DOMString*)new DOM::DOMString(((HTMLSelectElementBridge*)instPointer)->value());
}
void kde_HTMLSelectElement_setValue( kde_HTMLSelectElement* instPointer,kde_DOMString* arg1){
	((HTMLSelectElementBridge*)instPointer)->setValue((DOM::DOMString&)* (DOM::DOMString*)arg1);
	return;
}
long kde_HTMLSelectElement_length( kde_HTMLSelectElement* instPointer){
	return (long) ((HTMLSelectElementBridge*)instPointer)->length();
}
kde_HTMLFormElement* kde_HTMLSelectElement_form( kde_HTMLSelectElement* instPointer){
	return (kde_HTMLFormElement*)new DOM::HTMLFormElement(((HTMLSelectElementBridge*)instPointer)->form());
}
kde_HTMLCollection* kde_HTMLSelectElement_options( kde_HTMLSelectElement* instPointer){
	return (kde_HTMLCollection*)new DOM::HTMLCollection(((HTMLSelectElementBridge*)instPointer)->options());
}
int kde_HTMLSelectElement_disabled( kde_HTMLSelectElement* instPointer){
	return (int) ((HTMLSelectElementBridge*)instPointer)->disabled();
}
void kde_HTMLSelectElement_setDisabled( kde_HTMLSelectElement* instPointer,int arg1){
	((HTMLSelectElementBridge*)instPointer)->setDisabled((bool)arg1);
	return;
}
int kde_HTMLSelectElement_multiple( kde_HTMLSelectElement* instPointer){
	return (int) ((HTMLSelectElementBridge*)instPointer)->multiple();
}
void kde_HTMLSelectElement_setMultiple( kde_HTMLSelectElement* instPointer,int arg1){
	((HTMLSelectElementBridge*)instPointer)->setMultiple((bool)arg1);
	return;
}
kde_DOMString* kde_HTMLSelectElement_name( kde_HTMLSelectElement* instPointer){
	return (kde_DOMString*)new DOM::DOMString(((HTMLSelectElementBridge*)instPointer)->name());
}
void kde_HTMLSelectElement_setName( kde_HTMLSelectElement* instPointer,kde_DOMString* arg1){
	((HTMLSelectElementBridge*)instPointer)->setName((DOM::DOMString&)* (DOM::DOMString*)arg1);
	return;
}
long kde_HTMLSelectElement_size( kde_HTMLSelectElement* instPointer){
	return (long) ((HTMLSelectElementBridge*)instPointer)->size();
}
void kde_HTMLSelectElement_setSize( kde_HTMLSelectElement* instPointer,long arg1){
	((HTMLSelectElementBridge*)instPointer)->setSize((long)arg1);
	return;
}
long kde_HTMLSelectElement_tabIndex( kde_HTMLSelectElement* instPointer){
	return (long) ((HTMLSelectElementBridge*)instPointer)->tabIndex();
}
void kde_HTMLSelectElement_setTabIndex( kde_HTMLSelectElement* instPointer,long arg1){
	((HTMLSelectElementBridge*)instPointer)->setTabIndex((long)arg1);
	return;
}
void kde_HTMLSelectElement_add( kde_HTMLSelectElement* instPointer,kde_HTMLElement* element, kde_HTMLElement* before){
	((HTMLSelectElementBridge*)instPointer)->add((DOM::HTMLElement&)* (DOM::HTMLElement*)element, (DOM::HTMLElement&)* (DOM::HTMLElement*)before);
	return;
}
void kde_HTMLSelectElement_remove( kde_HTMLSelectElement* instPointer,long index){
	((HTMLSelectElementBridge*)instPointer)->remove((long)index);
	return;
}
void kde_HTMLSelectElement_blur( kde_HTMLSelectElement* instPointer){
	((HTMLSelectElementBridge*)instPointer)->blur();
	return;
}
void kde_HTMLSelectElement_focus( kde_HTMLSelectElement* instPointer){
	((HTMLSelectElementBridge*)instPointer)->focus();
	return;
}
