# | 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 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |