X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcorebasichandler.h;h=697775aa5e21e32a2c827db0a9c88c30852830e1;hp=37f629ddd5ff6e0d582e41a285f782804a8fac62;hb=53e50ab66a5b3fa00282545ebc22ce3433ecf42b;hpb=01d67be28f1eb983a1bd0b97f13160ffb6b39307 diff --git a/src/core/corebasichandler.h b/src/core/corebasichandler.h index 37f629dd..697775aa 100644 --- a/src/core/corebasichandler.h +++ b/src/core/corebasichandler.h @@ -64,23 +64,23 @@ signals: * * @see CoreNetwork::putRawLine() */ - void putRawLine(const QByteArray& msg, const bool prepend = false); + void putRawLine(const QByteArray& msg, bool prepend = false); /** * Sends the command with encoded parameters, with optional prefix or high priority. * - * @see CoreNetwork::putCmd(const QString &cmd, const QList ¶ms, const QByteArray &prefix = QByteArray(), const bool - * prepend = false) + * @see CoreNetwork::putCmd(const QString &cmd, const QList ¶ms, const QByteArray &prefix = QByteArray(), const + * QHash& tags = {}, bool prepend = false) */ - 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. * * @see CoreNetwork::putCmd(const QString &cmd, const QList> ¶ms, const QByteArray &prefix = QByteArray(), const - * bool prepend = false) + * QHash& tags = {}, bool prepend = false) */ - 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); protected: /** @@ -89,6 +89,7 @@ protected: * @param[in] cmd Command to send, ignoring capitalization * @param[in] param Parameter for the command, encoded within a QByteArray * @param[in] prefix Optional command prefix + * @param[in] tags Optional command tags * @param[in] prepend * @parmblock * If true, the command is prepended into the start of the queue, otherwise, it's appended to @@ -96,7 +97,7 @@ protected: * maintain PING/PONG replies, the other side will close the connection. * @endparmblock */ - void putCmd(const QString& cmd, const QByteArray& param, const QByteArray& prefix = QByteArray(), const bool prepend = false); + void putCmd(const QString& cmd, const QByteArray& param, const QByteArray& prefix = QByteArray(), const QHash& tags = {}, bool prepend = false); inline CoreNetwork* network() const { return _network; } inline CoreSession* coreSession() const { return _network->coreSession(); }