summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-11-26 13:40:44 +0100
committerAttila Molnar <attilamolnar@hush.com>2015-11-26 13:40:44 +0100
commitb4f82cff9b2efdc05e29bfe9db3f0bbb40d9ce2b (patch)
treeeab9c35de1059c831d7428342b85f5ef0de3d97a /include
parentdd5e75f99e37fc8e407da6fc003fcfa56b802752 (diff)
Add ExtensionManager::GetExts()
Diffstat (limited to 'include')
-rw-r--r--include/extensible.h5
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;
};