From b4f82cff9b2efdc05e29bfe9db3f0bbb40d9ce2b Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Thu, 26 Nov 2015 13:40:44 +0100 Subject: Add ExtensionManager::GetExts() --- include/extensible.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') 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 >& 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; }; -- cgit v1.2.3