refactor: use ArchDaemonWindows::getDaemonQuitMessage directly

remove now unused ArchMiscWindows::getDaemonQuitMessage
This commit is contained in:
sithlord48
2026-01-03 09:11:39 -05:00
committed by Chris Rizzitello
parent c7da833f07
commit 3ff06b7d9a
3 changed files with 2 additions and 13 deletions

View File

@ -75,11 +75,6 @@ void ArchMiscWindows::daemonFailed(int result)
ArchDaemonWindows::daemonFailed(result);
}
UINT ArchMiscWindows::getDaemonQuitMessage()
{
return ArchDaemonWindows::getDaemonQuitMessage();
}
HKEY ArchMiscWindows::openKey(HKEY key, const TCHAR *keyName)
{
return openKey(key, keyName, false);

View File

@ -53,12 +53,6 @@ public:
*/
static void daemonFailed(int result);
//! Get daemon quit message
/*!
Delegates to ArchDaemonWindows.
*/
static UINT getDaemonQuitMessage();
//! Open and return a registry key, closing the parent key
static HKEY openKey(HKEY parent, const TCHAR *child);

View File

@ -8,7 +8,7 @@
#include "platform/MSWindowsEventQueueBuffer.h"
#include "arch/win32/ArchMiscWindows.h"
#include "arch/win32/ArchDaemonWindows.h"
#include "base/IEventQueue.h"
//
@ -24,7 +24,7 @@ MSWindowsEventQueueBuffer::MSWindowsEventQueueBuffer(IEventQueue *events) : m_ev
m_userEvent = RegisterWindowMessage(L"DESKFLOW_USER_EVENT");
// get message type for daemon quit
m_daemonQuit = ArchMiscWindows::getDaemonQuitMessage();
m_daemonQuit = ArchDaemonWindows::getDaemonQuitMessage();
// make sure this thread has a message queue
MSG dummy;