diff options
Diffstat (limited to 'Src/Plugins/General/gen_hotkeys/HOTKEY.H')
-rw-r--r-- | Src/Plugins/General/gen_hotkeys/HOTKEY.H | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/Src/Plugins/General/gen_hotkeys/HOTKEY.H b/Src/Plugins/General/gen_hotkeys/HOTKEY.H new file mode 100644 index 00000000..88919dae --- /dev/null +++ b/Src/Plugins/General/gen_hotkeys/HOTKEY.H @@ -0,0 +1,32 @@ +// HotKey.h: interface for the CHotKey class. +// +////////////////////////////////////////////////////////////////////// + +#if !defined(AFX_HOTKEY_H__82523B98_0E49_4B2A_8206_A4262D29C3C8__INCLUDED_) +#define AFX_HOTKEY_H__82523B98_0E49_4B2A_8206_A4262D29C3C8__INCLUDED_ + +#if _MSC_VER > 1000 +#pragma once +#endif // _MSC_VER > 1000 + +#include "gen_hotkeys.h" + +struct HOTKEY_DATA +{ + DWORD dwHotKey; + int iCommand; + wchar_t *szCommand; +}; + +struct HOTKEY +{ + HOTKEY_DATA hkd; + ATOM atom; + BOOL failed; +}; + +int RegisterHotkey(HOTKEY *hk); +void UnregisterHotkey(HOTKEY *hk); +UINT GetModKeys(DWORD dwHotKey); + +#endif // !defined(AFX_HOTKEY_H__82523B98_0E49_4B2A_8206_A4262D29C3C8__INCLUDED_)
\ No newline at end of file |