/***************************************************************************
                            kde_KDataTool.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_KDataTool.h"
}

#include <kdatatool.h>

void kde_KDataTool_setInstance( kde_KDataTool* instPointer,kde_KInstance* instance){
	((KDataTool*)instPointer)->setInstance((KInstance*)instance);
	return;
}
kde_KInstance* kde_KDataTool_instance( kde_KDataTool* instPointer){
	return (kde_KInstance*) ((KDataTool*)instPointer)->instance();
}
int kde_KDataTool_run( kde_KDataTool* instPointer,qt_QString * command, void* data, qt_QString * datatype, qt_QString * mimetype){
	return (int) ((KDataTool*)instPointer)->run((QString&)* (QString*)command, (void*)data, (QString&)* (QString*)datatype, (QString&)* (QString*)mimetype);
}
