refactor: use ArchDaemonWindows::getDaemonQuitMessage directly
remove now unused ArchMiscWindows::getDaemonQuitMessage
This commit is contained in:
committed by
Chris Rizzitello
parent
c7da833f07
commit
3ff06b7d9a
@ -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);
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user