1 | // SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. |
---|---|
2 | // |
3 | // SPDX-License-Identifier: GPL-3.0-or-later |
4 | |
5 | #ifndef CORERECEIVER_H |
6 | #define CORERECEIVER_H |
7 | |
8 | #include <framework/framework.h> |
9 | |
10 | #include <QMainWindow> |
11 | |
12 | //框架实例化 |
13 | class CoreReceiver : public dpf::EventHandler, dpf::AutoEventHandlerRegister<CoreReceiver> |
14 | { |
15 | Q_OBJECT |
16 | public: |
17 | explicit CoreReceiver(QObject *parent = nullptr); |
18 | static Type type(); |
19 | static QStringList topics(); |
20 | virtual void eventProcess(const dpf::Event& event); |
21 | }; |
22 | #endif // CORERECEIVER_H |
23 |