/***************************************************************************
                            kde_KLibrary.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_KLibrary.h"
}

#include <klibloader.h>



kde_KLibrary * kde_new_KLibrary(qt_QString * libname, qt_QString * filename, void* handle){
	return (kde_KLibrary *) new KLibrary((QString&)* (QString*)libname, (QString&)* (QString*)filename, (void*)handle);
}
qt_QString * kde_KLibrary_name( kde_KLibrary* instPointer){
	return (qt_QString *)new QString(((KLibrary*)instPointer)->name());
}
qt_QString * kde_KLibrary_fileName( kde_KLibrary* instPointer){
	return (qt_QString *)new QString(((KLibrary*)instPointer)->fileName());
}
kde_KLibFactory* kde_KLibrary_factory( kde_KLibrary* instPointer){
	return (kde_KLibFactory*) ((KLibrary*)instPointer)->factory();
}
void* kde_KLibrary_symbol( kde_KLibrary* instPointer,char* name){
	return (void*) ((KLibrary*)instPointer)->symbol((char*)name);
}
void kde_KLibrary_unload( kde_KLibrary* instPointer){
	((KLibrary*)instPointer)->unload();
	return;
}
