QuasarAppLib/qasecretservice.h

36 lines
810 B
C
Raw Normal View History

2024-01-21 16:44:23 +01:00
/*
2024-12-30 22:39:49 +01:00
* Copyright (C) 2024-2025 QuasarApp.
2024-01-21 16:44:23 +01:00
* Distributed under the lgplv3 software license, see the accompanying
* Everyone is permitted to copy and distribute verbatim copies
* of this license document, but changing it is not allowed.
*/
#ifndef QASECRETSERVICE_H
#define QASECRETSERVICE_H
#include <QByteArray>
namespace QuasarAppUtils {
/**
* @brief The qasecretservice class This is a simeple provider of QASecretService tool
* See https://github.com/QuasarApp/SecretService
* @note Before use this class please install QASecretService to your runtime mashine.
*
*/
class QASecretService
{
public:
QASecretService();
2024-01-21 18:33:48 +01:00
#ifdef Q_OS_LINUX
2024-01-21 16:44:23 +01:00
static QByteArray getByAlias(const QString& alias);
static QByteArray getByHash(const QByteArray& hash);
2024-01-21 18:33:48 +01:00
#endif
2024-01-21 16:44:23 +01:00
};
}
#endif // QASECRETSERVICE_H