new handler for ctcp clientinfo, fixes #1012
[quassel.git] / src / core / ctcphandler.h
index 35847c1..fde488d 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-09 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  *
 #include <QHash>
 #include <QStringList>
 
-#include "basichandler.h"
+#include "corebasichandler.h"
 
 class CoreListIgnoreListManager;
 
-class CtcpHandler : public BasicHandler {
+class CtcpHandler : public CoreBasicHandler {
   Q_OBJECT
 
 public:
@@ -49,7 +49,9 @@ public:
 
 public slots:
   void handleAction(CtcpType, const QString &prefix, const QString &target, const QString &param);
+  void handleClientinfo(CtcpType, const QString &prefix, const QString &target, const QString &param);
   void handlePing(CtcpType, const QString &prefix, const QString &target, const QString &param);
+  void handleTime(CtcpType, const QString &prefix, const QString &target, const QString &param);
   void handleVersion(CtcpType, const QString &prefix, const QString &target, const QString &param);
 
   void defaultHandler(const QString &cmd, CtcpType ctcptype, const QString &prefix, const QString &target, const QString &param);