X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/50e55c13ea2da06b1b03069673ae45edd780fc99..ea160f01c60cfc879e1ba3ffec76d113a0404603:/interface/wx/process.h diff --git a/interface/wx/process.h b/interface/wx/process.h index edbe214ffa..d7ab0baff0 100644 --- a/interface/wx/process.h +++ b/interface/wx/process.h @@ -96,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. @@ -243,6 +243,20 @@ public: The caught output stream is returned by GetInputStream() as a non-seekable stream. */ void Redirect(); + + /** + Sets the priority of the process, between 0 (lowest) and 100 (highest). + It can only be set before the process is created. + + The following symbolic constants can be used in addition to raw + values in 0..100 range: + - @b wxPRIORITY_MIN: 0 + - @b wxPRIORITY_DEFAULT: 50 + - @b wxPRIORITY_MAX: 100 + + @since 2.9.5 + */ + void SetPriority(unsigned priority); };