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