summaryrefslogtreecommitdiffstats
path: root/src/Common/Application.cpp
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-08-23 20:57:00 +0200
committerMatthias Schiffer <matthias@gamezock.de>2009-08-23 20:57:00 +0200
commit415cd36477e152c12f91a10ad61bb719373cd9d1 (patch)
tree0c235f3b1f9b844313e81eb9e900fa2662ebefcc /src/Common/Application.cpp
parent6666bbf908b3f2a61a9ec1959e975de54dc23b0d (diff)
downloadmad-415cd36477e152c12f91a10ad61bb719373cd9d1.tar
mad-415cd36477e152c12f91a10ad61bb719373cd9d1.zip
Authentifikation hinzugefügt.
Diffstat (limited to 'src/Common/Application.cpp')
-rw-r--r--src/Common/Application.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Common/Application.cpp b/src/Common/Application.cpp
index 38ef4b5..196e57a 100644
--- a/src/Common/Application.cpp
+++ b/src/Common/Application.cpp
@@ -18,6 +18,7 @@
*/
#include "Application.h"
+#include "AuthManager.h"
#include "ModuleManager.h"
#include "RequestManager.h"
#include "SystemManager.h"
@@ -26,7 +27,7 @@
namespace Mad {
namespace Common {
-Application::Application(bool server) : moduleManager(new ModuleManager(this)), requestManager(new RequestManager(this, server)),
+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() {
@@ -34,6 +35,7 @@ Application::~Application() {
delete systemManager;
delete requestManager;
delete moduleManager;
+ delete authManager;
}
}