玉兔远程控制 0.0.31
载入中...
搜索中...
未找到
HookUnixNativeEventFilter.h
1#ifndef CHOOKUNIXNATIVEEVENTFILTER_H
2#define CHOOKUNIXNATIVEEVENTFILTER_H
3
4#include <QAbstractNativeEventFilter>
5
6class CHookUnixNativeEventFilter : public QAbstractNativeEventFilter
7{
8public:
10
11 // QAbstractNativeEventFilter interface
12public:
13#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
14 virtual bool nativeEventFilter(const QByteArray &eventType, void *message, qintptr *result) override;
15#else
16 virtual bool nativeEventFilter(const QByteArray &eventType, void *message, long *result) override;
17#endif
18
19};
20
21#endif // CHOOKUNIXNATIVEEVENTFILTER_H