diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2008-11-26 22:23:22 +0100 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2008-11-26 22:23:22 +0100 |
commit | e0de95864892d1e119f91936d8b1294542ab2316 (patch) | |
tree | bea739950464d5dad5bcfe65db456995aec6b6c1 /src/mad-core.cpp | |
parent | 9dd79833cf7db552f9098e90fe188bbf41d9094a (diff) | |
download | mad-e0de95864892d1e119f91936d8b1294542ab2316.tar mad-e0de95864892d1e119f91936d8b1294542ab2316.zip |
SystemBackendPosix ist jetzt ein Modul
Diffstat (limited to 'src/mad-core.cpp')
-rw-r--r-- | src/mad-core.cpp | 4 |
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(); |