ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/zoe/trunk/Publisher.hpp
(Generate patch)

Comparing trunk/Publisher.hpp (file contents):
Revision 15 by douglas, 2004-07-13T20:14:49-07:00 vs.
Revision 43 by douglas, 2004-08-15T21:33:25-07:00

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines