ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/zoe/trunk/Collector.hpp
Revision: 20
Committed: 2004-07-16T00:41:53-07:00 (20 years, 11 months ago) by douglas
File size: 674 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 _Collector_hpp_
8 #define _Collector_hpp_
9
10 #include "AwayMessage.hpp"
11
12 class Collector
13 {
14 private:
15 const ext::String& login;
16 ext::String& password;
17 const std::set<Buddy>& buddies;
18 bool start, prompted;
19 api::Thread collector;
20 net::Oscar::BuddyTool* buddy;
21 net::Oscar::IcbmTool* icbm;
22 int collect();
23 void prompt();
24 void reply(const Buddy& buddy, const ext::String& message);
25 public:
26 Collector(const ext::String& login, ext::String& password, const
27 std::set<Buddy>& buddies, bool start);
28 ~Collector() { if (start) collector.Join(); }
29 //
30 };
31
32 #endif // _Collector_hpp_

Properties

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