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