X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..66c2bf7b1d9326fb650acfaae22ec50528cfbf7c:/include/wx/debugrpt.h?ds=inline diff --git a/include/wx/debugrpt.h b/include/wx/debugrpt.h index 02c895c4e6..421bede975 100644 --- a/include/wx/debugrpt.h +++ b/include/wx/debugrpt.h @@ -3,7 +3,6 @@ // Purpose: declaration of wxDebugReport class // Author: Vadim Zeitlin // Created: 2005-01-17 -// RCS-ID: $Id$ // Copyright: (c) 2005 Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -134,6 +133,15 @@ class WXDLLIMPEXP_QA wxDebugReportCompress : public wxDebugReport public: wxDebugReportCompress() { } + // you can optionally specify the directory and/or name of the file where + // the debug report should be generated, a default location under the + // directory containing temporary files will be used if you don't + // + // both of these functions should be called before Process()ing the report + // if they're called at all + void SetCompressedFileDirectory(const wxString& dir); + void SetCompressedFileBaseName(const wxString& name); + // returns the full path of the compressed file (empty if creation failed) const wxString& GetCompressedFileName() const { return m_zipfile; } @@ -141,6 +149,10 @@ protected: virtual bool DoProcess(); private: + // user-specified file directory/base name, use defaults if empty + wxString m_zipDir, + m_zipName; + // full path to the ZIP file we created wxString m_zipfile; };