Don't invoke notifications for own messages, fixes #507
[quassel.git] / src / core / ctcphandler.h
index aa42bf9..6d3178b 100644 (file)
@@ -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  *
@@ -30,13 +30,15 @@ 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);