diff options
Diffstat (limited to 'src/net/pop3/POP3FolderStatus.cpp')
-rw-r--r-- | src/net/pop3/POP3FolderStatus.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/net/pop3/POP3FolderStatus.cpp b/src/net/pop3/POP3FolderStatus.cpp index e8c5face..64c8d9d1 100644 --- a/src/net/pop3/POP3FolderStatus.cpp +++ b/src/net/pop3/POP3FolderStatus.cpp @@ -35,6 +35,21 @@ namespace net { namespace pop3 { +POP3FolderStatus::POP3FolderStatus() + : m_count(0), + m_unseen(0) +{ +} + + +POP3FolderStatus::POP3FolderStatus(const POP3FolderStatus& other) + : folderStatus(), + m_count(other.m_count), + m_unseen(other.m_unseen) +{ +} + + unsigned int POP3FolderStatus::getMessageCount() const { return m_count; @@ -59,6 +74,12 @@ void POP3FolderStatus::setUnseenCount(const unsigned int unseen) } +ref <folderStatus> POP3FolderStatus::clone() const +{ + return vmime::create <POP3FolderStatus>(*this); +} + + } // pop3 } // net } // vmime |