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/store.hpp | |
| parent | Added isValidPath() in fileSystemFactory. (diff) | |
| download | vmime-a623155270b9009b59149a729a6e37a3b20948cb.tar.gz vmime-a623155270b9009b59149a729a6e37a3b20948cb.zip | |
Added store::isValidFolderName().
Diffstat (limited to 'src/messaging/store.hpp')
| -rw-r--r-- | src/messaging/store.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/messaging/store.hpp b/src/messaging/store.hpp index 43890977..c692ba19 100644 --- a/src/messaging/store.hpp +++ b/src/messaging/store.hpp @@ -63,6 +63,13 @@ public: */ virtual folder* getFolder(const folder::path& path) = 0; + /** Test whether the specified folder name is a syntactically + * a valid name. + * + * @return true if the specified folder name is valid, false otherwise + */ + virtual const bool isValidFolderName(const folder::path::component& name) = 0; + const Type getType() const { return (TYPE_STORE); } }; |
