From aed47513a5410a10ac9b477c621fbce425593c7f Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 29 Mar 2026 15:48:47 +0100 Subject: Move service types to their own namespace. - ServiceProvider is now Service::Provider - DataProvider is now Service::SimpleProvider (the old name does not really make sense now we don't have SERVICE_DATA and the only difference is automatic registration. - Some members of ModuleManager have been elevated to the Service namespace in case other code wants to use them. --- src/modulemanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modulemanager.cpp') diff --git a/src/modulemanager.cpp b/src/modulemanager.cpp index 91ab3fce7..add98cc98 100644 --- a/src/modulemanager.cpp +++ b/src/modulemanager.cpp @@ -57,7 +57,7 @@ bool ModuleManager::Load(const std::string& modname, bool defer) ModulePtr newmod; auto* newhandle = new DLLManager(moduleFile); - ServiceList newservices; + Service::List newservices; if (!defer) this->NewServices = &newservices; @@ -125,7 +125,7 @@ bool ModuleManager::Load(const std::string& modname, bool defer) } /* We must load the modules AFTER initializing the socket engine, now */ -void ModuleManager::LoadCoreModules(std::map& servicemap) +void ModuleManager::LoadCoreModules(std::map& servicemap) { fmt::print("Loading core modules "); fflush(stdout); -- cgit v1.3.1-10-gc9f91