X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/51678b5b7639f756379245156b49dd54d7e28368..7da37f2c5d7addc655e3c6bcd29a8877c360b35b:/include/wx/unix/execute.h diff --git a/include/wx/unix/execute.h b/include/wx/unix/execute.h index 225a4c188b..00fa9d0701 100644 --- a/include/wx/unix/execute.h +++ b/include/wx/unix/execute.h @@ -12,7 +12,7 @@ #include "wx/unix/pipe.h" -class wxProcess; +class WXDLLIMPEXP_FWD_BASE wxProcess; class wxStreamTempInputBuffer; // if pid > 0, the execution is async and the data is freed in the callback @@ -65,13 +65,13 @@ struct wxExecuteData // this function is called when the process terminates from port specific // callback function and is common to all ports (src/unix/utilsunx.cpp) -extern void wxHandleProcessTermination(wxEndProcessData *proc_data); +extern WXDLLIMPEXP_BASE void wxHandleProcessTermination(wxEndProcessData *proc_data); // this function is called to associate the port-specific callback with the // child process. The return valus is port-specific. -extern int wxAddProcessCallback(wxEndProcessData *proc_data, int fd); +extern WXDLLIMPEXP_CORE int wxAddProcessCallback(wxEndProcessData *proc_data, int fd); -#if defined(__DARWIN__) +#if defined(__DARWIN__) && (defined(__WXMAC__) || defined(__WXCOCOA__)) // For ports (e.g. DARWIN) which can add callbacks based on the pid extern int wxAddProcessCallbackForPid(wxEndProcessData *proc_data, int pid); #endif