Client node now displays in all participants and presences, some additional checkups before querying empty clients, refactoring
This commit is contained in:
parent
76a9c5da0c
commit
21b40a9ccb
19 changed files with 407 additions and 317 deletions
|
@ -25,7 +25,18 @@ namespace Shared {
|
|||
class ClientId {
|
||||
public:
|
||||
ClientId();
|
||||
ClientId(const QString& node, const QString& verification, const QString& hash);
|
||||
ClientId(const ClientId& other);
|
||||
ClientId& operator = (const ClientId& other);
|
||||
|
||||
bool operator == (const ClientId& other) const;
|
||||
bool operator != (const ClientId& other) const;
|
||||
bool operator < (const ClientId& other) const;
|
||||
bool operator > (const ClientId& other) const;
|
||||
bool operator <= (const ClientId& other) const;
|
||||
bool operator >= (const ClientId& other) const;
|
||||
|
||||
bool valid() const;
|
||||
QString getId() const;
|
||||
|
||||
QDataStream& operator << (QDataStream& stream);
|
||||
|
@ -39,6 +50,8 @@ public:
|
|||
|
||||
}
|
||||
|
||||
Q_DECLARE_METATYPE(Shared::ClientId)
|
||||
|
||||
QDataStream& operator << (QDataStream& stream, const Shared::ClientId& info);
|
||||
QDataStream& operator >> (QDataStream& stream, Shared::ClientId& info);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue