diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-09-07 21:30:45 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-09-07 21:30:45 +0200 |
commit | f540560feb093143569f8a85eb5280d9c7504a0e (patch) | |
tree | 0013764b2a7f274b3120347e1cf4bbb8ab4f175d /src/Common/Application.cpp | |
parent | cd0e606efe969d8361fd38b4ca959183feeddc9b (diff) | |
download | mad-f540560feb093143569f8a85eb5280d9c7504a0e.tar mad-f540560feb093143569f8a85eb5280d9c7504a0e.zip |
StorageManager & StorageBackendFile hinzugefügt
Diffstat (limited to 'src/Common/Application.cpp')
-rw-r--r-- | src/Common/Application.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/Common/Application.cpp b/src/Common/Application.cpp index fdbcbeb..428d9e8 100644 --- a/src/Common/Application.cpp +++ b/src/Common/Application.cpp @@ -22,6 +22,7 @@ #include "ModuleManager.h" #include "RequestManager.h" #include "SystemManager.h" +#include "StorageManager.h" #include "UserManager.h" #include <libxml/parser.h> @@ -29,14 +30,21 @@ namespace Mad { namespace Common { -Application::Application(bool server) : authManager(new AuthManager), moduleManager(new ModuleManager(this)), requestManager(new RequestManager(this, server)), -systemManager(new SystemManager), userManager(new UserManager(this)) { +Application::Application(bool server) { xmlInitParser(); + + authManager = new AuthManager; + moduleManager = new ModuleManager(this); + requestManager = new RequestManager(this, server); + storageManager = new StorageManager(this); + systemManager = new SystemManager; + userManager = new UserManager(this); } Application::~Application() { delete userManager; delete systemManager; + delete storageManager; delete requestManager; delete moduleManager; delete authManager; |