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

Comparing trunk/Collector.cpp (file contents):
Revision 16 by douglas, 2004-07-14T20:57:30-07:00 vs.
Revision 17 by douglas, 2004-07-14T23:27:27-07:00

# Line 22 | Line 22 | Collector::Collector(const ext::String&
22          }
23   }
24  
25 net::Oscar::BuddyTool* Collector::buddy(NULL);
26 net::Oscar::IcbmTool* Collector::icbm(NULL);
27
25   int Collector::collect(const std::set<Buddy>& buddies)
26   {
27          cerr << "Collector::collect()\n";
# Line 38 | Line 35 | int Collector::collect(const std::set<Bu
35  
36          auth.Login(login, password);
37  
38 <        Collector::buddy = &buddy;
39 <        Collector::icbm = &icbm;
38 >        this->buddy = &buddy;
39 >        this->icbm = &icbm;
40  
41 <        icbm.OnIncomingIcbm += &Collector::reply;
41 >        icbm.OnIncomingIcbm += etl::bind<0>(&Collector::reply, this);
42  
43   //      for (size_t index(password.GetSize()); index > 0; --index) password[index -
44   //              1] = '\0';

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines