| 1 | // SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. |
| 2 | // |
| 3 | // SPDX-License-Identifier: GPL-3.0-or-later |
| 4 | |
| 5 | #ifndef DEBUGGERPLUGIN_H |
| 6 | #define DEBUGGERPLUGIN_H |
| 7 | |
| 8 | #include <framework/framework.h> |
| 9 | |
| 10 | namespace dpfservice { |
| 11 | class WindowService; |
| 12 | } |
| 13 | class DebuggerPlugin : public dpf::Plugin |
| 14 | { |
| 15 | Q_OBJECT |
| 16 | Q_PLUGIN_METADATA(IID "org.deepin.plugin.unioncode" FILE "debugger.json" ) |
| 17 | public: |
| 18 | virtual void initialize() override; |
| 19 | virtual bool start() override; |
| 20 | virtual dpf::Plugin::ShutdownFlag stop() override; |
| 21 | |
| 22 | public slots: |
| 23 | void slotDebugStarted(); |
| 24 | |
| 25 | private: |
| 26 | dpfservice::WindowService *windowService = nullptr; |
| 27 | }; |
| 28 | |
| 29 | #endif // DEBUGGERPLUGIN_H |
| 30 | |