diff options
Diffstat (limited to 'include/modules.h')
-rw-r--r-- | include/modules.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/modules.h b/include/modules.h index 3cf780284..c938e6a9d 100644 --- a/include/modules.h +++ b/include/modules.h @@ -1068,6 +1068,13 @@ class CoreExport ModuleManager : public fakederef<ModuleManager> */ ServiceList* NewServices; + /** Expands the name of a module by prepending "m_" and appending ".so". + * No-op if the name already has the ".so" extension. + * @param modname Module name to expand + * @return Module name starting with "m_" and ending with ".so" + */ + static std::string ExpandModName(const std::string& modname); + /** Simple, bog-standard, boring constructor. */ ModuleManager(); |