From d76ff81b7c1beffef0b84e570914c8f2d47834e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 27 Jul 2013 16:34:45 +0200 Subject: Initial import of tork 0.33 --- src/crashhandler.h | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/crashhandler.h (limited to 'src/crashhandler.h') diff --git a/src/crashhandler.h b/src/crashhandler.h new file mode 100644 index 0000000..34c2c68 --- /dev/null +++ b/src/crashhandler.h @@ -0,0 +1,34 @@ +/*************************************************************************** + * Copyright (C) 2006 - 2008 Robert Hogan * + * robert@roberthogan.net * + * Copyright (C) 2005 Max Howell * + * * + * 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 CRASH_H +#define CRASH_H + +#include //for main.cpp + +namespace torK +{ + /** + * @author Max Howell + * @short The Amarok crash-handler + * + * I'm not entirely sure why this had to be inside a class, but it + * wouldn't work otherwise *shrug* + */ + class Crash + { + public: + static void crashHandler( int signal ); + }; +} + +#endif -- cgit v1.2.1