2012-02-20 21:47:14 +00:00
|
|
|
/* This file is (c) 2008-2012 Konstantin Isakov <ikm@goldendict.org>
|
2010-01-17 13:04:55 +00:00
|
|
|
* Part of GoldenDict. Licensed under GPLv3 or later, see the LICENSE file */
|
|
|
|
|
|
|
|
#ifndef TERMINATION_HH
|
|
|
|
#define TERMINATION_HH
|
|
|
|
|
2013-09-20 14:25:44 +00:00
|
|
|
#include <QFile>
|
|
|
|
|
2018-05-22 14:37:21 +00:00
|
|
|
extern QFile * logFilePtr;
|
2013-09-20 14:25:44 +00:00
|
|
|
|
2010-01-17 13:04:55 +00:00
|
|
|
// Installs the termination handler which attempts to pop Qt's dialog showing
|
|
|
|
// the exception and backtrace, and then aborts.
|
|
|
|
void installTerminationHandler();
|
|
|
|
|
|
|
|
#endif // TERMINATION_HH
|