[idd] helper: send message over pipe when settings changed
This commit is contained in:
1 parent
e4e211f07a
commit
0664e510a2
8 files changed
+50
-9
No files matched your search
@@ -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