aboutsummaryrefslogtreecommitdiffstats
path: root/src/messaging/maildirStore.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2004-12-16 21:38:47 +0000
committerVincent Richard <[email protected]>2004-12-16 21:38:47 +0000
commita623155270b9009b59149a729a6e37a3b20948cb (patch)
tree89a578adfca36fe6381d4213e48522083f7dad97 /src/messaging/maildirStore.cpp
parentAdded isValidPath() in fileSystemFactory. (diff)
downloadvmime-a623155270b9009b59149a729a6e37a3b20948cb.tar.gz
vmime-a623155270b9009b59149a729a6e37a3b20948cb.zip
Added store::isValidFolderName().
Diffstat (limited to 'src/messaging/maildirStore.cpp')
-rw-r--r--src/messaging/maildirStore.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/messaging/maildirStore.cpp b/src/messaging/maildirStore.cpp
index e4df0e68..60cac982 100644
--- a/src/messaging/maildirStore.cpp
+++ b/src/messaging/maildirStore.cpp
@@ -75,6 +75,13 @@ folder* maildirStore::getFolder(const folder::path& path)
}
+const bool maildirStore::isValidFolderName(const folder::path::component& name)
+{
+ return (platformDependant::getHandler()->
+ getFileSystemFactory()->isValidPathComponent(name));
+}
+
+
void maildirStore::connect()
{
if (isConnected())