Bring copyright headers into 2016
[quassel.git] / src / common / authhandler.h
index 3cf5059..4b6a41b 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-2014 by the Quassel Project                        *
+ *   Copyright (C) 2005-2016 by the Quassel Project                        *
  *   devel@quassel-irc.org                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
@@ -36,6 +36,8 @@ public:
 
     QTcpSocket *socket() const;
 
+    bool isLocal() const;
+
     virtual void handle(const Protocol::RegisterClient &) { invalidMessage(); }
     virtual void handle(const Protocol::ClientDenied &) { invalidMessage(); }
     virtual void handle(const Protocol::ClientRegistered &) { invalidMessage(); }
@@ -62,8 +64,8 @@ protected:
     void setSocket(QTcpSocket *socket);
 
 protected slots:
-    void onSocketError(QAbstractSocket::SocketError error);
-    void onSocketDisconnected();
+    virtual void onSocketError(QAbstractSocket::SocketError error);
+    virtual void onSocketDisconnected();
 
 private:
     void invalidMessage();