From 5563591965b51f89f61859ef1a88ae8ff6eff106 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 12 Dec 2008 20:34:13 +0100 Subject: UserBackendMysql angefangen --- src/modules/UserBackendMysql.cpp | 50 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 src/modules/UserBackendMysql.cpp (limited to 'src/modules/UserBackendMysql.cpp') diff --git a/src/modules/UserBackendMysql.cpp b/src/modules/UserBackendMysql.cpp new file mode 100644 index 0000000..f27bea5 --- /dev/null +++ b/src/modules/UserBackendMysql.cpp @@ -0,0 +1,50 @@ +/* + * UserBackendMysql.cpp + * + * Copyright (C) 2008 Matthias Schiffer + * + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see . + */ + +#include "UserBackendMysql.h" + +#define init UserBackendMysql_LTX_init +#define deinit UserBackendMysql_LTX_deinit + + +namespace Mad { +namespace Modules { + +bool UserBackendMysql::handleConfigEntry(const Common::ConfigEntry&, bool handled) { + +} + +void UserBackendMysql::configFinished() { + UserBackend::registerBackend(backend); +} + +} +} + +extern "C" { + +void init() { + Mad::Modules::UserBackendMysql::registerBackend(); +} + +void deinit() { + Mad::Modules::UserBackendMysql::unregisterBackend(); +} + +} -- cgit v1.2.3