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