2020-05-06 03:30:50 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
class Trace
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static void RegisterProvider() noexcept;
|
|
|
|
static void UnregisterProvider() noexcept;
|
|
|
|
|
|
|
|
// Log number of key remaps when the user uses Edit Keyboard and saves settings
|
2020-07-24 07:43:49 +08:00
|
|
|
static void KeyRemapCount(const DWORD keyToKeyCount, const DWORD keyToShortcutCount) noexcept;
|
2020-05-06 03:30:50 +08:00
|
|
|
|
|
|
|
// Log number of os level shortcut remaps when the user uses Edit Shortcuts and saves settings
|
2020-07-24 07:43:49 +08:00
|
|
|
static void OSLevelShortcutRemapCount(const DWORD shortcutToShortcutCount, const DWORD shortcutToKeyCount) noexcept;
|
2020-07-09 07:24:30 +08:00
|
|
|
|
|
|
|
// Log number of app specific shortcut remaps when the user uses Edit Shortcuts and saves settings
|
2020-07-24 07:43:49 +08:00
|
|
|
static void AppSpecificShortcutRemapCount(const DWORD shortcutToShortcutCount, const DWORD shortcutToKeyCount) noexcept;
|
2021-04-27 03:01:38 +08:00
|
|
|
|
2020-09-10 05:27:40 +08:00
|
|
|
// Log if an error occurs in KBM
|
|
|
|
static void Error(const DWORD errorCode, std::wstring errorMessage, std::wstring methodName) noexcept;
|
2020-05-06 03:30:50 +08:00
|
|
|
};
|