Safir SDK Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CrashReporter.h
Go to the documentation of this file.
1 /******************************************************************************
2 *
3 * Copyright Saab AB, 2013 (http://safir.sourceforge.net)
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 
29 namespace Safir
30 {
31 namespace 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 
74  {
76  }
77 
79  {
81  }
82  };
83 
84 }
85 }
86 
87 #endif
static void Start()
Start crash reporter.
RAII class to call StartCrashReporter and StopCrashReporter automatically.
Definition: CrashReporter.h:69
ScopedCrashReporter()
Definition: CrashReporter.h:73
Provides methods to start and stop the crash reporting functionality.
Definition: CrashReporter.h:36
~ScopedCrashReporter()
Definition: CrashReporter.h:78
static void Stop()
Stop crash reporting.