]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/debugrptup.tex
added wxMessageQueue class for inter-thread communications
[wxWidgets.git] / docs / latex / wx / debugrptup.tex
CommitLineData
4e0e7d39
VZ
1%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2%% Name: debugrptup.tex
3%% Purpose: wxDebugReportUpload documentation
4%% Author: Vadim Zeitlin
5%% Modified by:
6%% Created: 2005-03-21
7%% RCS-ID: $Id$
8%% Copyright: (c) Vadim Zeitlin 2005
9%% License: wxWindows license
10%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
11
12\section{\class{wxDebugReportUpload}}\label{wxdebugreportupload}
13
14This class is used to upload a compressed file using HTTP POST request. As this
15class derives from wxDebugReportCompress, before upload the report is
16compressed in a single .ZIP file.
17
18\wxheading{Derived from}
19
7376079d
VZ
20\helpref{wxDebugReportCompress}{wxdebugreportcompress}\\
21\helpref{wxDebugReport}{wxdebugreport}
4e0e7d39
VZ
22
23\wxheading{Include files}
24
25<wx/debugrpt.h>
26
a7af285d
VZ
27\wxheading{Library}
28
29\helpref{wxQa}{librarieslist}
30
4e0e7d39
VZ
31
32\latexignore{\rtfignore{\wxheading{Members}}}
33
34\membersection{wxDebugReportUpload::wxDebugReportUpload}\label{wxdebugreportuploadwxdebugreportupload}
35
36\func{}{wxDebugReportUpload}{\param{const wxString\& }{url}, \param{const wxString\& }{input}, \param{const wxString\& }{action}, \param{const wxString\& }{curl = \_T("curl")}}
37
38This class will upload the compressed file created by its base class to an HTML
39multipart/form-data form at the specified address. The \arg{url} is the upload
40page address, \arg{input} is the name of the \texttt{"type=file"} control on
41the form used for the file name and \arg{action} is the value of the form
42action field. The report is uploaded using \texttt{\textit{curl}} program which
43should be available, the \arg{curl} parameter may be used to specify the full
44path to it.
45
46
47\membersection{wxDebugReportUpload::OnServerReply}\label{wxdebugreportuploadonserverreply}
48
49\func{bool}{OnServerReply}{\param{const wxArrayString\& }{WXUNUSED(reply)}}
50
51This function may be overridden in a derived class to show the output from
52curl: this may be an HTML page or anything else that the server returned.
53Value returned by this function becomes the return value of
54\helpref{wxDebugReport::Process()}{wxdebugreportprocess}.
55
56