mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-09 05:13:36 +08:00
Added switch delay and double-tap options to win32 and added a
tray icon to the client and server that gives status feedback to the user and allows the user to kill the app.
This commit is contained in:
@@ -97,10 +97,16 @@ CThread::wait(double timeout) const
|
||||
return ARCH->wait(m_thread, timeout);
|
||||
}
|
||||
|
||||
bool
|
||||
CThread::waitForEvent(double timeout)
|
||||
CThread::EWaitResult
|
||||
CThread::waitForEvent(double timeout) const
|
||||
{
|
||||
return ARCH->waitForEvent(timeout);
|
||||
// IArchMultithread EWaitResults map directly to our EWaitResults
|
||||
static const EWaitResult s_map[] = {
|
||||
kEvent,
|
||||
kExit,
|
||||
kTimeout
|
||||
};
|
||||
return s_map[ARCH->waitForEvent(m_thread, timeout)];
|
||||
}
|
||||
|
||||
void*
|
||||
|
||||
Reference in New Issue
Block a user