X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fbase.h;h=be024c8988803129789e65ef77af337fac3c67fa;hb=c7b938502295ddc5b2c89e0854d8c5c19ede32dc;hp=41ed723c584dcae4895689570583b58dbc6180d8;hpb=ccebfe6e637b420bef05e8e0faf29bb19f1883d9;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/base.h b/include/base.h index 41ed723c5..be024c898 100644 --- a/include/base.h +++ b/include/base.h @@ -1,8 +1,9 @@ /* * InspIRCd -- Internet Relay Chat Daemon * + * Copyright (C) 2020 Matt Schatz + * Copyright (C) 2013, 2017, 2020-2021 Sadie Powell * Copyright (C) 2013, 2015 Attila Molnar - * Copyright (C) 2012-2013, 2017 Sadie Powell * Copyright (C) 2012 Robby * Copyright (C) 2012 ChrisTX * Copyright (C) 2011-2012 Adam @@ -27,10 +28,8 @@ #pragma once -#include -#include +#include "compat.h" #include -#include /** Dummy class to help enforce culls being parent-called up to classbase */ class CullResult @@ -258,6 +257,9 @@ class CoreExport ServiceProvider : public classbase ServiceProvider(Module* Creator, const std::string& Name, ServiceType Type); virtual ~ServiceProvider(); + /** Retrieves a string that represents the type of this service. */ + const char* GetTypeString() const; + /** Register this service in the appropriate registrar */ virtual void RegisterService();