diff options
author | Attila Molnar <attilamolnar@hush.com> | 2015-11-26 13:40:44 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2015-11-26 13:40:44 +0100 |
commit | b4f82cff9b2efdc05e29bfe9db3f0bbb40d9ce2b (patch) | |
tree | eab9c35de1059c831d7428342b85f5ef0de3d97a /include | |
parent | dd5e75f99e37fc8e407da6fc003fcfa56b802752 (diff) |
Add ExtensionManager::GetExts()
Diffstat (limited to 'include')
-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; }; |