From d08030ea8f04f056aed88a4ad96dc9233d069787 Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周一, 01 1月 2024 19:18:10 +0800
Subject: [PATCH] Add license

---
 src/core/qwkglobal.h |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/src/core/qwkglobal.h b/src/core/qwkglobal.h
index 1d8be98..c659e0b 100644
--- a/src/core/qwkglobal.h
+++ b/src/core/qwkglobal.h
@@ -1,5 +1,10 @@
+// Copyright (C) 2023-2024 Stdware Collections
+// SPDX-License-Identifier: Apache-2.0
+
 #ifndef QWKGLOBAL_H
 #define QWKGLOBAL_H
+
+#include <functional>
 
 #include <QtCore/QEvent>
 #include <QtGui/QtEvents>
@@ -28,4 +33,10 @@
 #  define QWINDOWKIT_CONFIG(feature) ((1 / QWINDOWKIT_##feature) == 1)
 #endif
 
+namespace QWK {
+
+    using ScreenRectCallback = std::function<QRect(const QSize &)>;
+
+}
+
 #endif // QWKGLOBAL_H

--
Gitblit v1.9.1