summaryrefslogtreecommitdiffstats
path: root/src/modules/UserBackendMysql.cpp
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2008-12-12 20:34:13 +0100
committerMatthias Schiffer <matthias@gamezock.de>2008-12-12 20:34:13 +0100
commit5563591965b51f89f61859ef1a88ae8ff6eff106 (patch)
treed111e19f7e3a69db5ed1eee47b9cb82345194213 /src/modules/UserBackendMysql.cpp
parent80b922b1557b2d6cee1e4ced3c08a26002d969e9 (diff)
downloadmad-5563591965b51f89f61859ef1a88ae8ff6eff106.tar
mad-5563591965b51f89f61859ef1a88ae8ff6eff106.zip
UserBackendMysql angefangen
Diffstat (limited to 'src/modules/UserBackendMysql.cpp')
-rw-r--r--src/modules/UserBackendMysql.cpp50
1 files changed, 50 insertions, 0 deletions
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 <matthias@gamezock.de>
+ *
+ * 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 <http://www.gnu.org/licenses/>.
+ */
+
+#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();
+}
+
+}