mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-22 16:55:46 +01:00
Move library tree where it belongs
This commit is contained in:
34
lib-src/lib-widget-extra/NonGuiThread.h
Normal file
34
lib-src/lib-widget-extra/NonGuiThread.h
Normal file
@@ -0,0 +1,34 @@
|
||||
/*************************************************************************
|
||||
|
||||
NonGuiThread.h
|
||||
|
||||
James Crook
|
||||
(C) Audacity Developers, 2007
|
||||
|
||||
wxWidgets license. See Licensing.txt
|
||||
|
||||
*************************************************************************/
|
||||
|
||||
#if !defined(AFX_NONGUITHREAD_H__E8F7FC2B_CB13_497B_A556_18551596AFD9__INCLUDED_)
|
||||
#define AFX_NONGUITHREAD_H__E8F7FC2B_CB13_497B_A556_18551596AFD9__INCLUDED_
|
||||
|
||||
typedef void (*tGenericFn)(void);
|
||||
//#include "AllCommands.h" // for tGenericFn
|
||||
//#include "WidgetExtra.h"
|
||||
|
||||
class /*WIDGET_EXTRA_DLL*/ NonGuiThread : public wxThread
|
||||
{
|
||||
public:
|
||||
NonGuiThread(tGenericFn pFn);
|
||||
virtual ~NonGuiThread();
|
||||
NonGuiThread::ExitCode Entry();
|
||||
static void RunInThread(tGenericFn pFn);
|
||||
static NonGuiThread * StartChild( tGenericFn pFn );
|
||||
|
||||
public:
|
||||
bool mbExit;
|
||||
tGenericFn mpFn;
|
||||
static bool IsLive;
|
||||
};
|
||||
|
||||
#endif // !defined(AFX_NONGUITHREAD_H__E8F7FC2B_CB13_497B_A556_18551596AFD9__INCLUDED_)
|
||||
Reference in New Issue
Block a user