X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fctcphandler.h;h=169ec16f4f133fccf0dafee4c1de43463e1f2cc2;hb=57982f5802c957e768ce842888591115694fcbef;hp=d15f6e6e9c7f0038fbea6fa887f608111bf82af6;hpb=a5dfcc8ecf8b81025d24b3c5c816169e3e030ea4;p=quassel.git diff --git a/src/core/ctcphandler.h b/src/core/ctcphandler.h index d15f6e6e..169ec16f 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,9 +24,11 @@ #include #include -#include "basichandler.h" +#include "corebasichandler.h" -class CtcpHandler : public BasicHandler { +class CoreListIgnoreListManager; + +class CtcpHandler : public CoreBasicHandler { Q_OBJECT public: @@ -48,6 +50,7 @@ public: public slots: void handleAction(CtcpType, const QString &prefix, const QString &target, const QString ¶m); void handlePing(CtcpType, const QString &prefix, const QString &target, const QString ¶m); + void handleTime(CtcpType, const QString &prefix, const QString &target, const QString ¶m); void handleVersion(CtcpType, const QString &prefix, const QString &target, const QString ¶m); void defaultHandler(const QString &cmd, CtcpType ctcptype, const QString &prefix, const QString &target, const QString ¶m); @@ -56,6 +59,7 @@ private: QByteArray XDELIM; QHash ctcpMDequoteHash; QHash ctcpXDelimDequoteHash; + CoreIgnoreListManager *_ignoreListManager; };