diff options
author | Jan Dalheimer <jan@dalheimer.de> | 2014-05-21 15:57:34 +0200 |
---|---|---|
committer | Jan Dalheimer <jan@dalheimer.de> | 2014-05-21 15:57:34 +0200 |
commit | fc3c0b09719927fa8e0ce63a93b8f461f4928fdb (patch) | |
tree | ed81f15b305da904d63d0e0e74643aa0800a0919 /HandleCrash.h | |
parent | 94cb5c7d770866269d1a61ec6b3c76607eccee6f (diff) | |
parent | e6ca58a89e12bb2c7636dac91b6a1a609c6780b3 (diff) | |
download | PrismLauncher-fc3c0b09719927fa8e0ce63a93b8f461f4928fdb.tar.gz PrismLauncher-fc3c0b09719927fa8e0ce63a93b8f461f4928fdb.tar.bz2 PrismLauncher-fc3c0b09719927fa8e0ce63a93b8f461f4928fdb.zip |
Merge branch 'feature_crashreport' into develop
Diffstat (limited to 'HandleCrash.h')
-rw-r--r-- | HandleCrash.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/HandleCrash.h b/HandleCrash.h new file mode 100644 index 00000000..3b2e7d00 --- /dev/null +++ b/HandleCrash.h @@ -0,0 +1,18 @@ +// This is a simple header file for the crash handling system. It exposes only one method, +// initBlackMagic, which initializes the system, registering signal handlers, or doing +// whatever stupid things need to be done on Windows. +// The platform specific implementations for this system are in UnixCrash.cpp and +// WinCrash.cpp. + +#if defined Q_OS_WIN +#warning Crash handling is not yet implemented on Windows. +#elif defined Q_OS_UNIX +#else +#warning Crash handling is not supported on this platform. +#endif + +/** + * Initializes the crash handling system. + */ +void initBlackMagic(); + |