/***************************************************************************
                            kde_NamedNodeMap.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_NamedNodeMap.h"
}

#include <dom/dom_node.h>

class NamedNodeMapBridge : public DOM::NamedNodeMap
{
public:
	NamedNodeMapBridge() : NamedNodeMap() {}
	NamedNodeMapBridge(const NamedNodeMap& other) : NamedNodeMap(other) {}
	~NamedNodeMapBridge() {}
};

kde_NamedNodeMap * kde_new_NamedNodeMap(){
	return (kde_NamedNodeMap *) new NamedNodeMapBridge();
}
kde_NamedNodeMap * kde_new_NamedNodeMap1(kde_NamedNodeMap* other){
	return (kde_NamedNodeMap *) new NamedNodeMapBridge((DOM::NamedNodeMap&)* (DOM::NamedNodeMap*)other);
}
void kde_del_NamedNodeMap( kde_NamedNodeMap* p ){
	delete (NamedNodeMapBridge*) p;
}
unsigned long kde_NamedNodeMap_length( kde_NamedNodeMap* instPointer){
	return (unsigned long) ((NamedNodeMapBridge*)instPointer)->length();
}
kde_DOMNode* kde_NamedNodeMap_getNamedItem( kde_NamedNodeMap* instPointer,kde_DOMString* name){
	return (kde_DOMNode*)new DOM::Node(((NamedNodeMapBridge*)instPointer)->getNamedItem((DOM::DOMString&)* (DOM::DOMString*)name));
}
kde_DOMNode* kde_NamedNodeMap_setNamedItem( kde_NamedNodeMap* instPointer,kde_DOMNode* arg){
	return (kde_DOMNode*)new DOM::Node(((NamedNodeMapBridge*)instPointer)->setNamedItem((DOM::Node&)* (DOM::Node*)arg));
}
kde_DOMNode* kde_NamedNodeMap_removeNamedItem( kde_NamedNodeMap* instPointer,kde_DOMString* name){
	return (kde_DOMNode*)new DOM::Node(((NamedNodeMapBridge*)instPointer)->removeNamedItem((DOM::DOMString&)* (DOM::DOMString*)name));
}
kde_DOMNode* kde_NamedNodeMap_item( kde_NamedNodeMap* instPointer,unsigned long index){
	return (kde_DOMNode*)new DOM::Node(((NamedNodeMapBridge*)instPointer)->item((unsigned long)index));
}
kde_DOMNode* kde_NamedNodeMap_getNamedItemNS( kde_NamedNodeMap* instPointer,kde_DOMString* namespaceURI, kde_DOMString* localName){
	return (kde_DOMNode*)new DOM::Node(((NamedNodeMapBridge*)instPointer)->getNamedItemNS((DOM::DOMString&)* (DOM::DOMString*)namespaceURI, (DOM::DOMString&)* (DOM::DOMString*)localName));
}
kde_DOMNode* kde_NamedNodeMap_setNamedItemNS( kde_NamedNodeMap* instPointer,kde_DOMNode* arg){
	return (kde_DOMNode*)new DOM::Node(((NamedNodeMapBridge*)instPointer)->setNamedItemNS((DOM::Node&)* (DOM::Node*)arg));
}
kde_DOMNode* kde_NamedNodeMap_removeNamedItemNS( kde_NamedNodeMap* instPointer,kde_DOMString* namespaceURI, kde_DOMString* localName){
	return (kde_DOMNode*)new DOM::Node(((NamedNodeMapBridge*)instPointer)->removeNamedItemNS((DOM::DOMString&)* (DOM::DOMString*)namespaceURI, (DOM::DOMString&)* (DOM::DOMString*)localName));
}
//kde_NamedNodeMapImpl* kde_NamedNodeMap_handle( kde_NamedNodeMap* instPointer,) throw( arg1){
//	return (kde_NamedNodeMapImpl*) ((NamedNodeMapBridge*)instPointer)->handle(() throw()arg1);
//}
//int kde_NamedNodeMap_isNull( kde_NamedNodeMap* instPointer,) throw( arg1){
//	return (int) ((NamedNodeMapBridge*)instPointer)->isNull(() throw()arg1);
//}
