X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e626d7c78771793c08f5c5652f4a2c26f6f196ed..ef094fa075bc56bcbc33b12159c395ea28afda3b:/include/wx/process.h?ds=sidebyside diff --git a/include/wx/process.h b/include/wx/process.h index 03993984bb..142d18d8da 100644 --- a/include/wx/process.h +++ b/include/wx/process.h @@ -6,13 +6,13 @@ // Created: 24/06/98 // RCS-ID: $Id$ // Copyright: (c) 1998 Guilhem Lavaux -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_PROCESSH__ #define _WX_PROCESSH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "process.h" #endif @@ -88,6 +88,13 @@ public: // close the output stream indicating that nothing more will be written void CloseOutput() { delete m_outputStream; m_outputStream = NULL; } + // return TRUE if the child process stdout is not closed + bool IsInputOpened() const; + + // return TRUE if any input is available on the child process stdout/err + bool IsInputAvailable() const; + bool IsErrorAvailable() const; + // implementation only (for wxExecute) // // NB: the streams passed here should correspond to the child process @@ -121,6 +128,7 @@ protected: bool m_redirect; DECLARE_DYNAMIC_CLASS(wxProcess) + DECLARE_NO_COPY_CLASS(wxProcess) }; // ----------------------------------------------------------------------------