/***************************************************************************
                            kde_KCrash.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_KCrash.h"
}

#include <kcrash.h>

//typedef kde_KCrash_void( kde_KCrash* instPointer,* HandlerType)(int arg1){
//	return (typedef) ((KCrash*)instPointer)->void((* HandlerType)(int)arg1);
//}
void kde_KCrash_defaultCrashHandler( int signal){
	KCrash::defaultCrashHandler((int)signal);
	return;
}
//void kde_KCrash_setCrashHandler( qt_HandlerType* handler){
//	KCrash::setCrashHandler((HandlerType)* (HandlerType*)handler);
//	return;
//}
//qt_HandlerType* kde_KCrash_crashHandler( ){
//	return (qt_HandlerType*)new HandlerType(KCrash::crashHandler());
//}
//void kde_KCrash_setEmergencySaveFunction( HandlerType saveFunction 0){
//	KCrash::setEmergencySaveFunction((HandlerType saveFunction)0);
//	return;
//}
//qt_HandlerType* kde_KCrash_emergencySaveFunction( ){
//	return (qt_HandlerType*)new HandlerType(KCrash::emergencySaveFunction());
//}
void kde_KCrash_setApplicationPath( qt_QString * path){
	KCrash::setApplicationPath((QString)* (QString*)path);
	return;
}
void kde_KCrash_setApplicationName( qt_QString * name){
	KCrash::setApplicationName((QString)* (QString*)name);
	return;
}
