X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcommon%2Fauthhandler.h;h=d5c54716a8562100ddaba5ab61f790226a6305d4;hb=39328183a6a87c6eb10a9dbbffcd5d65bf154a1f;hp=cc03588ed2479e3efc6531b9a1e1de2f8248c5d1;hpb=447501045b6fe14fdeff95823e2ea85416da7a77;p=quassel.git diff --git a/src/common/authhandler.h b/src/common/authhandler.h index cc03588e..d5c54716 100644 --- a/src/common/authhandler.h +++ b/src/common/authhandler.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2014 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -18,8 +18,9 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef AUTHHANDLER_H -#define AUTHHANDLER_H +#pragma once + +#include "common-export.h" #include @@ -27,12 +28,12 @@ class Peer; -class AuthHandler : public QObject +class COMMON_EXPORT AuthHandler : public QObject { Q_OBJECT public: - AuthHandler(QObject *parent = 0); + AuthHandler(QObject *parent = nullptr); QTcpSocket *socket() const; @@ -73,5 +74,3 @@ private: QTcpSocket *_socket; // FIXME: should be a QSharedPointer? -> premature disconnect before the peer has taken over bool _disconnectedSent; }; - -#endif