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

Comparing trunk/Collector.hpp (file contents):
Revision 13 by douglas, 2004-07-11T23:49:09-07:00 vs.
Revision 15 by douglas, 2004-07-13T20:14:49-07:00

# Line 12 | Line 12
12   class Collector
13   {
14   private:
15 <        //
15 >        const ext::String& login;
16 >        ext::String& password;
17 >        bool start;
18 >        api::Thread collector;
19 >        int collect(const std::set<Buddy>& buddies);
20 >        void prompt();
21   public:
22 <        Collector(const std::set<Buddy>& buddies);
23 <        ~Collector() {}
22 >        Collector(const ext::String& login, ext::String& password, const
23 >                std::set<Buddy>& buddies, bool start);
24 >        ~Collector() { if (start) collector.Join(); }
25          //
26   };
27  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines