Safir SDK Core
Loading...
Searching...
No Matches
CrashReporter.h
Go to the documentation of this file.
1/******************************************************************************
2*
3* Copyright Saab AB, 2013 (http://safirsdkcore.com)
4*
5* Created by: Anders Widén / stawi
6*
7*******************************************************************************
8*
9* This file is part of Safir SDK Core.
10*
11* Safir SDK Core is free software: you can redistribute it and/or modify
12* it under the terms of version 3 of the GNU General Public License as
13* published by the Free Software Foundation.
14*
15* Safir SDK Core is distributed in the hope that it will be useful,
16* but WITHOUT ANY WARRANTY; without even the implied warranty of
17* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18* GNU General Public License for more details.
19*
20* You should have received a copy of the GNU General Public License
21* along with Safir SDK Core. If not, see <http://www.gnu.org/licenses/>.
22*
23******************************************************************************/
24#ifndef __SAFIR_CRASH_REPORTER_H__
25#define __SAFIR_CRASH_REPORTER_H__
26
27#include <Safir/Application/Internal/SwReportExportDefs.h>
28
29namespace Safir
30{
31namespace Application
32{
36 class SWRE_INTERFACE_CPP_API CrashReporter
37 {
38 public:
49 static void Start();
50
60 static void Stop();
61 };
62
70 {
71 public:
72
77
82 };
83
84}
85}
86
87#endif
This namespace contains all the functionality and definitions of the SAFIR SDK.
Definition Backdoor.h:31
Provides methods to start and stop the crash reporting functionality.
Definition CrashReporter.h:37
static void Stop()
Stop crash reporting.
static void Start()
Start crash reporter.
RAII class to call StartCrashReporter and StopCrashReporter automatically.
Definition CrashReporter.h:70
~ScopedCrashReporter()
Definition CrashReporter.h:78
ScopedCrashReporter()
Definition CrashReporter.h:73