xxcc/atm_db.cpp

43 lines
1.2 KiB
C++

#include "atm_db.h"
#include <QXmppFutureUtils_p.h>
AtmDb::AtmDb(const QString &jid, const JidDb &db) :
TrustDb(jid, db)
{}
QXmppTask<void> AtmDb::addKeysForPostponedTrustDecisions(
const QString &encryption, const QByteArray &senderKeyId,
const QList<QXmppTrustMessageKeyOwner> &keyOwners)
{
return QXmpp::Private::makeReadyTask();
}
QXmppTask<void> AtmDb::removeKeysForPostponedTrustDecisions(
const QString &encryption,
const QList<QByteArray> &keyIdsForAuthentication,
const QList<QByteArray> &keyIdsForDistrusting)
{
return QXmpp::Private::makeReadyTask();
}
QXmppTask<void> AtmDb::removeKeysForPostponedTrustDecisions(
const QString &encryption,
const QList<QByteArray> &senderKeyIds)
{
return QXmpp::Private::makeReadyTask();
}
QXmppTask<void> AtmDb::removeKeysForPostponedTrustDecisions(
const QString &encryption)
{
return QXmpp::Private::makeReadyTask();
}
QXmppTask<QHash<bool, QMultiHash<QString, QByteArray>>>
AtmDb::keysForPostponedTrustDecisions(const QString &encryption,
const QList<QByteArray> &senderKeyIds)
{
return QXmpp::Private::makeReadyTask(
QHash<bool, QMultiHash<QString, QByteArray>>());
}