SaltAPI
1.1
An API for the HTTPd / Zia by Salty Studio.
Main Page
Namespaces
Classes
Files
Examples
File List
File Members
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
{
14
class
EXPORT
AddEvent
:
public
Module::IHTTPHandle
,
public
Module::AModule
{
15
public
:
16
AddEvent
(
Module::ICore
&core);
17
18
virtual
~
AddEvent
();
19
20
public
:
21
bool
Handle
(
HTTP::Request
*req,
HTTP::Response
*res,
HTTP::ProcessingList
*pl);
22
23
public
:
24
Module::IModule
*
GetModule
(
Module::ICore
&core)
const override
;
25
};
26
}
27
28
#endif //API_V2_ADDEVENT_HPP
Module::IHTTPHandle
Definition:
IHTTPHandle.hpp:21
EXPORT
#define EXPORT
Definition:
DllExport.hpp:11
HTTP::Response
Definition:
Response.hpp:16
Module::IHTTPHandle::Handle
virtual bool Handle(HTTP::Request *req, HTTP::Response *res, HTTP::ProcessingList *pl)=0
AddEvent
Definition:
AddEvent.hpp:14
AModule.hpp
Module::IModule
Definition:
IModule.hpp:20
IHTTPHandle.hpp
HTTP::ProcessingList
Definition:
ProcessingList.hpp:26
DllExport.hpp
Module::AModule::GetModule
virtual IModule * GetModule(ICore &core) const override
The function return an instance of the module.
Definition:
AModule.cpp:33
Module::AModule
Definition:
AModule.hpp:13
Module::ICore
Definition:
ICore.hpp:19
HTTP::Request
Definition:
Request.hpp:16
API
example
AddEvent.hpp
Generated on Tue Jan 10 2017 17:44:53 for SaltAPI by
1.8.6