mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 18:57:19 +02:00
18 lines
526 B
C
18 lines
526 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
class Trace
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
static void RegisterProvider() noexcept;
|
||
|
|
static void UnregisterProvider() noexcept;
|
||
|
|
|
||
|
|
// Log if a key remap has been invoked
|
||
|
|
static void KeyRemapInvoked(bool isKeyToKey) noexcept;
|
||
|
|
|
||
|
|
// Log if a shortcut remap has been invoked
|
||
|
|
static void ShortcutRemapInvoked(bool isShortcutToShortcut, bool isAppSpecific) noexcept;
|
||
|
|
|
||
|
|
// Log if an error occurs in KBM
|
||
|
|
static void Error(const DWORD errorCode, std::wstring errorMessage, std::wstring methodName) noexcept;
|
||
|
|
};
|