/***************************************************************************
                            kde_HTMLOptionElement.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_HTMLOptionElement.h"
}

#include <dom/html_form.h>

class HTMLOptionElementBridge : public DOM::HTMLOptionElement
{
public:
	HTMLOptionElementBridge() : HTMLOptionElement() {}
	HTMLOptionElementBridge(const HTMLOptionElement& other) : HTMLOptionElement(other) {}
	HTMLOptionElementBridge(const Node& other) : HTMLOptionElement(other) {}
	~HTMLOptionElementBridge() {}
};

kde_HTMLOptionElement * kde_new_HTMLOptionElement(){
	return (kde_HTMLOptionElement *) new HTMLOptionElementBridge();
}
kde_HTMLOptionElement * kde_new_HTMLOptionElement1(kde_HTMLOptionElement* other){
	return (kde_HTMLOptionElement *) new HTMLOptionElementBridge((DOM::HTMLOptionElement&)* (DOM::HTMLOptionElement*)other);
}
kde_HTMLOptionElement * kde_new_HTMLOptionElement2(kde_DOMNode* other){
	return (kde_HTMLOptionElement *) new HTMLOptionElementBridge((DOM::Node&)* (DOM::Node*)other);
}
void kde_del_HTMLOptionElement( kde_HTMLOptionElement* p ){
	delete (HTMLOptionElementBridge*) p;
}
kde_HTMLFormElement* kde_HTMLOptionElement_form( kde_HTMLOptionElement* instPointer){
	return (kde_HTMLFormElement*)new DOM::HTMLFormElement(((HTMLOptionElementBridge*)instPointer)->form());
}
int kde_HTMLOptionElement_defaultSelected( kde_HTMLOptionElement* instPointer){
	return (int) ((HTMLOptionElementBridge*)instPointer)->defaultSelected();
}
void kde_HTMLOptionElement_setDefaultSelected( kde_HTMLOptionElement* instPointer,int arg1){
	((HTMLOptionElementBridge*)instPointer)->setDefaultSelected((bool)arg1);
	return;
}
kde_DOMString* kde_HTMLOptionElement_text( kde_HTMLOptionElement* instPointer){
	return (kde_DOMString*)new DOM::DOMString(((HTMLOptionElementBridge*)instPointer)->text());
}
long kde_HTMLOptionElement_index( kde_HTMLOptionElement* instPointer){
	return (long) ((HTMLOptionElementBridge*)instPointer)->index();
}
void kde_HTMLOptionElement_setIndex( kde_HTMLOptionElement* instPointer,long arg1){
	((HTMLOptionElementBridge*)instPointer)->setIndex((long)arg1);
	return;
}
int kde_HTMLOptionElement_disabled( kde_HTMLOptionElement* instPointer){
	return (int) ((HTMLOptionElementBridge*)instPointer)->disabled();
}
void kde_HTMLOptionElement_setDisabled( kde_HTMLOptionElement* instPointer,int arg1){
	((HTMLOptionElementBridge*)instPointer)->setDisabled((bool)arg1);
	return;
}
kde_DOMString* kde_HTMLOptionElement_label( kde_HTMLOptionElement* instPointer){
	return (kde_DOMString*)new DOM::DOMString(((HTMLOptionElementBridge*)instPointer)->label());
}
void kde_HTMLOptionElement_setLabel( kde_HTMLOptionElement* instPointer,kde_DOMString* arg1){
	((HTMLOptionElementBridge*)instPointer)->setLabel((DOM::DOMString&)* (DOM::DOMString*)arg1);
	return;
}
int kde_HTMLOptionElement_selected( kde_HTMLOptionElement* instPointer){
	return (int) ((HTMLOptionElementBridge*)instPointer)->selected();
}
void kde_HTMLOptionElement_setSelected( kde_HTMLOptionElement* instPointer,int arg1){
	((HTMLOptionElementBridge*)instPointer)->setSelected((bool)arg1);
	return;
}
kde_DOMString* kde_HTMLOptionElement_value( kde_HTMLOptionElement* instPointer){
	return (kde_DOMString*)new DOM::DOMString(((HTMLOptionElementBridge*)instPointer)->value());
}
void kde_HTMLOptionElement_setValue( kde_HTMLOptionElement* instPointer,kde_DOMString* arg1){
	((HTMLOptionElementBridge*)instPointer)->setValue((DOM::DOMString&)* (DOM::DOMString*)arg1);
	return;
}
