ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/zoe/trunk/Buddy.hpp
(Generate patch)

Comparing trunk/Buddy.hpp (file contents):
Revision 14 by douglas, 2004-07-11T20:45:38-07:00 vs.
Revision 15 by douglas, 2004-07-13T20:14:49-07:00

# Line 17 | Line 17 | public:
17          Buddy(const ext::String& login, const ext::String& rss) : login(login),
18                  rss(rss) {}
19          ~Buddy() {}
20 +        bool operator==(const Buddy& buddy) const { return login == buddy.login; }
21          bool operator<(const Buddy& buddy) const { return login < buddy.login; }
22 +        operator const ext::String&() const { return login; }
23   };
24  
25   #endif // _Buddy_hpp_

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines