1 | // SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. |
---|---|
2 | // |
3 | // SPDX-License-Identifier: GPL-3.0-or-later |
4 | |
5 | #ifndef COMMANDLINERECEIVER_H |
6 | #define COMMANDLINERECEIVER_H |
7 | |
8 | #include "services/project/projectinfo.h" |
9 | #include "services/builder/builderglobals.h" |
10 | |
11 | #include <framework/framework.h> |
12 | |
13 | class CommandLineReceiver : public dpf::EventHandler, |
14 | dpf::AutoEventHandlerRegister<CommandLineReceiver> |
15 | { |
16 | Q_OBJECT |
17 | friend class dpf::AutoEventHandlerRegister<CommandLineReceiver>; |
18 | |
19 | public: |
20 | explicit CommandLineReceiver(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 // COMMANDLINERECEIVER_H |
30 |