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.
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.
report should be processed or @false if the user chose to cancel report
generation or removed all files from it.
*/
report should be processed or @false if the user chose to cancel report
generation or removed all files from it.
*/
wxDebugReportCompress is a wxDebugReport which
compresses all the files in this debug report into a single .ZIP file in its
@c @e Process() function.
wxDebugReportCompress is a wxDebugReport which
compresses all the files in this debug report into a single .ZIP file in its
@c @e Process() function.
A wxDebugReport object contains one or more files. A few of them can be created
by the
class itself but more can be created from the outside and then added to the
report. Also note that several virtual functions may be overridden to further
customize the class behaviour.
A wxDebugReport object contains one or more files. A few of them can be created
by the
class itself but more can be created from the outside and then added to the
report. Also note that several virtual functions may be overridden to further
customize the class behaviour.
Once a report is fully assembled, it can simply be left in the temporary
directory so that the user can email it to the developers (in which case you
should still use wxDebugReportCompress to
Once a report is fully assembled, it can simply be left in the temporary
directory so that the user can email it to the developers (in which case you
should still use wxDebugReportCompress to
wxDebugReportUpload (setting up the Web server
to accept uploads is your responsibility, of course). Other handlers, for
example for
automatically emailing the report, can be defined as well but are not currently
included in wxWidgets.
wxDebugReportUpload (setting up the Web server
to accept uploads is your responsibility, of course). Other handlers, for
example for
automatically emailing the report, can be defined as well but are not currently
included in wxWidgets.
copied to a file in the debug report directory with the same name. Otherwise
the file should already exist in this directory
copied to a file in the debug report directory with the same name. Otherwise
the file should already exist in this directory
shown by wxDebugReportPreview.
*/
void AddFile(const wxString& filename,
shown by wxDebugReportPreview.
*/
void AddFile(const wxString& filename,
- creates the file with the given @e name and writes @e text to it, then
- adds the file to the report. The @e filename shouldn't contain the path.
-
+ creates the file with the given @e name and writes @a text to it, then
+ adds the file to the report. The @a filename shouldn't contain the path.
context file created by AddContext(). By
default, it does nothing.
*/
context file created by AddContext(). By
default, it does nothing.
*/
This method should be used to construct the full name of the files which you
wish to add to the report using AddFile().
*/
This method should be used to construct the full name of the files which you
wish to add to the report using AddFile().
*/
wxDebugReportPreview to allow the user to
remove files potentially containing private information from the report.
*/
wxDebugReportPreview to allow the user to
remove files potentially containing private information from the report.
*/
wxDebugReportPreviewStd is a standard debug report preview window. It displays
a GUIdialog allowing the user to examine the contents of a debug report, remove
files from and add notes to it.
wxDebugReportPreviewStd is a standard debug report preview window. It displays
a GUIdialog allowing the user to examine the contents of a debug report, remove
files from and add notes to it.
This class is used to upload a compressed file using HTTP POST request. As this
class derives from wxDebugReportCompress, before upload the report is
compressed in a single .ZIP file.
This class is used to upload a compressed file using HTTP POST request. As this
class derives from wxDebugReportCompress, before upload the report is
compressed in a single .ZIP file.
- multipart/form-data form at the specified address. The @e url is the upload
- page address, @e input is the name of the @c "type=file" control on
- the form used for the file name and @e action is the value of the form
+ multipart/form-data form at the specified address. The @a url is the upload
+ page address, @a input is the name of the @c "type=file" control on
+ the form used for the file name and @a action is the value of the form
action field. The report is uploaded using @c @e curl program which
should be available, the @e curl parameter may be used to specify the full
path to it.
action field. The report is uploaded using @c @e curl program which
should be available, the @e curl parameter may be used to specify the full
path to it.
This function may be overridden in a derived class to show the output from
curl: this may be an HTML page or anything else that the server returned.
This function may be overridden in a derived class to show the output from
curl: this may be an HTML page or anything else that the server returned.