aboutsummaryrefslogtreecommitdiffstats
path: root/src/messaging/store.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/messaging/store.hpp')
-rw-r--r--src/messaging/store.hpp7
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); }
};