X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fctcphandler.h;h=e44321bdaddba9aba8eaa6570d1db1960dee5a5d;hp=aa42bf9c0c05be317ccbee3a46303e52ed97017b;hb=513c0edce6f4c69f16e6a00c144877e8d5940096;hpb=f62cdd391a5e30ef2d2ffbcaa0718904b1652d4e diff --git a/src/core/ctcphandler.h b/src/core/ctcphandler.h index aa42bf9c..e44321bd 100644 --- a/src/core/ctcphandler.h +++ b/src/core/ctcphandler.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-08 by the Quassel Project * + * Copyright (C) 2005-10 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -24,19 +24,23 @@ #include #include -#include "basichandler.h" +#include "corebasichandler.h" -class CtcpHandler : public BasicHandler { +class CoreListIgnoreListManager; + +class CtcpHandler : public CoreBasicHandler { Q_OBJECT public: - CtcpHandler(NetworkConnection *parent = 0); + CtcpHandler(CoreNetwork *parent = 0); enum CtcpType {CtcpQuery, CtcpReply}; void parse(Message::Type, const QString &prefix, const QString &target, const QByteArray &message); - QByteArray dequote(const QByteArray &); + QByteArray lowLevelQuote(const QByteArray &); + QByteArray lowLevelDequote(const QByteArray &); + QByteArray xdelimQuote(const QByteArray &); QByteArray xdelimDequote(const QByteArray &); QByteArray pack(const QByteArray &ctcpTag, const QByteArray &message); @@ -54,6 +58,7 @@ private: QByteArray XDELIM; QHash ctcpMDequoteHash; QHash ctcpXDelimDequoteHash; + CoreIgnoreListManager *_ignoreListManager; };