mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-08 23:14:20 +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:
@@ -156,3 +156,26 @@ CSystemLogOutputter::getNewline() const
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// CSystemLogger
|
||||
//
|
||||
|
||||
CSystemLogger::CSystemLogger(const char* title)
|
||||
{
|
||||
// redirect log messages
|
||||
m_syslog = new CSystemLogOutputter;
|
||||
m_stop = new CStopLogOutputter;
|
||||
m_syslog->open(title);
|
||||
CLOG->insert(m_stop);
|
||||
CLOG->insert(m_syslog);
|
||||
}
|
||||
|
||||
CSystemLogger::~CSystemLogger()
|
||||
{
|
||||
CLOG->remove(m_syslog);
|
||||
CLOG->remove(m_stop);
|
||||
delete m_stop;
|
||||
delete m_syslog;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user