summaryrefslogtreecommitdiff
path: root/include/inspircd.h
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-11-16 17:59:06 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-11-16 17:59:06 +0000
commit54fb0cd5aa7d090d5c3da5ab54988c86ba8a2e8e (patch)
treebc20ce6dca41b2d16349ae4c8212861c10e3685e /include/inspircd.h
parent3bfd0db65ff01c026e968af4de074cc1155a4061 (diff)
Use ServiceProvider for inter-module dependencies
This will stop dependency chains from preventing module reloads when it is not actually needed; however, it removes some failsafes that will need to be reimplemented in order to avoid unmapped vtables. This deprecates Request as an inter-module signaling mechanism, although SQL still uses it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12140 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/inspircd.h')
-rw-r--r--include/inspircd.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 52035ce49..96b05488a 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -594,15 +594,6 @@ class CoreExport InspIRCd
*/
bool AddResolver(Resolver* r, bool cached);
- /** Register a service provided by a module */
- void AddService(providerbase&);
-
- inline void AddServices(providerbase** list, int count)
- {
- for(int i=0; i < count; i++)
- AddService(*list[i]);
- }
-
/** Add a command to this server's command parser
* @param f A Command command handler object to add
* @throw ModuleException Will throw ModuleExcption if the command already exists