ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/zoe/trunk/Buddy.hpp
Revision: 15
Committed: 2004-07-13T20:14:49-07:00 (20 years, 11 months ago) by douglas
File size: 538 byte(s)
Log Message:
Did stuff, added password prompt, added initial net::Oscar stuff, added threads.

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) : 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_

Properties

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