diff options
Diffstat (limited to 'src/messaging/maildirStore.cpp')
-rw-r--r-- | src/messaging/maildirStore.cpp | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/messaging/maildirStore.cpp b/src/messaging/maildirStore.cpp index 3434321f..206c032b 100644 --- a/src/messaging/maildirStore.cpp +++ b/src/messaging/maildirStore.cpp @@ -75,7 +75,7 @@ folder* maildirStore::getFolder(const folder::path& path) } -const bool maildirStore::isValidFolderName(const folder::path::component& name) +const bool maildirStore::isValidFolderName(const folder::path::component& name) const { if (!platformDependant::getHandler()->getFileSystemFactory()->isValidPathComponent(name)) return false; @@ -154,6 +154,19 @@ const utility::path& maildirStore::getFileSystemPath() const } +const int maildirStore::getCapabilities() const +{ + return (CAPABILITY_CREATE_FOLDER | + CAPABILITY_RENAME_FOLDER | + CAPABILITY_ADD_MESSAGE | + CAPABILITY_COPY_MESSAGE | + CAPABILITY_DELETE_MESSAGE | + CAPABILITY_PARTIAL_FETCH | + CAPABILITY_MESSAGE_FLAGS | + CAPABILITY_EXTRACT_PART); +} + + // Service infos |