winamp/Src/Plugins/General/gen_hotkeys/accelBlock.h

24 lines
486 B
C
Raw Normal View History

2024-09-24 12:54:57 +00:00
#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