ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/WinXPFAQPoll/Poller.h
Revision: 119
Committed: 2003-04-01T14:49:17-08:00 (19 years, 10 months ago) by douglas
Content type: text/x-c
Original Path: trunk/WinXPFAQPoll/Poller.h
File size: 772 byte(s)
Log Message:
Added and implemented Poller::load() function.

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 119 string file;
16 douglas 118 struct Find
17     {
18     unsigned reply;
19     unsigned news;
20     unsigned sig;
21     unsigned search;
22     unsigned link;
23     unsigned browse;
24     unsigned other;
25     vector<string> approved;
26     vector<string> approve;
27     }
28     find;
29     struct Help
30     {
31     unsigned solved;
32     unsigned note;
33     unsigned link;
34     unsigned news;
35     unsigned lazy;
36     }
37     help;
38     struct Improve
39     {
40     unsigned nothing;
41     unsigned links;
42     unsigned suggest;
43     vector<string> approved;
44     vector<string> approve;
45     }
46     improve;
47 douglas 119 void load();
48     void save();
49 douglas 104 public:
50     Poller();
51     ~Poller() {}
52 douglas 118 void poll(bool nodelete, const string& file);
53 douglas 104 };
54    
55     #endif // _Poller_h_