mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2025-02-20 15:14:26 +01:00
13 lines
313 B
C++
13 lines
313 B
C++
#include "handler_instance.h"
|
|
|
|
#include "request.h"
|
|
#include "core/object.h"
|
|
|
|
DHandlerInstance::DHandlerInstance() {
|
|
instance = nullptr;
|
|
}
|
|
|
|
DHandlerInstance::DHandlerInstance(std::function<void(Object *, DRequest *)> p_handler_func, Object *p_instance) {
|
|
handler_func = p_handler_func;
|
|
instance = p_instance;
|
|
} |