diff options
author | Vincent Richard <[email protected]> | 2004-12-15 22:17:03 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2004-12-15 22:17:03 +0000 |
commit | 78b3909d9b3e88589e1b28a362bbc54913bca959 (patch) | |
tree | 853146fc5746adf25d8ed859a3a299537088c4d4 /src/messaging/maildirFolder.cpp | |
parent | Added parsing bounds on 'component'. (diff) | |
download | vmime-78b3909d9b3e88589e1b28a362bbc54913bca959.tar.gz vmime-78b3909d9b3e88589e1b28a362bbc54913bca959.zip |
Working on 'maildir' implementation.
Diffstat (limited to 'src/messaging/maildirFolder.cpp')
-rw-r--r-- | src/messaging/maildirFolder.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/messaging/maildirFolder.cpp b/src/messaging/maildirFolder.cpp index c5c1054a..854e7dfb 100644 --- a/src/messaging/maildirFolder.cpp +++ b/src/messaging/maildirFolder.cpp @@ -276,7 +276,7 @@ void maildirFolder::scanFolder() while (nit->hasMoreElements()) { utility::auto_ptr <utility::file> file = nit->nextElement(); - newMessageFilenames.push_back(file->fullPath().getLastComponent()); + newMessageFilenames.push_back(file->getFullPath().getLastComponent()); } // Current messages (cur/) @@ -286,7 +286,7 @@ void maildirFolder::scanFolder() while (cit->hasMoreElements()) { utility::auto_ptr <utility::file> file = cit->nextElement(); - curMessageFilenames.push_back(file->fullPath().getLastComponent()); + curMessageFilenames.push_back(file->getFullPath().getLastComponent()); } // Update/delete existing messages (found in previous scan) @@ -465,7 +465,7 @@ void maildirFolder::listFolders(std::vector <folder*>& list, const bool recursiv if (maildirUtils::isSubfolderDirectory(*file)) { - const utility::path subPath = m_path / file->fullPath().getLastComponent(); + const utility::path subPath = m_path / file->getFullPath().getLastComponent(); maildirFolder* subFolder = new maildirFolder(subPath, m_store); list.push_back(subFolder); |