/* * Copyright 2013-2014, Stephan Aßmus . * Copyright 2013, Rene Gollent . * Copyright 2016-2023, Andrew Lindesay . * All rights reserved. Distributed under the terms of the MIT License. */ #include "UserInfo.h" UserInfo::UserInfo() : fNickName() { } UserInfo::UserInfo(const BString& nickName) : fNickName(nickName) { } UserInfo::UserInfo(const UserInfo& other) : fNickName(other.fNickName) { } UserInfo& UserInfo::operator=(const UserInfo& other) { fNickName = other.fNickName; return *this; } bool UserInfo::operator==(const UserInfo& other) const { return fNickName == other.fNickName; } bool UserInfo::operator!=(const UserInfo& other) const { return !(*this == other); }