X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fctcphandler.h;h=35847c1f53b2a53d348779f77052bd0905f50cc4;hp=aa42bf9c0c05be317ccbee3a46303e52ed97017b;hb=2baaaea16e777a1fe961d6cc4d34aa9dd323333e;hpb=f62cdd391a5e30ef2d2ffbcaa0718904b1652d4e diff --git a/src/core/ctcphandler.h b/src/core/ctcphandler.h index aa42bf9c..35847c1f 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-09 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -26,17 +26,21 @@ #include "basichandler.h" +class CoreListIgnoreListManager; + class CtcpHandler : public BasicHandler { 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; };