summaryrefslogtreecommitdiffstats
path: root/src/mad-core.cpp
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2008-11-26 22:23:22 +0100
committerMatthias Schiffer <matthias@gamezock.de>2008-11-26 22:23:22 +0100
commite0de95864892d1e119f91936d8b1294542ab2316 (patch)
treebea739950464d5dad5bcfe65db456995aec6b6c1 /src/mad-core.cpp
parent9dd79833cf7db552f9098e90fe188bbf41d9094a (diff)
downloadmad-e0de95864892d1e119f91936d8b1294542ab2316.tar
mad-e0de95864892d1e119f91936d8b1294542ab2316.zip
SystemBackendPosix ist jetzt ein Modul
Diffstat (limited to 'src/mad-core.cpp')
-rw-r--r--src/mad-core.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mad-core.cpp b/src/mad-core.cpp
index 257f310..96c511f 100644
--- a/src/mad-core.cpp
+++ b/src/mad-core.cpp
@@ -20,8 +20,8 @@
#include "Common/ConfigManager.h"
#include "Common/LogManager.h"
#include "Common/Logger.h"
-#include "Common/Backends/SystemBackendPosix.h"
#include "Common/Backends/SystemBackendProc.h"
+#include "Common/ModuleManager.h"
#include "Core/ConnectionManager.h"
#include <signal.h>
@@ -41,8 +41,8 @@ int main() {
Common::ConfigManager::get()->loadFile("mad-core.conf");
Common::ConfigManager::get()->finish();
- Common::Backends::SystemBackendPosix::registerBackend();
Common::Backends::SystemBackendProc::registerBackend();
+ Common::ModuleManager::get()->loadModule("SystemBackendPosix.la");
while(true)
Core::ConnectionManager::get()->run();