aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/pop3/POP3FolderStatus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/pop3/POP3FolderStatus.cpp')
-rw-r--r--src/net/pop3/POP3FolderStatus.cpp21
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