Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-10 09:20:51

0001 // Copyright (C) 2016 The Qt Company Ltd.
0002 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
0003 // Qt-Security score:significant reason:header-decls-only
0004 
0005 #ifndef QABSTRACTNATIVEEVENTFILTER_H
0006 #define QABSTRACTNATIVEEVENTFILTER_H
0007 
0008 #include <QtCore/qnamespace.h>
0009 
0010 QT_BEGIN_NAMESPACE
0011 
0012 #if QT_VERSION < QT_VERSION_CHECK(7, 0, 0)
0013 class QAbstractNativeEventFilterPrivate;
0014 #endif
0015 
0016 class Q_CORE_EXPORT QAbstractNativeEventFilter
0017 {
0018 public:
0019     QAbstractNativeEventFilter();
0020     virtual ~QAbstractNativeEventFilter();
0021 
0022     virtual bool nativeEventFilter(const QByteArray &eventType, void *message, qintptr *result) = 0;
0023 
0024 private:
0025     Q_DISABLE_COPY(QAbstractNativeEventFilter)
0026 #if QT_VERSION < QT_VERSION_CHECK(7, 0, 0)
0027     Q_DECL_UNUSED_MEMBER
0028     QAbstractNativeEventFilterPrivate *d = nullptr;
0029 #endif
0030 };
0031 
0032 QT_END_NAMESPACE
0033 
0034 #endif /* QABSTRACTNATIVEEVENTFILTER_H */