From 8a64bd3a0ac72855b681b00f3a9a08cebee755ce Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Sun, 8 Sep 2013 17:10:15 +0200 Subject: Deduplicate code in modmanager_static and modmanager_dynamic --- include/modules.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include') 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 ModuleMap; -- cgit v1.2.3