| 1 | // SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. | 
|---|
| 2 | // | 
|---|
| 3 | // SPDX-License-Identifier: GPL-3.0-or-later | 
|---|
| 4 |  | 
|---|
| 5 | #ifndef PERFORMANCE_H | 
|---|
| 6 | #define PERFORMANCE_H | 
|---|
| 7 |  | 
|---|
| 8 | #include <framework/framework.h> | 
|---|
| 9 |  | 
|---|
| 10 | class Performance : public dpf::Plugin | 
|---|
| 11 | { | 
|---|
| 12 | Q_OBJECT | 
|---|
| 13 | Q_PLUGIN_METADATA(IID "org.deepin.plugin.unioncode"FILE "performance.json") | 
|---|
| 14 | public: | 
|---|
| 15 | virtual void initialize() override; | 
|---|
| 16 | virtual bool start() override; | 
|---|
| 17 | virtual dpf::Plugin::ShutdownFlag stop() override; | 
|---|
| 18 | }; | 
|---|
| 19 |  | 
|---|
| 20 | #endif // PERFORMANCE_H | 
|---|
| 21 |  | 
|---|