Revision: | 118 |
Committed: | 2003-04-01T13:41:03-08:00 (22 years, 2 months ago) by douglas |
File size: | 426 byte(s) |
Log Message: | Fixed some initialization stuff and added structures to Poller. |
# | Content |
---|---|
1 | // Windows XP FAQ Poll |
2 | // |
3 | // Douglas Thrift |
4 | // |
5 | // Poller.cpp |
6 | |
7 | #include "Poller.h" |
8 | |
9 | Poller::Poller() |
10 | { |
11 | string mailbox = session->list("\"\" \"" + account.getMailbox() + "\""); |
12 | |
13 | if (mailbox.find(account.getMailbox()) == string::npos) |
14 | { |
15 | cerr << program << ": Mailbox does not exist: " << account.getMailbox() |
16 | << "\n"; |
17 | |
18 | exit(1); |
19 | } |
20 | } |
21 | |
22 | void Poller::poll(bool nodelete, const string& file) |
23 | { |
24 | this->nodelete = nodelete; |
25 | } |