// Windows XP FAQ Poll // // Douglas Thrift // // Poller.cpp #include "Poller.h" Poller::Poller() { string mailbox = session->list("\"\" \"" + account.getMailbox() + "\""); if (mailbox.find(account.getMailbox()) == string::npos) { cerr << program << ": Mailbox does not exist: " << account.getMailbox() << "\n"; exit(1); } } void Poller::poll(bool nodelete, const string& file) { this->nodelete = nodelete; }