X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1bcde56c8de35f710331cd15b998ac19a1f395f0..a246ab8b5e30b09705b485b6021c0149c80becda:/interface/wx/process.h?ds=sidebyside diff --git a/interface/wx/process.h b/interface/wx/process.h index 03e29baf59..b47276ebc4 100644 --- a/interface/wx/process.h +++ b/interface/wx/process.h @@ -6,41 +6,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -/** - Signal constants used by wxProcess. -*/ -enum wxSignal -{ - wxSIGNONE = 0, //!< verify if the process exists under Unix - wxSIGHUP, - wxSIGINT, - wxSIGQUIT, - wxSIGILL, - wxSIGTRAP, - wxSIGABRT, - wxSIGEMT, - wxSIGFPE, - wxSIGKILL, //!< forcefully kill, dangerous! - wxSIGBUS, - wxSIGSEGV, - wxSIGSYS, - wxSIGPIPE, - wxSIGALRM, - wxSIGTERM //!< terminate the process gently -}; - -/** - Return values for wxProcess::Kill. -*/ -enum wxKillError -{ - wxKILL_OK, //!< no error - wxKILL_BAD_SIGNAL, //!< no such signal - wxKILL_ACCESS_DENIED, //!< permission denied - wxKILL_NO_PROCESS, //!< no such process - wxKILL_ERROR //!< another, unspecified error -}; - /** @class wxProcess @@ -131,7 +96,7 @@ public: /** Detaches this event handler from the parent specified in the constructor - (see wxEvtHandler::Unlink() for a similar but not identic function). + (see wxEvtHandler::Unlink() for a similar but not identical function). Normally, a wxProcess object is deleted by its parent when it receives the notification about the process termination. @@ -169,7 +134,7 @@ public: wxInputStream* GetInputStream() const; /** - It returns an output stream correspoding to the input stream of the subprocess. + It returns an output stream corresponding to the input stream of the subprocess. If it is @NULL, you have not turned on the redirection or already called CloseOutput(). @@ -321,3 +286,6 @@ public: int GetPid(); }; + +wxEventType wxEVT_END_PROCESS; +