From f7d433e6e8559b4584263cae025d3addd1342df4 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Wed, 5 Aug 2009 23:55:44 +0200 Subject: =?UTF-8?q?UserManager:=20Check-Funktionen=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Common/UserDBBackend.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/Common/UserDBBackend.h') 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 . */ -#ifndef MAD_SERVER_USERDBBACKEND_H_ -#define MAD_SERVER_USERDBBACKEND_H_ +#ifndef MAD_COMMON_USERDBBACKEND_H_ +#define MAD_COMMON_USERDBBACKEND_H_ #include @@ -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_ */ -- cgit v1.2.3