fixup! forgot to rename

This commit is contained in:
yuyoyuppe
2020-06-19 13:27:29 +03:00
parent 2effbd0baf
commit b84ea020f2
8 changed files with 10 additions and 10 deletions

View File

@@ -10,7 +10,7 @@ std::function<void()> SecondaryMouseButtonsHook::callback = {};
SecondaryMouseButtonsHook::SecondaryMouseButtonsHook(std::function<void()> extCallback)
{
callback = std::move(extCallback);
#if defined(DISABLE_LOWLEVEL_KBHOOK_WHEN_DEBUGGED)
#if defined(DISABLE_LOWLEVEL_HOOKS_WHEN_DEBUGGED)
if (IsDebuggerPresent())
{
return;
@@ -21,7 +21,7 @@ SecondaryMouseButtonsHook::SecondaryMouseButtonsHook(std::function<void()> extCa
void SecondaryMouseButtonsHook::enable()
{
#if defined(DISABLE_LOWLEVEL_KBHOOK_WHEN_DEBUGGED)
#if defined(DISABLE_LOWLEVEL_HOOKS_WHEN_DEBUGGED)
if (IsDebuggerPresent())
{
return;

View File

@@ -11,7 +11,7 @@ std::function<void(bool)> ShiftKeyHook::callback = {};
ShiftKeyHook::ShiftKeyHook(std::function<void(bool)> extCallback)
{
callback = std::move(extCallback);
#if defined(DISABLE_LOWLEVEL_KBHOOK_WHEN_DEBUGGED)
#if defined(DISABLE_LOWLEVEL_HOOKS_WHEN_DEBUGGED)
if (IsDebuggerPresent())
{
return;
@@ -22,7 +22,7 @@ ShiftKeyHook::ShiftKeyHook(std::function<void(bool)> extCallback)
void ShiftKeyHook::enable()
{
#if defined(DISABLE_LOWLEVEL_KBHOOK_WHEN_DEBUGGED)
#if defined(DISABLE_LOWLEVEL_HOOKS_WHEN_DEBUGGED)
if (IsDebuggerPresent())
{
return;