mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01:00
13 lines
308 B
C++
13 lines
308 B
C++
#include "handler_instance.h"
|
|
|
|
#include "request.h"
|
|
#include "core/object.h"
|
|
|
|
HandlerInstance::HandlerInstance() {
|
|
instance = nullptr;
|
|
}
|
|
|
|
HandlerInstance::HandlerInstance(std::function<void(Object *, Request *)> p_handler_func, Object *p_instance) {
|
|
handler_func = p_handler_func;
|
|
instance = p_instance;
|
|
} |