// wxDebugReport: generate a debug report, processing is done in derived class
// ----------------------------------------------------------------------------
-class wxDebugReport
+class WXDLLIMPEXP_QA wxDebugReport
{
public:
// this is used for the functions which may report either the current state
// or the state during the last (fatal) exception
- enum Context { Context_Curent, Context_Exception };
+ enum Context { Context_Current, Context_Exception };
// ctor creates a temporary directory where we create the files which will
// description is shown to the user in the report summary
virtual void AddFile(const wxString& name, const wxString& description);
+#if wxUSE_STACKWALKER
// add an XML file containing the current or exception context and the
// stack trace
- bool AddCurrentContext() { return AddContext(Context_Curent); }
+ bool AddCurrentContext() { return AddContext(Context_Current); }
bool AddExceptionContext() { return AddContext(Context_Exception); }
virtual bool AddContext(Context ctx);
+#endif
#if wxUSE_CRASHREPORT
// add a file with crash report
- bool AddCurrentDump() { return AddDump(Context_Curent); }
+ bool AddCurrentDump() { return AddDump(Context_Current); }
bool AddExceptionDump() { return AddDump(Context_Exception); }
virtual bool AddDump(Context ctx);
#endif // wxUSE_CRASHREPORT
void RemoveFile(const wxString& name);
protected:
+#if wxUSE_STACKWALKER
// used by AddContext()
virtual bool DoAddSystemInfo(wxXmlNode *nodeSystemInfo);
virtual bool DoAddLoadedModules(wxXmlNode *nodeModules);
virtual bool DoAddExceptionInfo(wxXmlNode *nodeContext);
virtual void DoAddCustomContext(wxXmlNode * WXUNUSED(nodeRoot)) { }
+#endif
// used by Process()
virtual bool DoProcess();
// wxDebugReportCompress: compress all files of this debug report in a .ZIP
// ----------------------------------------------------------------------------
-class wxDebugReportCompress : public wxDebugReport
+class WXDLLIMPEXP_QA wxDebugReportCompress : public wxDebugReport
{
public:
wxDebugReportCompress() { }
// wxDebugReportUploader: uploads compressed file using HTTP POST request
// ----------------------------------------------------------------------------
-class wxDebugReportUpload : public wxDebugReportCompress
+class WXDLLIMPEXP_QA wxDebugReportUpload : public wxDebugReportCompress
{
public:
// this class will upload the compressed file created by its base class to
// to veto report entirely or remove some parts of it
// ----------------------------------------------------------------------------
-class wxDebugReportPreview
+class WXDLLIMPEXP_QA wxDebugReportPreview
{
public:
// ctor is trivial
// wxDebugReportPreviewStd: standard debug report preview window
// ----------------------------------------------------------------------------
-class wxDebugReportPreviewStd : public wxDebugReportPreview
+class WXDLLIMPEXP_QA wxDebugReportPreviewStd : public wxDebugReportPreview
{
public:
wxDebugReportPreviewStd() { }