diff options
| author | Vincent Richard <[email protected]> | 2013-07-16 09:07:16 +0000 |
|---|---|---|
| committer | Vincent Richard <[email protected]> | 2013-07-16 09:07:16 +0000 |
| commit | 54084253e62941d641061b9db0af7ea607a910bd (patch) | |
| tree | 81ae637583e56e02790e65cd12caf906a0770b04 /src/net/imap/IMAPStore.cpp | |
| parent | Fixed IMAP tag not incrementing. (diff) | |
| download | vmime-54084253e62941d641061b9db0af7ea607a910bd.tar.gz vmime-54084253e62941d641061b9db0af7ea607a910bd.zip | |
Added basic support for IMAP CONDSTORE extension.
Process CAPABILITY in IMAP greeting response.
Renamed getUniqueId() to getUID() for consistency.
Diffstat (limited to 'src/net/imap/IMAPStore.cpp')
| -rw-r--r-- | src/net/imap/IMAPStore.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/net/imap/IMAPStore.cpp b/src/net/imap/IMAPStore.cpp index 1821b221..e8778f90 100644 --- a/src/net/imap/IMAPStore.cpp +++ b/src/net/imap/IMAPStore.cpp @@ -153,6 +153,12 @@ ref <connectionInfos> IMAPStore::getConnectionInfos() const } +ref <IMAPConnection> IMAPStore::getConnection() +{ + return m_connection; +} + + void IMAPStore::disconnect() { if (!isConnected()) @@ -187,6 +193,13 @@ void IMAPStore::noop() { throw exceptions::command_error("NOOP", m_connection->getParser()->lastLine()); } + + + for (std::list <IMAPFolder*>::iterator it = m_folders.begin() ; + it != m_folders.end() ; ++it) + { + (*it)->noop(); + } } |
