X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fextensible.h;h=e062f66a5131aab399d72a6fb219e4370fdb7524;hb=debedfeb0abb398443fa33452f486c6cc80bb832;hp=40e820d680460ff52b4ba38f983890721f4d9065;hpb=553a8da754c8cd308bad2008018849714e70f9b7;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/extensible.h b/include/extensible.h index 40e820d68..e062f66a5 100644 --- a/include/extensible.h +++ b/include/extensible.h @@ -17,6 +17,10 @@ */ +#pragma once + +#include + enum SerializeFormat { /** Shown to a human (does not need to be unserializable) */ @@ -96,7 +100,7 @@ class CoreExport ExtensionManager { std::map > types; public: - void Register(ExtensionItem* item); + bool Register(ExtensionItem* item); void BeginUnregister(Module* module, std::vector >& list); ExtensionItem* GetItem(const std::string& name); };