7#ifndef mailbox_h_included
8#define mailbox_h_included
82 virtual bool isMailbox(
const std::string &)
const = 0;
83 virtual bool isMarked(
const std::string &)
const = 0;
84 virtual unsigned int getStatusID(
const std::string &)
const = 0;
92 const std::string
getName(
void)
const;
93 void setName(
const std::string &name);
105 virtual bool selectMailbox(
const std::string &name,
const std::string &s_in) = 0;
106 virtual bool createMailbox(
const std::string &s, mode_t mode, uid_t owner = 0, gid_t group = 0,
bool root =
false) = 0;
130 mutable std::string lastError;
virtual bool operator!=(const BaseIterator &d) const =0
virtual bool operator==(const BaseIterator &d) const =0
virtual void operator++(void)=0
virtual void erase(void)=0
virtual Message & operator*(void)=0
virtual ~BaseIterator(void)
bool operator!=(const iterator &) const
unsigned int getSqnr() const
Message & operator*(void)
BaseIterator & realIterator
bool operator==(const iterator &) const
virtual bool isMailbox(const std::string &) const =0
virtual const std::string getTypeName(void) const =0
virtual bool rollBackNewMessages(void)=0
void setLastError(const std::string &error) const
virtual bool isMarked(const std::string &) const =0
virtual bool selectMailbox(const std::string &name, const std::string &s_in)=0
const std::string & getLastError(void) const
virtual bool createMailbox(const std::string &s, mode_t mode, uid_t owner=0, gid_t group=0, bool root=false)=0
virtual void closeMailbox(void)=0
virtual bool deleteMailbox(const std::string &s)=0
virtual unsigned int getMaxSqnr(void) const =0
virtual void bumpUidValidity(const std::string &) const =0
virtual void updateFlags(void)=0
virtual unsigned int getStatusID(const std::string &) const =0
bool isReadOnly(void) const
virtual iterator begin(const SequenceSet &bset, unsigned int mod=INCLUDE_EXPUNGED|SQNR_MODE) const =0
virtual bool commitNewMessages(const std::string &mbox)=0
void setName(const std::string &name)
virtual unsigned int getUidValidity(void) const =0
virtual iterator end(void) const =0
virtual bool getUpdates(bool scan, unsigned int type, PendingUpdates &updates, bool forceScan)=0
virtual unsigned int getMaxUid(void) const =0
virtual unsigned int getUidNext(void) const =0
virtual bool fastCopy(Message &source, Mailbox &desttype, const std::string &destname)=0
virtual bool getStatus(const std::string &, Status &) const =0
virtual Message * createMessage(const std::string &mbox, time_t idate=0)=0
void setReadOnly(bool readOnly)
const std::string getName(void) const
virtual void expungeMailbox(void)=0
The Message class provides an interface for IMAP messages.
Declaration of the common items for parsing IMAP input.