aboutsummaryrefslogtreecommitdiffstats
path: root/src/messaging/IMAPStore.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2004-12-22 13:05:59 +0000
committerVincent Richard <[email protected]>2004-12-22 13:05:59 +0000
commitcc51a32255f103d782233f12537bdb0132f45e02 (patch)
tree759e15f091021acf45eacc8131a9d178628711c6 /src/messaging/IMAPStore.cpp
parentUpdated ChangeLog. (diff)
downloadvmime-cc51a32255f103d782233f12537bdb0132f45e02.tar.gz
vmime-cc51a32255f103d782233f12537bdb0132f45e02.zip
Added getCapabilities() on messaging::store.
Diffstat (limited to 'src/messaging/IMAPStore.cpp')
-rw-r--r--src/messaging/IMAPStore.cpp15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/messaging/IMAPStore.cpp b/src/messaging/IMAPStore.cpp
index 5e208db4..0025e55d 100644
--- a/src/messaging/IMAPStore.cpp
+++ b/src/messaging/IMAPStore.cpp
@@ -125,7 +125,7 @@ folder* IMAPStore::getFolder(const folder::path& path)
}
-const bool IMAPStore::isValidFolderName(const folder::path::component& /* name */)
+const bool IMAPStore::isValidFolderName(const folder::path::component& /* name */) const
{
return true;
}
@@ -219,6 +219,19 @@ void IMAPStore::unregisterFolder(IMAPFolder* folder)
}
+const int IMAPStore::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