#include "MoreFiles.h"
#include "MoreFilesExtras.h"
+#ifndef __DARWIN__
+#include <Threads.h>
+#include <Sound.h>
+#endif
+
#ifndef __DARWIN__
// defined in unix/utilsunx.cpp for Mac OS X
return TRUE;
}
-int wxKill(long pid, wxSignal sig)
+int wxKill(long pid, wxSignal sig , wxKillError *rc )
{
// TODO
return 0;
}
+WXDLLEXPORT bool wxGetEnv(const wxString& var, wxString *value)
+{
+ // TODO : under classic there is no environement support, under X yes
+ return false ;
+}
+
+// set the env var name to the given value, return TRUE on success
+WXDLLEXPORT bool wxSetEnv(const wxString& var, const wxChar *value)
+{
+ // TODO : under classic there is no environement support, under X yes
+ return false ;
+}
+
//
// Execute a program in an Interactive Shell
//
{
}
+#if WXWIN_COMPATIBILITY_2_2
+
// Output a debug message, in a system dependent fashion.
void wxDebugMsg(const char *fmt ...)
{
wxMessageBox(wxBuffer);
wxExit();
}
+
+#endif // WXWIN_COMPATIBILITY_2_2
+
#endif // !__DARWIN__
// Emit a beeeeeep
{
return wxGenericFindWindowAtPoint(pt);
}
+
+wxString wxGetOsDescription()
+{
+#ifdef WXWIN_OS_DESCRIPTION
+ // use configure generated description if available
+ return wxString("MacOS (") + WXWIN_OS_DESCRIPTION + wxString(")");
+#else
+ return "MacOS" ; //TODO:define further
+#endif
+}
+