Moved wxMMedia to contrib/src/mmedia
Added contrib configure Made wxSocket sample compile Made OGL compile Modified main configure to pass some more parameter to children Changed the wxProcess doc according to the modification Still some win makefiles to come git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -26,17 +26,12 @@ processed (and call \helpref{Detach()}{wxprocessdetach} for others).
|
||||
|
||||
\membersection{wxProcess::wxProcess}\label{wxprocessconstr}
|
||||
|
||||
\func{}{wxProcess}{\param{wxEvtHandler *}{ parent = NULL}, \param{bool}{ needPipe = FALSE}, \param{int}{ id = -1}}
|
||||
\func{}{wxProcess}{\param{wxEvtHandler *}{ parent = NULL}, \param{int}{ id = -1}}
|
||||
|
||||
Constructs a process object. {\it id} is only used in the case you want to
|
||||
use wxWindows events. It identifies this object, or another window that will
|
||||
receive the event.
|
||||
|
||||
If you set {\it needPipe} to TRUE, wxExecute will try to open a couple of pipes
|
||||
to catch the subprocess stdio. The caught input stream is returned by
|
||||
GetOutputStream() as a non-seekable stream. The caught output stream is returned
|
||||
by GetInputStream() as a non-seekable stream.
|
||||
|
||||
If the {\it parent} parameter is different from NULL, it will receive
|
||||
a wxEVT\_END\_PROCESS notification event (you should insert EVT\_END\_PROCESS
|
||||
macro in the event table of the parent to handle it) with the given {\it id}.
|
||||
@@ -72,14 +67,16 @@ notification.
|
||||
\constfunc{wxInputStream* }{GetInputStream}{\void}
|
||||
|
||||
It returns a input stream correspoding to the output stream of the subprocess.
|
||||
If it is NULL, you have not set needPipe to TRUE.
|
||||
If it is NULL, you have not turned on the redirection.
|
||||
See \helpref{wxProcess::Redirect}{wxprocessredirect}.
|
||||
|
||||
\membersection{wxProcess::GetInputStream}\label{wxprocessgetinputstream}
|
||||
|
||||
\constfunc{wxInputStream* }{GetInputStream}{\void}
|
||||
|
||||
It returns a output stream corresponding to the input stream of the subprocess.
|
||||
If it is NULL, you have not set needPipe to TRUE.
|
||||
If it is NULL, you have not turned on the redirection.
|
||||
See \helpref{wxProcess::Redirect}{wxprocessredirect}.
|
||||
|
||||
\membersection{wxProcess::OnTerminate}\label{wxprocessonterminate}
|
||||
|
||||
@@ -92,3 +89,11 @@ It raises a wxWindows event when it isn't overriden.
|
||||
|
||||
\docparam{status}{The exit code of the process.}
|
||||
|
||||
\membersection{wxProcess::Redirect}\label{wxprocessredirect}
|
||||
|
||||
\func{void}{Redirect}{\void}
|
||||
|
||||
It turns on the redirection, wxExecute will try to open a couple of pipes
|
||||
to catch the subprocess stdio. The caught input stream is returned by
|
||||
GetOutputStream() as a non-seekable stream. The caught output stream is returned
|
||||
by GetInputStream() as a non-seekable stream.
|
||||
|
Reference in New Issue
Block a user