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

Comparing trunk/Publisher.cpp (file contents):
Revision 13 by douglas, 2004-07-11T23:49:09-07:00 vs.
Revision 21 by douglas, 2004-07-16T23:37:41-07:00

# Line 6 | Line 6
6  
7   #include "Publisher.hpp"
8  
9 < Publisher::Publisher(const std::set<Buddy>& buddies)
9 > Publisher::Publisher(const std::set<Buddy>& buddies, const Database& database,
10 >        bool start) : buddies(buddies), database(database), start(start)
11   {
12 <        //
12 >        if (start)
13 >        {
14 >                publisher.Spawn(etl::Bind<0>(&Publisher::publish, this));
15 >        }
16 > }
17 >
18 > int Publisher::publish()
19 > {
20 >        cerr << "Publisher::publish()\n";
21 >
22 >        // publish
23   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines