mirror of
https://github.com/Relintai/rcpp_fw_static.git
synced 2024-11-20 21:37:18 +01:00
13 lines
303 B
C++
13 lines
303 B
C++
#include "handler_instance.h"
|
|
|
|
#include "request.h"
|
|
#include "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;
|
|
} |