wxDebugReportPreview Class Reference | wxWidgets

| Version: 3.2.11

Loading...
Searching...
No Matches
Public Member Functions | List of all members
wxDebugReportPreview Class Referenceabstract
Class List by Category » Debugging

`#include </cygdrive/c/Users/Hamis/Cygwin-packaging/wxWidgets3.2/wxWidgets3.2-3.2.11-1.x86_64/src/wxWidgets-3.2.11/interface/wx/debugrpt.h>`

Inheritance diagram for wxDebugReportPreview:
[legend]

## Detailed Description

This class presents the debug report to the user and allows him to veto report entirely or remove some parts of it.

Although not mandatory, using this class is strongly recommended as data included in the debug report might contain sensitive private information and the user should be notified about it as well as having a possibility to examine the data which had been gathered to check whether this is effectively the case and discard the debug report if it is.

wxDebugReportPreview is an abstract base class, currently the only concrete class deriving from it is wxDebugReportPreviewStd.

##

Library: wxQA
Category: Debugging

## Public Member Functions
| wxDebugReportPreview ()
| Default constructor.
virtual | ~wxDebugReportPreview ()
| Destructor is trivial as well but should be virtual for a base class.
virtual bool | Show (wxDebugReport &dbgrpt) const =0
| Present the report to the user and allow him to modify it by removing some or all of the files and, potentially, adding some notes.

## Constructor & Destructor Documentation

## ◆ wxDebugReportPreview()

wxDebugReportPreview::wxDebugReportPreview | ( |  | ) |

Default constructor.

## ◆ ~wxDebugReportPreview()

virtual wxDebugReportPreview::~wxDebugReportPreview | ( |  | ) |
| virtual

Destructor is trivial as well but should be virtual for a base class.

## Member Function Documentation

## ◆ Show()

virtual bool wxDebugReportPreview::Show | ( | wxDebugReport & | dbgrpt | ) | const
| pure virtual

Present the report to the user and allow him to modify it by removing some or all of the files and, potentially, adding some notes.

Returns
  true if the report should be processed or false if the user chose to cancel report generation or removed all files from it.

Implemented in wxDebugReportPreviewStd.