20 |
|
api::Thread collector; |
21 |
|
net::Oscar::BuddyTool* buddy; |
22 |
|
net::Oscar::IcbmTool* icbm; |
23 |
+ |
net::Oscar::InfoTool* info; |
24 |
|
int collect(); |
25 |
|
void prompt(); |
26 |
< |
void reply(const Buddy& buddy, const ext::String& message); |
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 |
30 |
|
std::set<Buddy>& buddies, const Database& database, bool start); |
31 |
|
~Collector() { if (start) collector.Join(); } |
30 |
– |
// |
32 |
|
}; |
33 |
|
|
34 |
|
#endif // _Collector_hpp_ |