mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2025-02-20 15:14:26 +01:00
17 lines
352 B
C++
17 lines
352 B
C++
#ifndef DHANDLER_INSTANCE_H
|
|
#define DHANDLER_INSTANCE_H
|
|
|
|
#include <functional>
|
|
|
|
class Object;
|
|
class DRequest;
|
|
|
|
struct DHandlerInstance {
|
|
std::function<void(Object *, DRequest *)> handler_func;
|
|
Object *instance;
|
|
|
|
DHandlerInstance();
|
|
DHandlerInstance(std::function<void(Object *, DRequest *)> p_handler_func, Object *p_instance = nullptr);
|
|
};
|
|
|
|
#endif |