mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +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 |