mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-10 11:59:58 -05:00
Initial community commit
This commit is contained in:
24
Src/Plugins/General/gen_hotkeys/accelBlock.h
Normal file
24
Src/Plugins/General/gen_hotkeys/accelBlock.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef NULLSOFT_WINAMP_ACCELERATOR_BLOCKER_HEADER
|
||||
#define NULLSOFT_WINAMP_ACCELERATOR_BLOCKER_HEADER
|
||||
|
||||
#include <wtypes.h>
|
||||
#include <api\application\ifc_messageprocessor.h>
|
||||
|
||||
class AcceleratorBlocker : public ifc_messageprocessor
|
||||
{
|
||||
public:
|
||||
AcceleratorBlocker(HWND hwndToBlock);
|
||||
~AcceleratorBlocker();
|
||||
|
||||
public:
|
||||
bool ProcessMessage(MSG *pMsg);
|
||||
HWND GetHwnd() { return hwnd; }
|
||||
protected:
|
||||
RECVS_DISPATCH;
|
||||
|
||||
protected:
|
||||
HWND hwnd;
|
||||
|
||||
};
|
||||
|
||||
#endif// NULLSOFT_WINAMP_ACCELERATOR_BLOCKER_HEADER
|
Reference in New Issue
Block a user