Bincimap 2.0.16
Easy Imapping
Loading...
Searching...
No Matches
status.h
Go to the documentation of this file.
1
7#ifndef status_h_included
8#define status_h_included
9
10namespace Binc {
11
12 //------------------------------------------------------------------------
13 class Status {
14
15 //--
16 int recent;
17 int messages;
18 int unseen;
19 int uidvalidity;
20 int uidnext;
21
22 //--
23 int statusid;
24
25 public:
26
27 //--
28 inline void setMessages(int i) { messages = i; }
29 inline void setRecent(int i) { recent = i; }
30 inline void setStatusID(int i) { statusid = i; }
31 inline void setUnseen(int i) { unseen = i; }
32 inline void setUidValidity(int i) { uidvalidity = i; }
33 inline void setUidNext(int i) { uidnext = i; }
34
35 //--
36 inline int getMessages(void) const { return messages; }
37 inline int getRecent(void) const { return recent; }
38 inline int getStatusID(void) const { return statusid; }
39 inline int getUnseen(void) const { return unseen; }
40 inline int getUidValidity(void) const { return uidvalidity; }
41 inline int getUidNext(void) const { return uidnext; }
42
43
44 //--
45 Status(void);
46 ~Status(void);
47 };
48}
49
50#endif
int getUidValidity(void) const
Definition: status.h:40
void setMessages(int i)
Definition: status.h:28
void setUidValidity(int i)
Definition: status.h:32
~Status(void)
Definition: status.cc:18
void setUidNext(int i)
Definition: status.h:33
int getUidNext(void) const
Definition: status.h:41
int getStatusID(void) const
Definition: status.h:38
Status(void)
Definition: status.cc:13
void setRecent(int i)
Definition: status.h:29
void setUnseen(int i)
Definition: status.h:31
void setStatusID(int i)
Definition: status.h:30
int getUnseen(void) const
Definition: status.h:39
int getMessages(void) const
Definition: status.h:36
int getRecent(void) const
Definition: status.h:37
Definition: bincimapd.cc:9