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