wip
Zhao Yuhang
2023-12-02 51039917996909284fbc2d776a9b8f71fe5e6f9a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef COREWINDOWAGENTPRIVATE_H
#define COREWINDOWAGENTPRIVATE_H
 
#include <QWKCore/corewindowagent.h>
#include <QWKCore/private/abstractwindowcontext_p.h>
 
namespace QWK {
 
    class QWK_CORE_EXPORT CoreWindowAgentPrivate {
        Q_DISABLE_COPY(CoreWindowAgentPrivate)
        Q_DECLARE_PUBLIC(CoreWindowAgent)
 
    public:
        CoreWindowAgentPrivate();
        virtual ~CoreWindowAgentPrivate();
 
        void init();
 
        CoreWindowAgent *q_ptr; // no need to initialize
 
        bool setup(QWindow *window, const WindowItemDelegatePtr &delegate);
 
        WindowContextPtr eventHandler;
    };
 
}
 
#endif // COREWINDOWAGENTPRIVATE_H