xref: /haiku/src/apps/haikudepot/packagemodel/UserInfo.h (revision 7eab6b486ebadb54ca3c306601f4b04dd92359fa)
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 
13 class UserInfo {
14 public:
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 
26 private:
27 			BString				fNickName;
28 };
29 
30 
31 #endif // USER_INFO_H
32