12 |
|
class Poller : public Contactor |
13 |
|
{ |
14 |
|
private: |
15 |
+ |
struct Find |
16 |
+ |
{ |
17 |
+ |
unsigned reply; |
18 |
+ |
unsigned news; |
19 |
+ |
unsigned sig; |
20 |
+ |
unsigned search; |
21 |
+ |
unsigned link; |
22 |
+ |
unsigned browse; |
23 |
+ |
unsigned other; |
24 |
+ |
vector<string> approved; |
25 |
+ |
vector<string> approve; |
26 |
+ |
} |
27 |
+ |
find; |
28 |
+ |
struct Help |
29 |
+ |
{ |
30 |
+ |
unsigned solved; |
31 |
+ |
unsigned note; |
32 |
+ |
unsigned link; |
33 |
+ |
unsigned news; |
34 |
+ |
unsigned lazy; |
35 |
+ |
} |
36 |
+ |
help; |
37 |
+ |
struct Improve |
38 |
+ |
{ |
39 |
+ |
unsigned nothing; |
40 |
+ |
unsigned links; |
41 |
+ |
unsigned suggest; |
42 |
+ |
vector<string> approved; |
43 |
+ |
vector<string> approve; |
44 |
+ |
} |
45 |
+ |
improve; |
46 |
|
public: |
47 |
|
Poller(); |
48 |
|
~Poller() {} |
49 |
< |
void poll(bool nodelete); |
49 |
> |
void poll(bool nodelete, const string& file); |
50 |
|
}; |
51 |
|
|
52 |
|
#endif // _Poller_h_ |