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