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 70 by douglas, 2004-12-15T16:14:13-08:00 vs.
Revision 71 by douglas, 2004-12-16T11:54:34-08:00

# Line 17 | Line 17 | private:
17          const std::set<Buddy>& buddies;
18          const Database& database;
19          bool start, prompted;
20 < //      api::Thread collector;
20 >        _H<api::Thread> collector;
21          net::Oscar::BuddyTool* buddy;
22          net::Oscar::IcbmTool* icbm;
23          net::Oscar::InfoTool* info;
# Line 26 | Line 26 | private:
26          void status(const net::Oscar::UserInfo& user);
27          void receive(const ext::String& buddy, const ext::String& message);
28   public:
29 <        Collector(const ext::String& login, ext::String& password, const std::set<Buddy>& buddies, const Database& database,
30 <                bool start);
31 <        ~Collector() { /*if (start) collector.Join();*/ }
29 >        Collector(const ext::String& login, ext::String& password, const std::set<Buddy>& buddies, const Database& database, bool start);
30 >        ~Collector() { if (start) collector->Join(); }
31   };
32  
33   #endif // _Collector_hpp_

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines