10#ifndef pendingupdates_h_included
11#define pendingupdates_h_included
29 std::vector<unsigned int>::iterator internal;
49 std::map<unsigned int, unsigned int>::iterator internal;
50 std::map<unsigned int, unsigned int> *sqnrtouid;
51 std::map<unsigned int, std::vector<std::string> > *sqnrtocflags;
54 unsigned int first(
void)
const;
55 unsigned int second(
void)
const;
57 unsigned int getUID(
void)
const;
65 std::map<
unsigned int, std::vector<std::string> > *,
66 std::map<unsigned int, unsigned int> *);
77 const std::vector<std::string> &cflags);
90 std::vector<unsigned int> expunges;
91 std::map<unsigned int, unsigned int> flagupdates;
92 std::map<unsigned int, unsigned int> sqnrtouid;
93 std::map<unsigned int, std::vector<std::string> > sqnrtocflags;
102 bool showAll =
false,
103 bool forceScan =
false,
104 bool uidfetchflags =
false);
bool operator!=(expunged_const_iterator) const
bool operator==(expunged_const_iterator) const
expunged_const_iterator(std::vector< unsigned int >::iterator i)
unsigned int operator*(void) const
expunged_const_iterator(void)
flagupdates_const_iterator(std::map< unsigned int, unsigned int >::iterator i, std::map< unsigned int, std::vector< std::string > > *, std::map< unsigned int, unsigned int > *)
unsigned int first(void) const
std::vector< std::string > getCustomFlags(void) const
unsigned int second(void) const
unsigned int getUID(void) const
flagupdates_const_iterator(void)
bool operator!=(flagupdates_const_iterator) const
expunged_const_iterator beginExpunged(void)
bool newRecent(void) const
void addFlagUpdates(unsigned int sqnr, unsigned int uid, unsigned int flags, const std::vector< std::string > &cflags)
unsigned int getExists(void) const
flagupdates_const_iterator endFlagUpdates(void)
bool newExists(void) const
void setExists(unsigned int n)
void addExpunged(unsigned int uid)
unsigned int getRecent(void) const
void setRecent(unsigned int n)
flagupdates_const_iterator beginFlagUpdates(void)
expunged_const_iterator endExpunged(void)
bool pendingUpdates(Mailbox *, int type, bool rescan, bool showAll=false, bool forceScan=false, bool uidfetchflags=false)