diff options
-rw-r--r-- | include/extensible.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/extensible.h b/include/extensible.h index b98bb921f..11d6acbc9 100644 --- a/include/extensible.h +++ b/include/extensible.h @@ -128,6 +128,11 @@ class CoreExport ExtensionManager void BeginUnregister(Module* module, std::vector<reference<ExtensionItem> >& list); ExtensionItem* GetItem(const std::string& name); + /** Get all registered extensions keyed by their names + * @return Const map of ExtensionItem pointers keyed by their names + */ + const ExtMap& GetExts() const { return types; } + private: ExtMap types; }; |