summaryrefslogtreecommitdiff
path: root/include/extensible.h
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-11-26 13:39:56 +0100
committerAttila Molnar <attilamolnar@hush.com>2015-11-26 13:39:56 +0100
commitdd5e75f99e37fc8e407da6fc003fcfa56b802752 (patch)
tree6b99a503f35f85b902c1d2254e702d8baa28ba68 /include/extensible.h
parent74d53f48fc5b12bdd43e76af42f7fbf8cce89a9a (diff)
Add typedef ExtensionManager::ExtMap
Diffstat (limited to 'include/extensible.h')
-rw-r--r--include/extensible.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/extensible.h b/include/extensible.h
index a2c104377..b98bb921f 100644
--- a/include/extensible.h
+++ b/include/extensible.h
@@ -121,11 +121,15 @@ class CoreExport Extensible : public classbase
class CoreExport ExtensionManager
{
- std::map<std::string, reference<ExtensionItem> > types;
public:
+ typedef std::map<std::string, reference<ExtensionItem> > ExtMap;
+
bool Register(ExtensionItem* item);
void BeginUnregister(Module* module, std::vector<reference<ExtensionItem> >& list);
ExtensionItem* GetItem(const std::string& name);
+
+ private:
+ ExtMap types;
};
/** Base class for items that are NOT synchronized between servers */