This commit is contained in:
2024-08-07 09:16:27 -04:00
parent fdfadd5c7e
commit 5f971cf684
5200 changed files with 731717 additions and 0 deletions

30
thtest/THLNCH.HPP Normal file
View File

@@ -0,0 +1,30 @@
#ifndef _THTEST_THLAUNCH_HPP_
#define _THTEST_THLAUNCH_HPP_
#include <thread/mthread.hpp>
template <class T>
class ThreadLaunch : public MessageThread
{
public:
enum{ThreadStart};
ThreadLaunch(void);
virtual ~ThreadLaunch();
WORD operator==(const ThreadLaunch &someThreadLaunch)const;
void createWindow(HINSTANCE hInstance,const Point &windowPoint);
private:
DWORD threadHandler(ThreadMessage &someThreadMessage);
void destroyWindow(void);
void cycle(void);
HWND mhDisplay;
WORD mCounter;
ThreadCallback<ThreadLaunch> mThreadHandler;
};
inline
WORD ThreadLaunch::operator==(const ThreadLaunch &/*someFoo*/)const
{
return FALSE;
}
#endif