[idd] helper: send message over pipe when settings changed

This commit is contained in:
Quantum
2026-06-05 00:00:45 -04:00
committed by Geoffrey McRae
parent e4e211f07a
commit 0664e510a2
8 changed files with 50 additions and 9 deletions

View File

@@ -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");