Zhao Yuhang
2023-12-11 fd1a6ff8a0e14801b1146873588f110c9db87145
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef NATIVEEVENTFILTER_H
#define NATIVEEVENTFILTER_H
 
#include <QWKCore/qwkglobal.h>
 
namespace QWK {
 
    class QWK_CORE_EXPORT NativeEventFilter {
    public:
        NativeEventFilter();
        virtual ~NativeEventFilter();
 
    public:
        virtual bool nativeEventFilter(const QByteArray &eventType, void *message,
                                       QT_NATIVE_EVENT_RESULT_TYPE *result) = 0;
 
    private:
        Q_DISABLE_COPY(NativeEventFilter)
    };
 
}
 
#endif // NATIVEEVENTFILTER_H