#include <mailbox.h>
|
| virtual iterator | begin (const SequenceSet &bset, unsigned int mod=INCLUDE_EXPUNGED|SQNR_MODE) const =0 |
| |
| virtual iterator | end (void) const =0 |
| |
| virtual bool | getStatus (const std::string &, Status &) const =0 |
| |
| virtual bool | isMailbox (const std::string &) const =0 |
| |
| virtual bool | isMarked (const std::string &) const =0 |
| |
| virtual unsigned int | getStatusID (const std::string &) const =0 |
| |
| virtual void | bumpUidValidity (const std::string &) const =0 |
| |
| void | setReadOnly (bool readOnly) |
| |
| bool | isReadOnly (void) const |
| |
| virtual const std::string | getTypeName (void) const =0 |
| |
| const std::string | getName (void) const |
| |
| void | setName (const std::string &name) |
| |
| virtual unsigned int | getMaxUid (void) const =0 |
| |
| virtual unsigned int | getMaxSqnr (void) const =0 |
| |
| virtual unsigned int | getUidNext (void) const =0 |
| |
| virtual unsigned int | getUidValidity (void) const =0 |
| |
| virtual bool | getUpdates (bool scan, unsigned int type, PendingUpdates &updates, bool forceScan)=0 |
| |
| virtual void | updateFlags (void)=0 |
| |
| virtual void | expungeMailbox (void)=0 |
| |
| virtual bool | selectMailbox (const std::string &name, const std::string &s_in)=0 |
| |
| virtual bool | createMailbox (const std::string &s, mode_t mode, uid_t owner=0, gid_t group=0, bool root=false)=0 |
| |
| virtual bool | deleteMailbox (const std::string &s)=0 |
| |
| virtual void | closeMailbox (void)=0 |
| |
| virtual Message * | createMessage (const std::string &mbox, time_t idate=0)=0 |
| |
| virtual bool | commitNewMessages (const std::string &mbox)=0 |
| |
| virtual bool | rollBackNewMessages (void)=0 |
| |
| virtual bool | fastCopy (Message &source, Mailbox &desttype, const std::string &destname)=0 |
| |
| const std::string & | getLastError (void) const |
| |
| void | setLastError (const std::string &error) const |
| |
| | Mailbox (void) |
| |
| virtual | ~Mailbox (void) |
| |
Definition at line 30 of file mailbox.h.
◆ Iterator
| Enumerator |
|---|
| INCLUDE_EXPUNGED | |
| SKIP_EXPUNGED | |
Definition at line 67 of file mailbox.h.
◆ Mode
| Enumerator |
|---|
| UID_MODE | |
| SQNR_MODE | |
Definition at line 72 of file mailbox.h.
◆ Mailbox()
◆ ~Mailbox()
◆ begin()
◆ bumpUidValidity()
| virtual void bumpUidValidity |
( |
const std::string & |
| ) |
const |
|
pure virtual |
◆ closeMailbox()
| virtual void closeMailbox |
( |
void |
| ) |
|
|
pure virtual |
◆ commitNewMessages()
| virtual bool commitNewMessages |
( |
const std::string & |
mbox | ) |
|
|
pure virtual |
◆ createMailbox()
| virtual bool createMailbox |
( |
const std::string & |
s, |
|
|
mode_t |
mode, |
|
|
uid_t |
owner = 0, |
|
|
gid_t |
group = 0, |
|
|
bool |
root = false |
|
) |
| |
|
pure virtual |
◆ createMessage()
| virtual Message * createMessage |
( |
const std::string & |
mbox, |
|
|
time_t |
idate = 0 |
|
) |
| |
|
pure virtual |
◆ deleteMailbox()
| virtual bool deleteMailbox |
( |
const std::string & |
s | ) |
|
|
pure virtual |
◆ end()
◆ expungeMailbox()
| virtual void expungeMailbox |
( |
void |
| ) |
|
|
pure virtual |
◆ fastCopy()
| virtual bool fastCopy |
( |
Message & |
source, |
|
|
Mailbox & |
desttype, |
|
|
const std::string & |
destname |
|
) |
| |
|
pure virtual |
◆ getLastError()
| const string & getLastError |
( |
void |
| ) |
const |
◆ getMaxSqnr()
| virtual unsigned int getMaxSqnr |
( |
void |
| ) |
const |
|
pure virtual |
◆ getMaxUid()
| virtual unsigned int getMaxUid |
( |
void |
| ) |
const |
|
pure virtual |
◆ getName()
| const string getName |
( |
void |
| ) |
const |
◆ getStatus()
| virtual bool getStatus |
( |
const std::string & |
, |
|
|
Status & |
|
|
) |
| const |
|
pure virtual |
◆ getStatusID()
| virtual unsigned int getStatusID |
( |
const std::string & |
| ) |
const |
|
pure virtual |
◆ getTypeName()
| virtual const std::string getTypeName |
( |
void |
| ) |
const |
|
pure virtual |
◆ getUidNext()
| virtual unsigned int getUidNext |
( |
void |
| ) |
const |
|
pure virtual |
◆ getUidValidity()
| virtual unsigned int getUidValidity |
( |
void |
| ) |
const |
|
pure virtual |
◆ getUpdates()
| virtual bool getUpdates |
( |
bool |
scan, |
|
|
unsigned int |
type, |
|
|
PendingUpdates & |
updates, |
|
|
bool |
forceScan |
|
) |
| |
|
pure virtual |
◆ isMailbox()
| virtual bool isMailbox |
( |
const std::string & |
| ) |
const |
|
pure virtual |
◆ isMarked()
| virtual bool isMarked |
( |
const std::string & |
| ) |
const |
|
pure virtual |
◆ isReadOnly()
| bool isReadOnly |
( |
void |
| ) |
const |
◆ rollBackNewMessages()
| virtual bool rollBackNewMessages |
( |
void |
| ) |
|
|
pure virtual |
◆ selectMailbox()
| virtual bool selectMailbox |
( |
const std::string & |
name, |
|
|
const std::string & |
s_in |
|
) |
| |
|
pure virtual |
◆ setLastError()
| void setLastError |
( |
const std::string & |
error | ) |
const |
◆ setName()
| void setName |
( |
const std::string & |
name | ) |
|
◆ setReadOnly()
| void setReadOnly |
( |
bool |
readOnly | ) |
|
◆ updateFlags()
| virtual void updateFlags |
( |
void |
| ) |
|
|
pure virtual |
◆ Mailbox::iterator
◆ readOnly
The documentation for this class was generated from the following files: