1/* 2 * Copyright 2013-2014, Stephan A��mus <superstippi@gmx.de>. 3 * Copyright 2016-2023, Andrew Lindesay <apl@lindesay.co.nz>. 4 * All rights reserved. Distributed under the terms of the MIT License. 5 */ 6#ifndef USER_INFO_H 7#define USER_INFO_H 8 9 10#include <String.h> 11 12 13class UserInfo { 14public: 15 UserInfo(); 16 UserInfo(const BString& nickName); 17 UserInfo(const UserInfo& other); 18 19 UserInfo& operator=(const UserInfo& other); 20 bool operator==(const UserInfo& other) const; 21 bool operator!=(const UserInfo& other) const; 22 23 const BString& NickName() const 24 { return fNickName; } 25 26private: 27 BString fNickName; 28}; 29 30 31#endif // USER_INFO_H 32