/***************************************************************************
                            kde_HTMLTableRowElement.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_HTMLTableRowElement.h"
}

#include <dom/html_table.h>
#include <dom/html_misc.h>

class HTMLTableRowElementBridge : public DOM::HTMLTableRowElement
{
public:
	HTMLTableRowElementBridge() : HTMLTableRowElement() {}
	HTMLTableRowElementBridge(const HTMLTableRowElement& other) : HTMLTableRowElement(other) {}
	HTMLTableRowElementBridge(const Node& other) : HTMLTableRowElement(other) {}
	~HTMLTableRowElementBridge() {}
};

kde_HTMLTableRowElement * kde_new_HTMLTableRowElement(){
	return (kde_HTMLTableRowElement *) new HTMLTableRowElementBridge();
}
kde_HTMLTableRowElement * kde_new_HTMLTableRowElement1(kde_HTMLTableRowElement* other){
	return (kde_HTMLTableRowElement *) new HTMLTableRowElementBridge((DOM::HTMLTableRowElement&)* (DOM::HTMLTableRowElement*)other);
}
kde_HTMLTableRowElement * kde_new_HTMLTableRowElement2(kde_DOMNode* other){
	return (kde_HTMLTableRowElement *) new HTMLTableRowElementBridge((DOM::Node&)* (DOM::Node*)other);
}
void kde_del_HTMLTableRowElement( kde_HTMLTableRowElement* p ){
	delete (HTMLTableRowElementBridge*) p;
}
long kde_HTMLTableRowElement_rowIndex( kde_HTMLTableRowElement* instPointer){
	return (long) ((HTMLTableRowElementBridge*)instPointer)->rowIndex();
}
void kde_HTMLTableRowElement_setRowIndex( kde_HTMLTableRowElement* instPointer,long arg1){
	((HTMLTableRowElementBridge*)instPointer)->setRowIndex((long)arg1);
	return;
}
long kde_HTMLTableRowElement_sectionRowIndex( kde_HTMLTableRowElement* instPointer){
	return (long) ((HTMLTableRowElementBridge*)instPointer)->sectionRowIndex();
}
void kde_HTMLTableRowElement_setSectionRowIndex( kde_HTMLTableRowElement* instPointer,long arg1){
	((HTMLTableRowElementBridge*)instPointer)->setSectionRowIndex((long)arg1);
	return;
}
kde_HTMLCollection* kde_HTMLTableRowElement_cells( kde_HTMLTableRowElement* instPointer){
	return (kde_HTMLCollection*)new DOM::HTMLCollection(((HTMLTableRowElementBridge*)instPointer)->cells());
}
void kde_HTMLTableRowElement_setCells( kde_HTMLTableRowElement* instPointer,kde_HTMLCollection* arg1){
	((HTMLTableRowElementBridge*)instPointer)->setCells((DOM::HTMLCollection&)* (DOM::HTMLCollection*)arg1);
	return;
}
kde_DOMString* kde_HTMLTableRowElement_align( kde_HTMLTableRowElement* instPointer){
	return (kde_DOMString*)new DOM::DOMString(((HTMLTableRowElementBridge*)instPointer)->align());
}
void kde_HTMLTableRowElement_setAlign( kde_HTMLTableRowElement* instPointer,kde_DOMString* arg1){
	((HTMLTableRowElementBridge*)instPointer)->setAlign((DOM::DOMString&)* (DOM::DOMString*)arg1);
	return;
}
kde_DOMString* kde_HTMLTableRowElement_bgColor( kde_HTMLTableRowElement* instPointer){
	return (kde_DOMString*)new DOM::DOMString(((HTMLTableRowElementBridge*)instPointer)->bgColor());
}
void kde_HTMLTableRowElement_setBgColor( kde_HTMLTableRowElement* instPointer,kde_DOMString* arg1){
	((HTMLTableRowElementBridge*)instPointer)->setBgColor((DOM::DOMString&)* (DOM::DOMString*)arg1);
	return;
}
kde_DOMString* kde_HTMLTableRowElement_ch( kde_HTMLTableRowElement* instPointer){
	return (kde_DOMString*)new DOM::DOMString(((HTMLTableRowElementBridge*)instPointer)->ch());
}
void kde_HTMLTableRowElement_setCh( kde_HTMLTableRowElement* instPointer,kde_DOMString* arg1){
	((HTMLTableRowElementBridge*)instPointer)->setCh((DOM::DOMString&)* (DOM::DOMString*)arg1);
	return;
}
kde_DOMString* kde_HTMLTableRowElement_chOff( kde_HTMLTableRowElement* instPointer){
	return (kde_DOMString*)new DOM::DOMString(((HTMLTableRowElementBridge*)instPointer)->chOff());
}
void kde_HTMLTableRowElement_setChOff( kde_HTMLTableRowElement* instPointer,kde_DOMString* arg1){
	((HTMLTableRowElementBridge*)instPointer)->setChOff((DOM::DOMString&)* (DOM::DOMString*)arg1);
	return;
}
kde_DOMString* kde_HTMLTableRowElement_vAlign( kde_HTMLTableRowElement* instPointer){
	return (kde_DOMString*)new DOM::DOMString(((HTMLTableRowElementBridge*)instPointer)->vAlign());
}
void kde_HTMLTableRowElement_setVAlign( kde_HTMLTableRowElement* instPointer,kde_DOMString* arg1){
	((HTMLTableRowElementBridge*)instPointer)->setVAlign((DOM::DOMString&)* (DOM::DOMString*)arg1);
	return;
}
kde_HTMLElement* kde_HTMLTableRowElement_insertCell( kde_HTMLTableRowElement* instPointer,long index){
	return (kde_HTMLElement*)new DOM::HTMLElement(((HTMLTableRowElementBridge*)instPointer)->insertCell((long)index));
}
void kde_HTMLTableRowElement_deleteCell( kde_HTMLTableRowElement* instPointer,long index){
	((HTMLTableRowElementBridge*)instPointer)->deleteCell((long)index);
	return;
}
