#ifndef ATM_DB_H #define ATM_DB_H #include "jiddb.h" #include "trust_db.h" #include #include #include #include #include #include #include #include class AtmDb : public TrustDb, virtual public QXmppAtmTrustStorage { public: AtmDb(const QString &jid, const JidDb &db); QXmppTask addKeysForPostponedTrustDecisions( const QString &encryption, const QByteArray &senderKeyId, const QList &keyOwners) override; QXmppTask removeKeysForPostponedTrustDecisions( const QString &encryption, const QList &keyIdsForAuthentication, const QList &keyIdsForDistrusting) override; QXmppTask removeKeysForPostponedTrustDecisions( const QString &encryption, const QList &senderKeyIds) override; QXmppTask removeKeysForPostponedTrustDecisions( const QString &encryption) override; QXmppTask>> keysForPostponedTrustDecisions(const QString &encryption, const QList &senderKeyIds = {}) override; }; #endif