mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 03:36:44 +02: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)
|
||
|
|
{
|
||
|
|
}
|
||
|
|
};
|