X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93cf77c076b699e8e0b3b0049bd4f80de15997dd..520e470fdd0daef09c77938db642e4583933c90d:/src/stubs/thread.cpp diff --git a/src/stubs/thread.cpp b/src/stubs/thread.cpp index 9a03aae3cd..c197787003 100644 --- a/src/stubs/thread.cpp +++ b/src/stubs/thread.cpp @@ -15,6 +15,7 @@ #include "wx/module.h" #include "wx/thread.h" +#include "wx/utils.h" enum thread_state { STATE_IDLE = 0, @@ -142,6 +143,18 @@ wxThreadError wxThread::Destroy() return THREAD_NO_ERROR; } +wxThreadError wxThread::Pause() +{ + // TODO + return THREAD_NO_ERROR; +} + +wxThreadError wxThread::Resume() +{ + // TODO + return THREAD_NO_ERROR; +} + void wxThread::Exit(void *status) { // TODO @@ -180,9 +193,28 @@ unsigned long wxThread::GetID() const return 0; } +wxThread *wxThread::GetThreadFromID(unsigned long id) +{ + // TODO + return NULL; +} + +bool wxThread::IsAlive() const +{ + // TODO + return FALSE; +} + +bool wxThread::IsRunning() const +{ + // TODO + return FALSE; +} + bool wxThread::IsMain() { // TODO + return FALSE; } wxThread::wxThread()