Sine Striker
2023-12-29 6eb2efea00eb07ce3a6b089b984885ce4a08c9ca
src/core/qwkglobal.h
@@ -1,6 +1,8 @@
#ifndef QWKGLOBAL_H
#define QWKGLOBAL_H
#include <functional>
#include <QtCore/QEvent>
#include <QtGui/QtEvents>
@@ -24,4 +26,14 @@
using QT_ENTER_EVENT_TYPE = QEvent;
#endif
#ifndef QWINDOWKIT_CONFIG
#  define QWINDOWKIT_CONFIG(feature) ((1 / QWINDOWKIT_##feature) == 1)
#endif
namespace QWK {
    using ScreenRectCallback = std::function<QRect(const QSize &)>;
}
#endif // QWKGLOBAL_H