X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fircserverhandler.h;h=d7b875002cb62a4bc0f05e9e03f8e4fd4bf83439;hp=ceb8ef35245782050270c7f2dbe977a4ada94222;hb=56b69808aa71b882aa792fadfda2733d765c2ba8;hpb=428ac8d41b1bd6cefea861a2dacc58b2badd4ca4 diff --git a/src/core/ircserverhandler.h b/src/core/ircserverhandler.h index ceb8ef35..d7b87500 100644 --- a/src/core/ircserverhandler.h +++ b/src/core/ircserverhandler.h @@ -35,27 +35,12 @@ public: public slots: void handleJoin(const QString &prefix, const QList ¶ms); - void handleKick(const QString &prefix, const QList ¶ms); void handleMode(const QString &prefix, const QList ¶ms); - void handleNick(const QString &prefix, const QList ¶ms); void handleNotice(const QString &prefix, const QList ¶ms); - void handlePart(const QString &prefix, const QList ¶ms); void handlePing(const QString &prefix, const QList ¶ms); - void handlePong(const QString &prefix, const QList ¶ms); void handlePrivmsg(const QString &prefix, const QList ¶ms); void handleQuit(const QString &prefix, const QList ¶ms); - void handleTopic(const QString &prefix, const QList ¶ms); - void handleCap(const QString &prefix, const QList ¶ms); // CAP framework - void handleAuthenticate(); // SASL auth - no params - void handle001(const QString &prefix, const QList ¶ms); // RPL_WELCOME void handle005(const QString &prefix, const QList ¶ms); // RPL_ISUPPORT - void handle221(const QString &prefix, const QList ¶ms); // RPL_UMODEIS - void handle250(const QString &prefix, const QList ¶ms); // RPL_STATSDLINE - void handle265(const QString &prefix, const QList ¶ms); // RPL_LOCALUSERS - void handle266(const QString &prefix, const QList ¶ms); // RPL_GLOBALUSERS - void handle301(const QString &prefix, const QList ¶ms); // RPL_AWAY - void handle305(const QString &prefix, const QList ¶ms); // RPL_UNAWAY - void handle306(const QString &prefix, const QList ¶ms); // RPL_NOWAWAY void handle307(const QString &prefix, const QList ¶ms); // RPL_WHOISSERVICE void handle310(const QString &prefix, const QList ¶ms); // RPL_SUSERHOST void handle311(const QString &prefix, const QList ¶ms); // RPL_WHOISUSER @@ -72,9 +57,11 @@ public slots: void handle324(const QString &prefix, const QList ¶ms); // RPL_CHANNELMODEIS void handle328(const QString &prefix, const QList ¶ms); // RPL_??? (channel homepage) void handle329(const QString &prefix, const QList ¶ms); // RPL_??? (channel creation time) + void handle330(const QString &prefix, const QList ¶ms); // RPL_WHOISACCOUNT (quakenet/snircd/undernet) 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 +116,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