Revision: | 15 |
Committed: | 2004-07-13T20:14:49-07:00 (20 years, 11 months ago) by douglas |
File size: | 422 byte(s) |
Log Message: | Did stuff, added password prompt, added initial net::Oscar stuff, added threads. |
# | 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 | #include "AwayMessage.hpp" | ||
11 | |||
12 | class Publisher | ||
13 | { | ||
14 | private: | ||
15 | douglas | 15 | bool start; |
16 | api::Thread publisher; | ||
17 | int publish(const std::set<Buddy>& buddies); | ||
18 | douglas | 13 | public: |
19 | douglas | 15 | Publisher(const std::set<Buddy>& buddies, bool start); |
20 | ~Publisher() { if (start) publisher.Join(); } | ||
21 | douglas | 13 | // |
22 | }; | ||
23 | |||
24 | #endif // _Publisher_hpp_ |
Name | Value |
---|---|
svn:eol-style | native |
svn:keywords | Id |