xref: /haiku/src/apps/haikudepot/packagemodel/PublisherInfo.h (revision 984f843b917a1c4e077915c5961a6ef1cf8dabc7)
1 /*
2  * Copyright 2013-2014, Stephan Aßmus <superstippi@gmx.de>.
3  * Copyright 2016-2024, Andrew Lindesay <apl@lindesay.co.nz>.
4  * All rights reserved. Distributed under the terms of the MIT License.
5  */
6 #ifndef PUBLISHER_INFO_H
7 #define PUBLISHER_INFO_H
8 
9 
10 #include <String.h>
11 
12 
13 class PublisherInfo {
14 public:
15 								PublisherInfo();
16 								PublisherInfo(const BString& name, const BString& website);
17 								PublisherInfo(const PublisherInfo& other);
18 
19 			PublisherInfo&		operator=(const PublisherInfo& other);
20 			bool				operator==(const PublisherInfo& other) const;
21 			bool				operator!=(const PublisherInfo& other) const;
22 
23 			const BString&		Name() const
24 									{ return fName; }
25 			const BString&		Website() const
26 									{ return fWebsite; }
27 
28 private:
29 			BString				fName;
30 			BString				fWebsite;
31 };
32 
33 #endif // PUBLISHER_INFO_H
34