SaltAPI
1.1
An API for the HTTPd / Zia by Salty Studio.
|
#include <IModule.hpp>
Public Types | |
enum | Type { Core, Logger, ConfigLoader, Network, FileServe, HTTP, Default } |
Public Member Functions | |
virtual std::string const & | GetName () const =0 |
virtual Type | GetType () const =0 |
virtual bool | Load ()=0 |
Method for futur use. More... | |
virtual bool | Unload ()=0 |
Method for futur use. More... | |
virtual IModule * | GetModule (ICore &core) const =0 |
The function return an instance of the module. More... | |
Interface representing a module
Definition at line 20 of file IModule.hpp.
Type of a module
Enumerator | |
---|---|
Core | |
Logger | |
ConfigLoader | |
Network | |
FileServe | |
HTTP | |
Default |
Definition at line 25 of file IModule.hpp.
The function return an instance of the module.
core |
Implemented in Module::ACore, Module::AModule, Compress, HelloWorld, and AddEvent.
|
pure virtual |
Implemented in Module::AModule.
|
pure virtual |
Implemented in Module::AModule.
|
pure virtual |
|
pure virtual |