X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fircserverhandler.h;h=30f2d1d62f906d3e8b32ddeab47e2ebd72475b33;hb=98fe341385f5b1bc0f652df61a85a0c7e00014d1;hp=ceb8ef35245782050270c7f2dbe977a4ada94222;hpb=428ac8d41b1bd6cefea861a2dacc58b2badd4ca4;p=quassel.git diff --git a/src/core/ircserverhandler.h b/src/core/ircserverhandler.h index ceb8ef35..30f2d1d6 100644 --- a/src/core/ircserverhandler.h +++ b/src/core/ircserverhandler.h @@ -34,6 +34,7 @@ public: void handleServerMsg(QByteArray rawMsg); public slots: + void handleInvite(const QString &prefix, const QList ¶ms); void handleJoin(const QString &prefix, const QList ¶ms); void handleKick(const QString &prefix, const QList ¶ms); void handleMode(const QString &prefix, const QList ¶ms); @@ -75,6 +76,7 @@ public slots: void handle331(const QString &prefix, const QList ¶ms); // RPL_NOTOPIC void handle332(const QString &prefix, const QList ¶ms); // RPL_TOPIC void handle333(const QString &prefix, const QList ¶ms); // Topic set by... + void handle341(const QString &prefix, const QList ¶ms); // RPL_INVITING void handle352(const QString &prefix, const QList ¶ms); // RPL_WHOREPLY void handle353(const QString &prefix, const QList ¶ms); // RPL_NAMREPLY void handle369(const QString &prefix, const QList ¶ms); // RPL_ENDOFWHOWAS @@ -129,12 +131,10 @@ private: // key: quit message // value: the corresponding netsplit object QHash _netsplits; - - #ifdef HAVE_QCA2 - QByteArray decrypt(const QString &bufferName, QByteArray &message); - QString decryptTopic(const QString &bufferName, QString &topic); - #endif -}; +#ifdef HAVE_QCA2 + QByteArray decrypt(const QString &target, const QByteArray &message, bool isTopic = false); +#endif +}; #endif