diff options
author | Attila Molnar <attilamolnar@hush.com> | 2015-11-23 12:50:02 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2015-11-23 12:50:02 +0100 |
commit | 820f229a9efe2678d1e85578aa086a1efdd73a30 (patch) | |
tree | 8ad5d50be33a1f9c52707b0999ed5d7cbf03f1f3 /include | |
parent | a39bd397cd0052dd8e23ba5c4c5dfc9b3a11a70c (diff) |
Add ServiceProvider::RegisterService(), call it from ModuleManager::AddService()
Diffstat (limited to 'include')
-rw-r--r-- | include/base.h | 4 |
1 files changed, 4 insertions, 0 deletions
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(); |