3#define WIN32_LEAN_AND_MEAN
15 class NDEVR_WIDGETS_API WinKeyBlocker final :
public QObject
21 explicit WinKeyBlocker(QObject* parent =
nullptr);
22 ~WinKeyBlocker()
override;
26 bool start(QWidget* window);
31 void setEnabled(
bool enabled);
34 bool isEnabled()
const;
37 HHOOK hook()
const {
return m_hook; }
40 HWND target()
const {
return m_target; }
42 HHOOK m_hook =
nullptr;
43 HWND m_target =
nullptr;
44 bool m_enabled =
true;
The primary namespace for the NDEVR SDK.