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