summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/modules.h b/include/modules.h
index f3f40d458..1d9d16f26 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -1187,6 +1187,15 @@ class CoreExport ModuleManager
/** Internal unload module hook */
bool CanUnload(Module*);
+ /** Loads all core modules (cmd_*)
+ */
+ void LoadCoreModules();
+
+ /** Calls the Prioritize() method in all loaded modules
+ * @return True if all went well, false if a dependency loop was detected
+ */
+ bool PrioritizeHooks();
+
public:
typedef std::map<std::string, Module*> ModuleMap;