/***************************************************************************
 begin                : Tue Aug 6 2002
 copyright            : (C) 2002 by Christian Hubinger
 email                : chubinger@gmail.com
***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef KMFERRORHANDLER_H
#define KMFERRORHANDLER_H

#include <kdemacros.h>

/**
  *@author Christian Hubinger
  */

class KMFError;
class QString;
class KDE_EXPORT KMFErrorHandler {
public:
	KMFErrorHandler( const QString& name );
	~KMFErrorHandler();
	
	/** Show a messagebox with the error message if the 
		error type != OK */
	bool showError( KMFError* err );

private:
	QString *m_caller_name;
};


#endif
