summaryrefslogtreecommitdiffstats
path: root/src/Common/UserDBBackend.h
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-08-05 23:55:44 +0200
committerMatthias Schiffer <matthias@gamezock.de>2009-08-05 23:55:44 +0200
commitf7d433e6e8559b4584263cae025d3addd1342df4 (patch)
tree1553cd2fd935ab57667a7ac83aa0407c30a8f3da /src/Common/UserDBBackend.h
parent11d25f7765e6cc5f4ae501bfe78202808a880f3c (diff)
downloadmad-f7d433e6e8559b4584263cae025d3addd1342df4.tar
mad-f7d433e6e8559b4584263cae025d3addd1342df4.zip
UserManager: Check-Funktionen hinzugefügt
Diffstat (limited to 'src/Common/UserDBBackend.h')
-rw-r--r--src/Common/UserDBBackend.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/Common/UserDBBackend.h b/src/Common/UserDBBackend.h
index bed4c83..4a33f3a 100644
--- a/src/Common/UserDBBackend.h
+++ b/src/Common/UserDBBackend.h
@@ -17,8 +17,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef MAD_SERVER_USERDBBACKEND_H_
-#define MAD_SERVER_USERDBBACKEND_H_
+#ifndef MAD_COMMON_USERDBBACKEND_H_
+#define MAD_COMMON_USERDBBACKEND_H_
#include <Core/Exception.h>
@@ -90,6 +90,8 @@ class UserDBBackend {
}
+ virtual void checkUserInfo(const UserInfo& /*userInfo*/) throw(Core::Exception) {}
+
virtual void addUser(const UserInfo& /*userInfo*/) throw(Core::Exception) {
throw(Core::Exception(Core::Exception::NOT_IMPLEMENTED));
}
@@ -103,6 +105,8 @@ class UserDBBackend {
}
+ virtual void checkGroupInfo(const GroupInfo& /*groupInfo*/) throw(Core::Exception) {}
+
virtual void addGroup(const GroupInfo& /*groupInfo*/) throw(Core::Exception) {
throw(Core::Exception(Core::Exception::NOT_IMPLEMENTED));
}
@@ -132,4 +136,4 @@ class UserDBBackend {
}
}
-#endif /* MAD_SERVER_USERDBBACKEND_H_ */
+#endif /* MAD_COMMON_USERDBBACKEND_H_ */