From f0e0e1cd227c08ffd97aa42813a479b8c3ca6d23 Mon Sep 17 00:00:00 2001 From: Linus Jahn Date: Tue, 31 May 2022 12:22:48 +0200 Subject: Split up OMEMO into extra module --- src/client/QXmppOmemoStorage.cpp | 97 ---------------------------------------- 1 file changed, 97 deletions(-) delete mode 100644 src/client/QXmppOmemoStorage.cpp (limited to 'src/client/QXmppOmemoStorage.cpp') diff --git a/src/client/QXmppOmemoStorage.cpp b/src/client/QXmppOmemoStorage.cpp deleted file mode 100644 index 97b66dbe..00000000 --- a/src/client/QXmppOmemoStorage.cpp +++ /dev/null @@ -1,97 +0,0 @@ -// SPDX-FileCopyrightText: 2022 Melvin Keskin -// -// SPDX-License-Identifier: LGPL-2.1-or-later - -/// -/// \class QXmppOmemoStorage -/// -/// \brief The QXmppOmemoStorage class stores data used by -/// \xep{0384, OMEMO Encryption}. -/// -/// \warning THIS API IS NOT FINALIZED YET! -/// -/// \since QXmpp 1.5 -/// - -/// -/// \fn QXmppOmemoStorage::allData() -/// -/// Returns all data used by OMEMO. -/// -/// \return the OMEMO data -/// - -/// -/// \fn QXmppOmemoStorage::setOwnDevice(const std::optional &device) -/// -/// Sets the own device (i.e., the device used by this client instance). -/// -/// \param device own device -/// - -/// -/// \fn QXmppOmemoStorage::addSignedPreKeyPair(uint32_t keyId, const SignedPreKeyPair &keyPair) -/// -/// Adds a signed pre key pair. -/// -/// \param keyId ID of the signed pre key pair -/// \param keyPair signed pre key pair -/// - -/// -/// \fn QXmppOmemoStorage::removeSignedPreKeyPair(uint32_t keyId) -/// -/// Removes a signed pre key pair. -/// -/// \param keyId ID of the signed pre key pair -/// - -/// -/// \fn QXmppOmemoStorage::addPreKeyPairs(const QHash &keyPairs) -/// -/// Adds pre key pairs. -/// -/// \param keyPairs key IDs mapped to the pre key pairs -/// - -/// -/// \fn QXmppOmemoStorage::removePreKeyPair(uint32_t keyId) -/// -/// Removes a pre key pair. -/// -/// \param keyId ID of the pre key pair -/// - -/// -/// \fn QXmppOmemoStorage::addDevice(const QString &jid, uint32_t deviceId, const Device &device) -/// -/// Adds other devices (i.e., all devices but the own one). -/// -/// \param jid JID of the device owner -/// \param deviceId ID of the device -/// \param device device being added -/// - -/// -/// \fn QXmppOmemoStorage::removeDevice(const QString &jid, uint32_t deviceId) -/// -/// Removes a device of the other devices (i.e., all devices but the own one). -/// -/// \param jid JID of the device owner -/// \param deviceId ID of the device being removed -/// - -/// -/// \fn QXmppOmemoStorage::removeDevices(const QString &jid) -/// -/// Removes all devices of a passed JID from the other devices (i.e., all -/// devices but the own one). -/// -/// \param jid JID of the device owner -/// - -/// -/// \fn QXmppOmemoStorage::resetAll() -/// -/// Resets all data. -/// -- cgit v1.2.3