From f558ff6450c226acea4ecf9d65561a0d9a7725b4 Mon Sep 17 00:00:00 2001 From: David Rose Date: Tue, 22 Feb 2005 19:31:45 +0000 Subject: [PATCH] a few more panda systems --- panda/src/express/config_express.cxx | 6 ++++++ panda/src/helix/config_helix.cxx | 6 +++++- panda/src/vrpn/config_vrpn.cxx | 4 ++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/panda/src/express/config_express.cxx b/panda/src/express/config_express.cxx index 07cf77941a..f68ceda23e 100644 --- a/panda/src/express/config_express.cxx +++ b/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 } diff --git a/panda/src/helix/config_helix.cxx b/panda/src/helix/config_helix.cxx index 6099705ff5..b1f53f75c7 100644 --- a/panda/src/helix/config_helix.cxx +++ b/panda/src/helix/config_helix.cxx @@ -18,8 +18,9 @@ #include "config_helix.h" #include "helixClient.h" +#include "pandaSystem.h" -#include +#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"); } diff --git a/panda/src/vrpn/config_vrpn.cxx b/panda/src/vrpn/config_vrpn.cxx index 7180c0397c..a9ab798a21 100644 --- a/panda/src/vrpn/config_vrpn.cxx +++ b/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"); }