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

This commit is contained in:
Quantum authored and Geoffrey McRae committed 2026-06-06 02:30:43 +10:00
1 parent e4e211f07a
commit 0664e510a2
8 files changed
+50 -9

No files matched your search

+11
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");