ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/trunk/WinXPFAQPoll/Poller.h
Revision: 118
Committed: 2003-04-01T13:41:03-08:00 (22 years, 3 months ago) by douglas
Content type: text/x-c
File size: 730 byte(s)
Log Message:
Fixed some initialization stuff and added structures to Poller.

File Contents

# User Rev Content
1 douglas 104 // Windows XP FAQ Poll
2     //
3     // Douglas Thrift
4     //
5     // Poller.h
6    
7     #ifndef _Poller_h_
8     #define _Poller_h_
9    
10     #include "Contactor.h"
11    
12     class Poller : public Contactor
13     {
14     private:
15 douglas 118 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 douglas 104 public:
47     Poller();
48     ~Poller() {}
49 douglas 118 void poll(bool nodelete, const string& file);
50 douglas 104 };
51    
52     #endif // _Poller_h_