From cc51a32255f103d782233f12537bdb0132f45e02 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Wed, 22 Dec 2004 13:05:59 +0000 Subject: Added getCapabilities() on messaging::store. --- src/messaging/maildirStore.cpp | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'src/messaging/maildirStore.cpp') 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 -- cgit v1.2.3