24 |
|
unsigned other; |
25 |
|
vector<string> approved; |
26 |
|
vector<string> approve; |
27 |
+ |
vector<string> disapprove; |
28 |
|
} |
29 |
|
find; |
30 |
|
struct Help |
43 |
|
unsigned suggest; |
44 |
|
vector<string> approved; |
45 |
|
vector<string> approve; |
46 |
+ |
vector<string> disapprove; |
47 |
|
} |
48 |
|
improve; |
49 |
|
queue<unsigned> messages; |
50 |
+ |
vector<pair<string, string> > submits; |
51 |
|
void load(); |
52 |
|
void save(); |
53 |
|
void ballots(); |
54 |
|
void ballot(unsigned message); |
55 |
|
void submit(const string& type, const string& text); |
56 |
|
void approvals(); |
57 |
< |
void approval(unsigned message); |
57 |
> |
short approval(const string& type, const string& text); |
58 |
|
public: |
59 |
|
Poller(); |
60 |
|
~Poller(); |