X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcorenetwork.h;fp=src%2Fcore%2Fcorenetwork.h;h=f07f2a288ca1c0dcf6b7b7c2d0e56ca0c753299b;hp=3ea739dfc803636126947d793784d43db3c5d248;hb=53e50ab66a5b3fa00282545ebc22ce3433ecf42b;hpb=01d67be28f1eb983a1bd0b97f13160ffb6b39307 diff --git a/src/core/corenetwork.h b/src/core/corenetwork.h index 3ea739df..f07f2a28 100644 --- a/src/core/corenetwork.h +++ b/src/core/corenetwork.h @@ -20,15 +20,10 @@ #pragma once -#include "coreircchannel.h" -#include "coreircuser.h" -#include "network.h" +#include -// IRCv3 capabilities #include -#include "irccap.h" - #ifdef HAVE_SSL # include # include @@ -40,9 +35,12 @@ # include "cipher.h" #endif -#include - +#include "coreircchannel.h" +#include "coreircuser.h" #include "coresession.h" +#include "irccap.h" +#include "irctag.h" +#include "network.h" class CoreIdentity; class CoreUserInputHandler; @@ -280,7 +278,7 @@ public slots: * maintain PING/PONG replies, the other side will close the connection. * @endparmblock */ - void putCmd(const QString& cmd, const QList& params, const QByteArray& prefix = {}, bool prepend = false); + void putCmd(const QString& cmd, const QList& params, const QByteArray& prefix = {}, const QHash &tags = {}, bool prepend = false); /** * Sends the command for each set of encoded parameters, with optional prefix or high priority. @@ -299,7 +297,7 @@ public slots: * cannot maintain PING/PONG replies, the other side will close the connection. * @endparmblock */ - void putCmd(const QString& cmd, const QList>& params, const QByteArray& prefix = {}, bool prependAll = false); + void putCmd(const QString& cmd, const QList>& params, const QByteArray& prefix = {}, const QHash &tags = {}, bool prependAll = false); void setChannelJoined(const QString& channel); void setChannelParted(const QString& channel);