diff options
author | Vincent Richard <[email protected]> | 2004-12-16 21:38:47 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2004-12-16 21:38:47 +0000 |
commit | a623155270b9009b59149a729a6e37a3b20948cb (patch) | |
tree | 89a578adfca36fe6381d4213e48522083f7dad97 /src/messaging/maildirStore.cpp | |
parent | Added isValidPath() in fileSystemFactory. (diff) | |
download | vmime-a623155270b9009b59149a729a6e37a3b20948cb.tar.gz vmime-a623155270b9009b59149a729a6e37a3b20948cb.zip |
Added store::isValidFolderName().
Diffstat (limited to 'src/messaging/maildirStore.cpp')
-rw-r--r-- | src/messaging/maildirStore.cpp | 7 |
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()) |