From 820f229a9efe2678d1e85578aa086a1efdd73a30 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Mon, 23 Nov 2015 12:50:02 +0100 Subject: Add ServiceProvider::RegisterService(), call it from ModuleManager::AddService() --- include/base.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/base.h') diff --git a/include/base.h b/include/base.h index dcbb2e5c7..8aa6269d3 100644 --- a/include/base.h +++ b/include/base.h @@ -251,6 +251,10 @@ class CoreExport ServiceProvider : public classbase ServiceProvider(Module* Creator, const std::string& Name, ServiceType Type); virtual ~ServiceProvider(); + /** Register this service in the appropriate registrar + */ + virtual void RegisterService(); + /** If called, this ServiceProvider won't be registered automatically */ void DisableAutoRegister(); -- cgit v1.2.3