Browse Source

a few more panda systems

David Rose 21 years ago
parent
commit
f558ff6450

+ 6 - 0
panda/src/express/config_express.cxx

@@ -30,6 +30,7 @@
 #include "virtualFileMountMultifile.h"
 #include "virtualFileMountSystem.h"
 #include "virtualFileSimple.h"
+#include "pandaSystem.h"
 
 #include "dconfig.h"
 
@@ -172,6 +173,11 @@ init_libexpress() {
   VirtualFileSimple::init_type();
 
   init_system_type_handles();
+
+#ifdef HAVE_ZLIB
+  PandaSystem *ps = PandaSystem::get_global_ptr();
+  ps->add_system("zlib");
+#endif
 }
 
 

+ 5 - 1
panda/src/helix/config_helix.cxx

@@ -18,8 +18,9 @@
 
 #include "config_helix.h"
 #include "helixClient.h"
+#include "pandaSystem.h"
 
-#include <dconfig.h>
+#include "dconfig.h"
 
 DLLAccessPath statClnt;
 DLLAccessPath* GetDLLAccessPath()
@@ -32,5 +33,8 @@ NotifyCategoryDef(helix, "");
 
 ConfigureFn(config_helix) {
   HelixClient::init_type();
+
+  PandaSystem *ps = PandaSystem::get_global_ptr();
+  ps->add_system("Helix");
 }
 

+ 4 - 0
panda/src/vrpn/config_vrpn.cxx

@@ -22,6 +22,7 @@
 #include "vrpnClient.h"
 #include "vrpnDialDevice.h"
 #include "vrpnTrackerDevice.h"
+#include "pandaSystem.h"
 
 #include "dconfig.h"
 
@@ -35,4 +36,7 @@ ConfigureFn(config_vrpn) {
   VrpnClient::init_type();
   VrpnDialDevice::init_type();
   VrpnTrackerDevice::init_type();
+
+  PandaSystem *ps = PandaSystem::get_global_ptr();
+  ps->add_system("VRPN");
 }