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.
 
 
 
 
dp4-uos/dp4-dbus-service/dp4service.h

34 lines
596 B

// SPDX-FileCopyrightText: 2024 UnionTech Software Technology Co., Ltd.
//
// SPDX-License-Identifier: LGPL-3.0-or-later
#ifndef SESSIONSERVICE_H
#define SESSIONSERVICE_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