X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcoreuserinputhandler.h;h=9a31f69e2c1cf074be2212600f00a1733961fa36;hp=801024d64bda07d70bdda9fdb3ae0b160d814e09;hb=e670ca6e245c9e1044879b12afb1a7a38667b264;hpb=14281719026a2d9d30667f63f3659c2c4e7e0cca diff --git a/src/core/coreuserinputhandler.h b/src/core/coreuserinputhandler.h index 801024d6..9a31f69e 100644 --- a/src/core/coreuserinputhandler.h +++ b/src/core/coreuserinputhandler.h @@ -23,6 +23,7 @@ #include "corebasichandler.h" +class Cipher; class Server; class CoreUserInputHandler : public CoreBasicHandler { @@ -77,11 +78,11 @@ protected: private: void banOrUnban(const BufferInfo &bufferInfo, const QString &text, bool ban); - void putPrivmsg(const QByteArray &target, const QByteArray &message, bool isEncrypted); + void putPrivmsg(const QByteArray &target, const QByteArray &message, Cipher *cipher = 0); int lastParamOverrun(const QString &cmd, const QList ¶ms); #ifdef HAVE_QCA2 - QByteArray encrypt(const QString &target, const QByteArray &message) const; + QByteArray encrypt(const QString &target, const QByteArray &message, bool *didEncrypt = 0) const; #endif struct Command {