SaltAPI  1.1
An API for the HTTPd / Zia by Salty Studio.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
AddEvent.hpp
Go to the documentation of this file.
1 //
2 // Created by wery_a on 09/01/17.
3 //
4 
5 #ifndef API_V2_ADDEVENT_HPP
6 #define API_V2_ADDEVENT_HPP
7 
8 #include "Module/IHTTPHandle.hpp"
9 #include "Module/AModule.hpp"
10 #include "DllExport.hpp"
11 
12 extern "C"
13 {
15 public:
16  AddEvent(Module::ICore &core);
17 
18  virtual ~AddEvent();
19 
20 public:
22 
23 public:
24  Module::IModule *GetModule(Module::ICore &core) const override;
25 };
26 }
27 
28 #endif //API_V2_ADDEVENT_HPP
#define EXPORT
Definition: DllExport.hpp:11
virtual bool Handle(HTTP::Request *req, HTTP::Response *res, HTTP::ProcessingList *pl)=0
virtual IModule * GetModule(ICore &core) const override
The function return an instance of the module.
Definition: AModule.cpp:33