ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/zoe/trunk/Collector.hpp
Revision: 18
Committed: 2004-07-15T00:10:42-07:00 (20 years, 11 months ago) by douglas
File size: 675 byte(s)
Log Message:
Promptify!

File Contents

# User Rev Content
1 douglas 13 // 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 douglas 15 const ext::String& login;
16     ext::String& password;
17 douglas 18 bool start, prompted;
18 douglas 15 api::Thread collector;
19 douglas 17 net::Oscar::BuddyTool* buddy;
20     net::Oscar::IcbmTool* icbm;
21 douglas 15 int collect(const std::set<Buddy>& buddies);
22     void prompt();
23 douglas 17 void reply(const ext::String& login, const ext::String& reply);
24 douglas 13 public:
25 douglas 15 Collector(const ext::String& login, ext::String& password, const
26     std::set<Buddy>& buddies, bool start);
27     ~Collector() { if (start) collector.Join(); }
28 douglas 13 //
29     };
30    
31     #endif // _Collector_hpp_

Properties

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