ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/trunk/WinXPFAQPoll/Poller.h
(Generate patch)

Comparing trunk/WinXPFAQPoll/Poller.h (file contents):
Revision 121 by douglas, 2003-04-01T20:21:47-08:00 vs.
Revision 126 by douglas, 2003-04-03T20:36:16-08:00

# Line 8 | Line 8
8   #define _Poller_h_
9  
10   #include "Contactor.h"
11 #include <sstream>
11  
12   class Poller : public Contactor
13   {
# Line 25 | Line 24 | private:
24                  unsigned other;
25                  vector<string> approved;
26                  vector<string> approve;
27 +                vector<string> disapprove;
28          }
29          find;
30          struct Help
# Line 43 | Line 43 | private:
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 +        short approval(const string& type, const string& text);
58   public:
59          Poller();
60 <        ~Poller() {}
60 >        ~Poller();
61          void poll(bool nodelete, const string& file);
62   };
63  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines