X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fpeer.h;h=32ee0b5f5eb1edcfa7842e344c3374401b8be070;hp=79204b4f9996a33b2e4cf312ef1eed2f7e1c3caf;hb=9ef86f499753853c3751aee7da54d186837a5161;hpb=465e723c31d36f28eff7665ca2a8e0fb34427c29 diff --git a/src/common/peer.h b/src/common/peer.h index 79204b4f..32ee0b5f 100644 --- a/src/common/peer.h +++ b/src/common/peer.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2015 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 * @@ -50,6 +50,15 @@ public: virtual int lag() const = 0; + virtual QString address() const = 0; + virtual quint16 port() const = 0; + + int _id = -1; + + QDateTime _connectedSince; + QString _buildDate; + QString _clientVersion; + public slots: /* Handshake messages */ virtual void dispatch(const Protocol::RegisterClient &) = 0;