diff options
author | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2013-04-06 23:51:04 -0700 |
---|---|---|
committer | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2013-04-06 23:51:04 -0700 |
commit | 7db9464d7c53e2529de0005771408f0fac4120f3 (patch) | |
tree | 4612748d66df9f2c83b92a91c3158c5dbb9d140d /src/core/pop | |
parent | 86707e3713ecfebdc518406ea0f67767432922c6 (diff) |
Implemented checkAccount operation for POP
Diffstat (limited to 'src/core/pop')
-rw-r--r-- | src/core/pop/MCPOPSession.cc | 6 | ||||
-rw-r--r-- | src/core/pop/MCPOPSession.h | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/core/pop/MCPOPSession.cc b/src/core/pop/MCPOPSession.cc index 95880198..88f80c8a 100644 --- a/src/core/pop/MCPOPSession.cc +++ b/src/core/pop/MCPOPSession.cc @@ -537,3 +537,9 @@ void POPSession::deleteMessage(POPMessageInfo * msg, ErrorCode * pError) { deleteMessage(msg->index(), pError); } + +void POPSession::checkAccount(ErrorCode * pError) +{ + loginIfNeeded(pError); +} + diff --git a/src/core/pop/MCPOPSession.h b/src/core/pop/MCPOPSession.h index 22eca94b..4c343877 100644 --- a/src/core/pop/MCPOPSession.h +++ b/src/core/pop/MCPOPSession.h @@ -73,6 +73,8 @@ namespace mailcore { virtual void login(ErrorCode * pError); + virtual void checkAccount(ErrorCode * pError); + Array * /* POPMessageInfo */ fetchMessages(ErrorCode * pError); MessageHeader * fetchHeader(unsigned int index, ErrorCode * pError); |