From bbd0f1932fcf7a730d8ab9410e158f2b1035bc23 Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周三, 13 12月 2023 18:53:02 +0800
Subject: [PATCH] Add cocoa

---
 src/core/contexts/qtwindowcontext_p.h |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/core/contexts/qtwindowcontext_p.h b/src/core/contexts/qtwindowcontext_p.h
index 7a31987..8b70610 100644
--- a/src/core/contexts/qtwindowcontext_p.h
+++ b/src/core/contexts/qtwindowcontext_p.h
@@ -5,12 +5,15 @@
 
 namespace QWK {
 
-    class QWK_CORE_EXPORT QtWindowContext : public AbstractWindowContext {
+    class QtWindowContext : public AbstractWindowContext {
         Q_OBJECT
     public:
         QtWindowContext();
         ~QtWindowContext();
 
+        QString key() const override;
+        void virtual_hook(int id, void *data) override;
+
     protected:
         bool setupHost() override;
     };

--
Gitblit v1.9.1