5#ifndef QXMPPE2EEEXTENSION_H
6#define QXMPPE2EEEXTENSION_H
9#include "QXmppExtension.h"
10#include "QXmppSendResult.h"
11#include "QXmppSendStanzaParams.h"
Definition: QXmppE2eeExtension.h:23
virtual bool isEncrypted(const QXmppMessage &)=0
virtual QXmppTask< IqEncryptResult > encryptIq(QXmppIq &&, const std::optional< QXmppSendStanzaParams > &)=0
std::variant< QXmppMessage, NotEncrypted, QXmppError > MessageDecryptResult
Definition: QXmppE2eeExtension.h:28
virtual bool isEncrypted(const QDomElement &)=0
virtual QXmppTask< IqDecryptResult > decryptIq(const QDomElement &)=0
std::variant< std::unique_ptr< QXmppIq >, QXmppError > IqEncryptResult
Definition: QXmppE2eeExtension.h:29
virtual QXmppTask< MessageDecryptResult > decryptMessage(QXmppMessage &&)=0
std::variant< std::unique_ptr< QXmppMessage >, QXmppError > MessageEncryptResult
Definition: QXmppE2eeExtension.h:27
virtual QXmppTask< MessageEncryptResult > encryptMessage(QXmppMessage &&, const std::optional< QXmppSendStanzaParams > &)=0
std::variant< QDomElement, NotEncrypted, QXmppError > IqDecryptResult
Definition: QXmppE2eeExtension.h:30
The QXmppIq class is the base class for all IQs.
Definition: QXmppIq.h:23
The QXmppMessage class represents an XMPP message.
Definition: QXmppMessage.h:64
Definition: QXmppTask.h:62
Definition: QXmppE2eeExtension.h:25
Definition: QXmppError.h:17