diff options
Diffstat (limited to '')
-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(); + } } |