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 20 by douglas, 2004-07-16T00:41:53-07:00

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines