From 1a1f26d9e4ab6a4fe51baa78e40c4cdf3f402bcf Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 摹曛, 07 12月 2023 14:27:00 +0800
Subject: [PATCH] Add context factory

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

diff --git a/src/core/corewindowagent_p.h b/src/core/corewindowagent_p.h
index faa61f8..7ff6825 100644
--- a/src/core/corewindowagent_p.h
+++ b/src/core/corewindowagent_p.h
@@ -16,6 +16,8 @@
 
         CoreWindowAgent *q_ptr; // no need to initialize
 
+        virtual AbstractWindowContext *createContext() const;
+
         bool setup(QObject *host, WindowItemDelegate *delegate);
 
         std::unique_ptr<AbstractWindowContext> context;

--
Gitblit v1.9.1