| 1 | // SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. | 
|---|---|
| 2 | // | 
| 3 | // SPDX-License-Identifier: GPL-3.0-or-later | 
| 4 | |
| 5 | #include "templateplugin.h" | 
| 6 | #include "templatemanager.h" | 
| 7 | |
| 8 | void TemplatePlugin::initialize() | 
| 9 | { | 
| 10 | qInfo() << __FUNCTION__; | 
| 11 | } | 
| 12 | |
| 13 | bool TemplatePlugin::start() | 
| 14 | { | 
| 15 | qInfo() << __FUNCTION__; | 
| 16 | TemplateManager::instance()->initialize(); | 
| 17 | |
| 18 | return true; | 
| 19 | } | 
| 20 | |
| 21 | dpf::Plugin::ShutdownFlag TemplatePlugin::stop() | 
| 22 | { | 
| 23 | qInfo() << __FUNCTION__; | 
| 24 | return Sync; | 
| 25 | } | 
| 26 | |
| 27 | |
| 28 | 
