#include "httpservice.h" #include "constants.h" #include "macro.h" extern uint8_t pgm_image[64 + img_width * img_height * sizeof(uint8_t)]; extern size_t pgm_image_size; extern std::mutex pgm_image_mtx; HttpServer::HttpServer(const std::shared_ptr &camera, const QHostAddress &address, const uint16_t port) : INIT_FIELD(camera) , INIT_FIELD(address) , INIT_FIELD(port) {}