mirror of
https://github.com/Relintai/rcpp_fw_static.git
synced 2024-11-20 21:37:18 +01:00
17 lines
344 B
C++
17 lines
344 B
C++
#ifndef HANDLER_INSTANCE_H
|
|
#define HANDLER_INSTANCE_H
|
|
|
|
#include <functional>
|
|
|
|
class Object;
|
|
class Request;
|
|
|
|
struct HandlerInstance {
|
|
std::function<void(Object *, Request *)> handler_func;
|
|
Object *instance;
|
|
|
|
HandlerInstance();
|
|
HandlerInstance(std::function<void(Object *, Request *)> p_handler_func, Object *p_instance = nullptr);
|
|
};
|
|
|
|
#endif |