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 ac3ad88b..3ee59e70 100644
--- a/src/storage.h
+++ b/src/storage.h
@@ -295,6 +295,13 @@ class Storage
bool doesEmailAlreadyExists(std::string email) = 0;
/**
+ * Tells if the character's name already exists
+ * @return true if character's name exists.
+ */
+ virtual
+ bool doesCharacterNameExists(std::string name) = 0;
+
+ /**
* Saves the changes permanently.
*/
virtual void