mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-06-08 15:54:28 +00:00
[idd] helper: send message over pipe when settings changed
This commit is contained in:
@@ -170,6 +170,17 @@ void CPipeClient::WriteMsg(const LGPipeMsg& msg)
|
||||
FlushFileBuffers(m_pipe.Get());
|
||||
}
|
||||
|
||||
void CPipeClient::ReloadSettings()
|
||||
{
|
||||
if (!m_connected)
|
||||
return;
|
||||
|
||||
LGPipeMsg msg;
|
||||
msg.size = sizeof(msg);
|
||||
msg.type = LGPipeMsg::RELOADSETTINGS;
|
||||
WriteMsg(msg);
|
||||
}
|
||||
|
||||
void CPipeClient::Thread()
|
||||
{
|
||||
DEBUG_INFO("Pipe thread started");
|
||||
|
||||
Reference in New Issue
Block a user