summaryrefslogtreecommitdiffstats
path: root/src/Common/UserDBBackend.h
diff options
context:
space:
mode:
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_ */