X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6213bde14743eefdd6fad27fb0b6cb907455d1ba..5482ee0766d86c79f82733780d5d4833070bf064:/include/wx/unix/execute.h diff --git a/include/wx/unix/execute.h b/include/wx/unix/execute.h index 9bb61aedd5..7af0c51977 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_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__) && defined(__WXMAC__) +#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