aboutsummaryrefslogtreecommitdiffstats
path: root/src/messaging/POP3Message.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2004-10-21 15:05:47 +0000
committerVincent Richard <[email protected]>2004-10-21 15:05:47 +0000
commit2949fb51f13e1236d5c161f02e1c2c8541100e9f (patch)
tree991edcf50483116ce83977a4d9e652de8c5328dc /src/messaging/POP3Message.cpp
parentheader class unit tests added (diff)
downloadvmime-2949fb51f13e1236d5c161f02e1c2c8541100e9f.tar.gz
vmime-2949fb51f13e1236d5c161f02e1c2c8541100e9f.zip
Refactoring (see ChangeLog).
Diffstat (limited to '')
-rw-r--r--src/messaging/POP3Message.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/messaging/POP3Message.cpp b/src/messaging/POP3Message.cpp
index 66b3f466..d072fdc8 100644
--- a/src/messaging/POP3Message.cpp
+++ b/src/messaging/POP3Message.cpp
@@ -63,19 +63,19 @@ void POP3Message::onFolderClosed()
}
-const int POP3Message::number() const
+const int POP3Message::getNumber() const
{
return (m_num);
}
-const message::uid POP3Message::uniqueId() const
+const message::uid POP3Message::getUniqueId() const
{
return (m_uid);
}
-const int POP3Message::size() const
+const int POP3Message::getSize() const
{
if (!m_folder)
throw exceptions::illegal_state("Folder closed");
@@ -93,25 +93,25 @@ const bool POP3Message::isExpunged() const
}
-const int POP3Message::flags() const
+const int POP3Message::getFlags() const
{
return (FLAG_RECENT);
}
-const class structure& POP3Message::structure() const
+const structure& POP3Message::getStructure() const
{
throw exceptions::operation_not_supported();
}
-class structure& POP3Message::structure()
+structure& POP3Message::getStructure()
{
throw exceptions::operation_not_supported();
}
-const class header& POP3Message::header() const
+const header& POP3Message::getHeader() const
{
if (m_header == NULL)
throw exceptions::unfetched_object();