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
10namespace dpfservice {
11class WindowService;
12}
13
14namespace ReverseDebugger {
15namespace Internal {
16class ReverseDebuggerMgr;
17}
18}
19
20class ReverseDebugPlugin : public dpf::Plugin
21{
22 Q_OBJECT
23 Q_PLUGIN_METADATA(IID "org.deepin.plugin.unioncode" FILE "reversedebug.json")
24public:
25 virtual void initialize() override;
26 virtual bool start() override;
27 virtual dpf::Plugin::ShutdownFlag stop() override;
28
29private:
30 dpfservice::WindowService *windowService = nullptr;
31 ReverseDebugger::Internal::ReverseDebuggerMgr *reverseDebug = nullptr;
32};
33
34#endif // REVERSEDEBUGPLUGIN_H
35