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