diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-09-08 17:10:15 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-09-08 17:10:15 +0200 |
commit | 8a64bd3a0ac72855b681b00f3a9a08cebee755ce (patch) | |
tree | 40e32f7de67afe8464e4aca20505ea75ffff2bfa /include/modules.h | |
parent | e6e3ae88fb26287fa9691110a80aec3aac8e9056 (diff) |
Deduplicate code in modmanager_static and modmanager_dynamic
Diffstat (limited to 'include/modules.h')
-rw-r--r-- | include/modules.h | 9 |
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; |