InspIRCd
3.0
|
#include <base.h>
Public Member Functions | |
ServiceProvider (Module *Creator, const std::string &Name, ServiceType Type) | |
const char * | GetTypeString () const |
virtual void | RegisterService () |
void | DisableAutoRegister () |
![]() | |
virtual CullResult | cull () |
Public Attributes | |
ModuleRef | creator |
const std::string | name |
const ServiceType | service |
A structure defining something that a module can provide
void ServiceProvider::DisableAutoRegister | ( | ) |
If called, this ServiceProvider won't be registered automatically
const char * ServiceProvider::GetTypeString | ( | ) | const |
Retrieves a string that represents the type of this service.
|
virtual |
Register this service in the appropriate registrar
Reimplemented in Command, ModeHandler, and ExtensionItem.
ModuleRef ServiceProvider::creator |
Module that is providing this service
const std::string ServiceProvider::name |
Name of the service being provided
const ServiceType ServiceProvider::service |
Type of service (must match object type)