X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fextensible.h;h=b98bb921fd98a2bec8c854bce4e9a3c4fc7b1717;hb=dd5e75f99e37fc8e407da6fc003fcfa56b802752;hp=a2c1043779f2a388f3990bc4a187843b6389f984;hpb=74d53f48fc5b12bdd43e76af42f7fbf8cce89a9a;p=user%2Fhenk%2Fcode%2Finspircd.git 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 > types; public: + typedef std::map > ExtMap; + bool Register(ExtensionItem* item); void BeginUnregister(Module* module, std::vector >& list); ExtensionItem* GetItem(const std::string& name); + + private: + ExtMap types; }; /** Base class for items that are NOT synchronized between servers */