diff options
Diffstat (limited to 'win/rfb_win32/RegConfig.h')
-rw-r--r-- | win/rfb_win32/RegConfig.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/win/rfb_win32/RegConfig.h b/win/rfb_win32/RegConfig.h index 401cb148..4a2f8ca8 100644 --- a/win/rfb_win32/RegConfig.h +++ b/win/rfb_win32/RegConfig.h @@ -24,9 +24,8 @@ #ifndef __RFB_WIN32_REG_CONFIG_H__ #define __RFB_WIN32_REG_CONFIG_H__ -#include <os/Thread.h> +#include <thread> -#include <rfb/Configuration.h> #include <rfb_win32/Registry.h> #include <rfb_win32/EventManager.h> #include <rfb_win32/Handle.h> @@ -64,7 +63,7 @@ namespace rfb { RegKey key; }; - class RegConfigThread : os::Thread { + class RegConfigThread { public: RegConfigThread(); ~RegConfigThread(); @@ -72,9 +71,10 @@ namespace rfb { // Start the thread, reading from the specified key bool start(const HKEY rootkey, const char* keyname); protected: - void worker() override; + void worker(); EventManager eventMgr; RegConfig config; + std::thread* thread; DWORD thread_id; }; |