OpenCPN Partial API docs
crashprint.h
1 // File: crashprint.h
3 // Purpose: wxCrashPrint class
4 // Maintainer: Wyo
5 // Created: 2004-09-28
6 // RCS-ID: $Id: crashprint.h,v 1.5 2004-11-22 18:27:11 wyo Exp $
7 // Copyright: (c) 2004 wxCode
8 // Licence: wxWindows
10 
11 #ifndef _WX_CRASHPRINT_H_
12 #define _WX_CRASHPRINT_H_
13 
14 //#ifdef __GNUG__
15 // #pragma implementation "crashprint.h"
16 //#endif
17 
18 //----------------------------------------------------------------------------
19 // information
20 //----------------------------------------------------------------------------
21 
22 //----------------------------------------------------------------------------
23 // headers
24 //----------------------------------------------------------------------------
26 
27 //============================================================================
28 // declarations
29 //============================================================================
30 const int maxBtCount = 100;
31 
32 //----------------------------------------------------------------------------
34 
35 //----------------------------------------------------------------------------
37 class wxCrashPrint {
38 public:
40  wxCrashPrint(int flags = 0, const wxString &fname = wxEmptyString);
41 
44 
45  // format and print report
46  void Report();
47 
48 private:
50  int m_flags;
51  wxString m_fname;
52 
53  void *m_btBuffer[maxBtCount];
54  char **m_btStrings;
55 };
56 
57 #endif // _WX_CRASHPRINT_H_
wxCrashPrint
Definition: crashprint.h:37
wxCrashPrint(int flags=0, const wxString &fname=wxEmptyString)
constructor
Definition: crashprint.cpp:61
~wxCrashPrint()
destructor
Definition: crashprint.h:43