Browse Source

Adding the Web subsystem back to Engine.cpp

Jay Sistar 9 years ago
parent
commit
9f394c6432
1 changed files with 10 additions and 0 deletions
  1. 10 0
      Source/Atomic/Engine/Engine.cpp

+ 10 - 0
Source/Atomic/Engine/Engine.cpp

@@ -46,6 +46,11 @@
 #ifdef ATOMIC_NETWORK
 #ifdef ATOMIC_NETWORK
 #include "../Network/Network.h"
 #include "../Network/Network.h"
 #endif
 #endif
+// ATOMIC BEGIN
+#ifdef ATOMIC_WEB
+#include "../Web/Web.h"
+#endif
+// ATOMIC END
 #ifdef ATOMIC_DATABASE
 #ifdef ATOMIC_DATABASE
 #include "../Database/Database.h"
 #include "../Database/Database.h"
 #endif
 #endif
@@ -135,6 +140,11 @@ Engine::Engine(Context* context) :
 #ifdef ATOMIC_NETWORK
 #ifdef ATOMIC_NETWORK
     context_->RegisterSubsystem(new Network(context_));
     context_->RegisterSubsystem(new Network(context_));
 #endif
 #endif
+    // ATOMIC BEGIN
+#ifdef ATOMIC_WEB
+    context_->RegisterSubsystem(new Web(context_));
+#endif
+    // ATOMIC END
 #ifdef ATOMIC_DATABASE
 #ifdef ATOMIC_DATABASE
     context_->RegisterSubsystem(new Database(context_));
     context_->RegisterSubsystem(new Database(context_));
 #endif
 #endif