/***************************************************************************
                            kde_ProcessingInstruction.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_ProcessingInstruction.h"
}

#include <dom/dom_xml.h>

class ProcessingInstructionBridge : public DOM::ProcessingInstruction
{
public:
	ProcessingInstructionBridge() : ProcessingInstruction() {}
	ProcessingInstructionBridge(const ProcessingInstruction& other) : ProcessingInstruction(other) {}
	ProcessingInstructionBridge(const Node& other) : ProcessingInstruction(other) {}
	~ProcessingInstructionBridge() {}
};

kde_ProcessingInstruction * kde_new_ProcessingInstruction(){
	return (kde_ProcessingInstruction *) new ProcessingInstructionBridge();
}
kde_ProcessingInstruction * kde_new_ProcessingInstruction1(kde_ProcessingInstruction* other){
	return (kde_ProcessingInstruction *) new ProcessingInstructionBridge((DOM::ProcessingInstruction&)* (DOM::ProcessingInstruction*)other);
}
kde_ProcessingInstruction * kde_new_ProcessingInstruction2(kde_DOMNode* other){
	return (kde_ProcessingInstruction *) new ProcessingInstructionBridge((DOM::Node&)* (DOM::Node*)other);
}
void kde_del_ProcessingInstruction( kde_ProcessingInstruction* p ){
	delete (ProcessingInstructionBridge*) p;
}
kde_DOMString* kde_ProcessingInstruction_target( kde_ProcessingInstruction* instPointer){
	return (kde_DOMString*)new DOM::DOMString(((ProcessingInstructionBridge*)instPointer)->target());
}
kde_DOMString* kde_ProcessingInstruction_data( kde_ProcessingInstruction* instPointer){
	return (kde_DOMString*)new DOM::DOMString(((ProcessingInstructionBridge*)instPointer)->data());
}
void kde_ProcessingInstruction_setData( kde_ProcessingInstruction* instPointer,kde_DOMString* arg1){
	((ProcessingInstructionBridge*)instPointer)->setData((DOM::DOMString&)* (DOM::DOMString*)arg1);
	return;
}
kde_StyleSheet* kde_ProcessingInstruction_sheet( kde_ProcessingInstruction* instPointer){
	return (kde_StyleSheet*)new DOM::StyleSheet(((ProcessingInstructionBridge*)instPointer)->sheet());
}
