ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/zoe/trunk/Buddy.hpp
Revision: 20
Committed: 2004-07-16T00:41:53-07:00 (20 years, 11 months ago) by douglas
File size: 565 byte(s)
Log Message:
Away message, stuff.

File Contents

# Content
1 // Zoe AIM Away Message RSS Feed Generator
2 //
3 // Seth King and Douglas Thrift
4 //
5 // $Id$
6
7 #ifndef _Buddy_hpp_
8 #define _Buddy_hpp_
9
10 #include "Zoe.hpp"
11
12 class Buddy
13 {
14 private:
15 ext::String login, rss;
16 public:
17 Buddy(const ext::String& login, const ext::String& rss = "") :
18 login(net::Oscar::collapse(login)), 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_

Properties

Name Value
svn:eol-style native
svn:keywords Id