1 | // SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. |
---|---|
2 | // |
3 | // SPDX-License-Identifier: GPL-3.0-or-later |
4 | |
5 | #ifndef SYMBOLSERVICE_H |
6 | #define SYMBOLSERVICE_H |
7 | |
8 | #include <framework/framework.h> |
9 | |
10 | #include <QTabWidget> |
11 | |
12 | namespace dpfservice { |
13 | |
14 | class SymbolService final : public dpf::PluginService, |
15 | dpf::AutoServiceRegister<SymbolService> |
16 | { |
17 | Q_OBJECT |
18 | Q_DISABLE_COPY(SymbolService) |
19 | public: |
20 | static QString name() |
21 | { |
22 | return "org.deepin.service.SymbolService"; |
23 | } |
24 | |
25 | explicit SymbolService(QObject *parent = nullptr) |
26 | : dpf::PluginService (parent) |
27 | { |
28 | |
29 | } |
30 | }; |
31 | |
32 | /* MainWindow codeediter workspace title, |
33 | * use in window service swtich workspace |
34 | */ |
35 | inline const QString MWCWT_SYMBOL {QTabWidget::tr("Symbol")}; |
36 | |
37 | } //namespace dpfservice |
38 | |
39 | #endif // SYMBOLSERVICE_H |
40 |