#include <MailboxMailFolder.h>
Public Member Functions | |
MailboxMailFolder (const std::string &path) throw () | |
MailboxMailFolder (const std::string &name, const std::string &path) throw () | |
virtual | ~MailboxMailFolder () 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 |
int | _mbox_mtime |
int | _mbox_size |
int | _deleted |
buffy::MailboxMailFolder::MailboxMailFolder | ( | const std::string & | path | ) | throw () |
Normalize the folder name
buffy::MailboxMailFolder::MailboxMailFolder | ( | const std::string & | name, | |
const std::string & | path | |||
) | throw () |
virtual buffy::MailboxMailFolder::~MailboxMailFolder | ( | ) | throw () [inline, virtual] |
virtual const std::string& buffy::MailboxMailFolder::name | ( | ) | const throw () [inline, virtual] |
Implements buffy::MailFolderImpl.
virtual const std::string& buffy::MailboxMailFolder::path | ( | ) | const throw () [inline, virtual] |
Implements buffy::MailFolderImpl.
virtual std::string buffy::MailboxMailFolder::type | ( | ) | const throw () [inline, virtual] |
Implements buffy::MailFolderImpl.
virtual int buffy::MailboxMailFolder::getMsgTotal | ( | ) | const throw () [inline, virtual] |
Implements buffy::MailFolderImpl.
virtual int buffy::MailboxMailFolder::getMsgUnread | ( | ) | const throw () [inline, virtual] |
Implements buffy::MailFolderImpl.
virtual int buffy::MailboxMailFolder::getMsgNew | ( | ) | const throw () [inline, virtual] |
Implements buffy::MailFolderImpl.
virtual int buffy::MailboxMailFolder::getMsgFlagged | ( | ) | const throw () [inline, virtual] |
Implements buffy::MailFolderImpl.
bool buffy::MailboxMailFolder::changed | ( | ) | [virtual] |
Implements buffy::MailFolderImpl.
void buffy::MailboxMailFolder::updateStatistics | ( | ) | [virtual] |
MailFolder buffy::MailboxMailFolder::accessFolder | ( | const std::string & | path | ) | [static] |
void buffy::MailboxMailFolder::enumerateFolders | ( | const std::string & | dir, | |
MailFolderConsumer & | cons | |||
) | [static] |
std::string buffy::MailboxMailFolder::_name [protected] |
std::string buffy::MailboxMailFolder::_path [protected] |
int buffy::MailboxMailFolder::_stat_total [protected] |
int buffy::MailboxMailFolder::_stat_unread [protected] |
int buffy::MailboxMailFolder::_stat_new [protected] |
int buffy::MailboxMailFolder::_stat_flagged [protected] |
int buffy::MailboxMailFolder::_mbox_mtime [protected] |
int buffy::MailboxMailFolder::_mbox_size [protected] |
int buffy::MailboxMailFolder::_deleted [protected] |