swift
Public Member Functions | Static Public Member Functions | List of all members
swift::misc::CCrashHandler Class Reference

Crash handler. More...

Inheritance diagram for swift::misc::CCrashHandler:
[legend]

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::CCrashInfogetCrashInfo () const
 Get crash info.
 
void simulateCrash ()
 Simulate a crash.
 
void simulateAssert ()
 Simulate an ASSERT.
 

Static Public Member Functions

static CCrashHandlerinstance ()
 Get singleton instance.
 

Detailed Description

Crash handler.

Definition at line 24 of file crashhandler.h.


The documentation for this class was generated from the following files: