swift
|
Crash handler. More...
Public Member Functions | |
virtual | ~CCrashHandler () |
Destructor. | |
void | init () |
Initialize and start crashpad handler process. | |
void | setUploadsEnabled (bool enable) |
Enable/disable automatic uploading. | |
bool | isCrashDumpUploadEnabled () const |
Is automatic dump uploading enabled? | |
void | setCrashInfo (const swift::misc::CCrashInfo &info) |
Extra annotation for crash to easier identify annotation. | |
void | crashAndLogInfoUserName (const QString &name) |
Set user name for crash info. | |
void | crashAndLogInfoSimulator (const QString &simulator) |
Set simulator string in crash info. | |
void | crashAndLogInfoFlightNetwork (const QString &flightNetwork) |
Set flight network in crash info. | |
void | crashAndLogAppendInfo (const QString &info) |
Append crash info. | |
const swift::misc::CCrashInfo & | getCrashInfo () const |
Get crash info. | |
void | simulateCrash () |
Simulate a crash. | |
void | simulateAssert () |
Simulate an ASSERT. | |
Static Public Member Functions | |
static CCrashHandler * | instance () |
Get singleton instance. | |
Crash handler.
Definition at line 24 of file crashhandler.h.