You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
588 B
34 lines
588 B
// SPDX-FileCopyrightText: 2024 UnionTech Software Technology Co., Ltd.
|
|
//
|
|
// SPDX-License-Identifier: LGPL-3.0-or-later
|
|
|
|
#ifndef DP4SERVICE_H
|
|
#define DP4SERVICE_H
|
|
|
|
#include <QObject>
|
|
|
|
namespace dp4 {
|
|
namespace service {
|
|
|
|
class Dp4Service : public QObject
|
|
{
|
|
Q_OBJECT
|
|
Q_CLASSINFO("D-Bus Interface", "org.deepin.service.dp4")
|
|
|
|
Q_PROPERTY(QString token READ getToken WRITE setToken)
|
|
|
|
public:
|
|
explicit Dp4Service(QObject *parent = nullptr);
|
|
|
|
private:
|
|
QString getToken();
|
|
void setToken(const QString &token);
|
|
|
|
private:
|
|
QString m_token;
|
|
};
|
|
|
|
}
|
|
}
|
|
|
|
#endif // SERVICE_H
|
|
|