#include <MaildirMailFolder.h>
Inheritance diagram for buffy::MaildirMailFolder:
Public Member Functions | |
MaildirMailFolder (const std::string &path) throw () | |
MaildirMailFolder (const std::string &name, const std::string &path) throw () | |
virtual | ~MaildirMailFolder () throw () |
virtual const std::string & | name () const throw () |
virtual const std::string & | path () const throw () |
virtual std::string | type () const throw () |
virtual int | getMsgTotal () const throw () |
virtual int | getMsgUnread () const throw () |
virtual int | getMsgNew () const throw () |
virtual int | getMsgFlagged () const throw () |
virtual bool | changed () |
virtual void | updateStatistics () |
Static Public Member Functions | |
static MailFolder | accessFolder (const std::string &path) |
static void | enumerateFolders (const std::string &dir, MailFolderConsumer &cons) |
Protected Attributes | |
std::string | _name |
std::string | _path |
int | _stat_total |
int | _stat_unread |
int | _stat_new |
int | _stat_flagged |
bool | _deleted |
time_t | _new_mtime |
time_t | _cur_mtime |
buffy::MaildirMailFolder::MaildirMailFolder | ( | const std::string & | path | ) | throw () |
buffy::MaildirMailFolder::MaildirMailFolder | ( | const std::string & | name, | |
const std::string & | path | |||
) | throw () |
virtual buffy::MaildirMailFolder::~MaildirMailFolder | ( | ) | throw () [inline, virtual] |
MailFolder buffy::MaildirMailFolder::accessFolder | ( | const std::string & | path | ) | [static] |
bool buffy::MaildirMailFolder::changed | ( | ) | [virtual] |
Implements buffy::MailFolderImpl.
void buffy::MaildirMailFolder::enumerateFolders | ( | const std::string & | dir, | |
MailFolderConsumer & | cons | |||
) | [static] |
virtual int buffy::MaildirMailFolder::getMsgFlagged | ( | ) | const throw () [inline, virtual] |
Implements buffy::MailFolderImpl.
virtual int buffy::MaildirMailFolder::getMsgNew | ( | ) | const throw () [inline, virtual] |
Implements buffy::MailFolderImpl.
virtual int buffy::MaildirMailFolder::getMsgTotal | ( | ) | const throw () [inline, virtual] |
Implements buffy::MailFolderImpl.
virtual int buffy::MaildirMailFolder::getMsgUnread | ( | ) | const throw () [inline, virtual] |
Implements buffy::MailFolderImpl.
virtual const std::string& buffy::MaildirMailFolder::name | ( | ) | const throw () [inline, virtual] |
Implements buffy::MailFolderImpl.
virtual const std::string& buffy::MaildirMailFolder::path | ( | ) | const throw () [inline, virtual] |
Implements buffy::MailFolderImpl.
virtual std::string buffy::MaildirMailFolder::type | ( | ) | const throw () [inline, virtual] |
Implements buffy::MailFolderImpl.
void buffy::MaildirMailFolder::updateStatistics | ( | ) | [virtual] |
Implements buffy::MailFolderImpl.
time_t buffy::MaildirMailFolder::_cur_mtime [protected] |
bool buffy::MaildirMailFolder::_deleted [protected] |
std::string buffy::MaildirMailFolder::_name [protected] |
time_t buffy::MaildirMailFolder::_new_mtime [protected] |
std::string buffy::MaildirMailFolder::_path [protected] |
int buffy::MaildirMailFolder::_stat_flagged [protected] |
int buffy::MaildirMailFolder::_stat_new [protected] |
int buffy::MaildirMailFolder::_stat_total [protected] |
int buffy::MaildirMailFolder::_stat_unread [protected] |