summaryrefslogtreecommitdiff
path: root/src/storage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage.h')
-rw-r--r--src/storage.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/storage.h b/src/storage.h
index d366aa50..ac3ad88b 100644
--- a/src/storage.h
+++ b/src/storage.h
@@ -288,6 +288,13 @@ class Storage
std::list<std::string> getEmailList() = 0;
/**
+ * Return if an Email is already in account's table.
+ * @return true if Email already exists.
+ */
+ virtual
+ bool doesEmailAlreadyExists(std::string email) = 0;
+
+ /**
* Saves the changes permanently.
*/
virtual void