mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-01-04 10:07:55 +08:00
22 lines
507 B
C
22 lines
507 B
C
|
#pragma once
|
||
|
#include "Shortcut.h"
|
||
|
|
||
|
// This class stores all the variables associated with each shortcut remapping
|
||
|
class RemapShortcut
|
||
|
{
|
||
|
public:
|
||
|
Shortcut targetShortcut;
|
||
|
bool isShortcutInvoked;
|
||
|
ModifierKey winKeyInvoked;
|
||
|
|
||
|
RemapShortcut(const Shortcut& sc) :
|
||
|
targetShortcut(sc), isShortcutInvoked(false), winKeyInvoked(ModifierKey::Disabled)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
RemapShortcut() :
|
||
|
isShortcutInvoked(false), winKeyInvoked(ModifierKey::Disabled)
|
||
|
{
|
||
|
}
|
||
|
};
|