summaryrefslogtreecommitdiff
path: root/src/storage.h
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2005-12-05 20:19:14 +0000
committerYohann Ferreira <bertram@cegetel.net>2005-12-05 20:19:14 +0000
commit48f42f1c4330cc719a8e1658a20505073a4f6386 (patch)
tree51f27837b6a2ee4fd0e33a1755323f9141bb0ef7 /src/storage.h
parent699e67ad53507638a24d4f932c413e26f318af36 (diff)
downloadmanaserv-48f42f1c4330cc719a8e1658a20505073a4f6386.tar.gz
manaserv-48f42f1c4330cc719a8e1658a20505073a4f6386.tar.bz2
manaserv-48f42f1c4330cc719a8e1658a20505073a4f6386.tar.xz
manaserv-48f42f1c4330cc719a8e1658a20505073a4f6386.zip
Strengthened the way email addresses are checked. Added a good response when selecting a char when not logged. Committed a getEmailList function to see what's wrong.
Diffstat (limited to 'src/storage.h')
-rw-r--r--src/storage.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/storage.h b/src/storage.h
index 13b9842f..d366aa50 100644
--- a/src/storage.h
+++ b/src/storage.h
@@ -26,6 +26,7 @@
#include <map>
+#include <list>
#include "account.h"
@@ -280,6 +281,13 @@ class Storage
delAccount(const std::string& userName) = 0;
/**
+ * Get the list of Emails in the accounts list.
+ * @return the list of Email's Addresses.
+ */
+ virtual
+ std::list<std::string> getEmailList() = 0;
+
+ /**
* Saves the changes permanently.
*/
virtual void