ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/zoe/trunk/Publisher.hpp
Revision: 27
Committed: 2004-07-17T19:21:04-07:00 (20 years, 11 months ago) by douglas
File size: 484 byte(s)
Log Message:
Feed me!

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 _Publisher_hpp_
8     #define _Publisher_hpp_
9    
10 douglas 21 #include "Zoe.hpp"
11 douglas 13
12     class Publisher
13     {
14     private:
15 douglas 21 const std::set<Buddy>& buddies;
16     const Database& database;
17 douglas 15 bool start;
18     api::Thread publisher;
19 douglas 21 int publish();
20 douglas 27 void update();
21 douglas 13 public:
22 douglas 21 Publisher(const std::set<Buddy>& buddies, const Database& database, bool
23     start);
24 douglas 15 ~Publisher() { if (start) publisher.Join(); }
25 douglas 13 };
26    
27     #endif // _Publisher_hpp_

Properties

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