diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-17 08:28:51 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-17 08:28:51 +0200 |
commit | e3a5755b1c675e66163a879ee5e5290bf0b01251 (patch) | |
tree | 4de6d67c1b157459d92653e201b0a3846d40d8f7 /ftnoir_protocol_sc/ftnoir_protocol_sc.cpp | |
parent | fe8fa2db6a8b01e06d6fa7129a38211ce164895e (diff) | |
parent | 45b346cc1a4a7b7e6716ec8ee0f58ad03c60d865 (diff) |
Merge branch 'unstable' into trackhat-ui
Diffstat (limited to 'ftnoir_protocol_sc/ftnoir_protocol_sc.cpp')
-rw-r--r-- | ftnoir_protocol_sc/ftnoir_protocol_sc.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/ftnoir_protocol_sc/ftnoir_protocol_sc.cpp b/ftnoir_protocol_sc/ftnoir_protocol_sc.cpp index 52db14f8..ef695623 100644 --- a/ftnoir_protocol_sc/ftnoir_protocol_sc.cpp +++ b/ftnoir_protocol_sc/ftnoir_protocol_sc.cpp @@ -41,9 +41,6 @@ FTNoIR_Protocol::~FTNoIR_Protocol() void FTNoIR_Protocol::run() { - (void) SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_ABOVE_NORMAL); - (void) SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_HIGHEST); - HANDLE event = CreateEvent(NULL, FALSE, FALSE, nullptr); if (event == nullptr) @@ -206,7 +203,4 @@ void CALLBACK FTNoIR_Protocol::processNextSimconnectEvent(SIMCONNECT_RECV* pData } } -extern "C" OPENTRACK_EXPORT IProtocol* GetConstructor() -{ - return new FTNoIR_Protocol; -} +OPENTRACK_DECLARE_PROTOCOL(FTNoIR_Protocol, SCControls, FTNoIR_ProtocolDll) |