From 33467d4924e2b7c63316435764c6909e681f7007 Mon Sep 17 00:00:00 2001 From: Nikita Kostovsky Date: Tue, 18 Nov 2025 21:27:02 +0100 Subject: use moc remotely --- src/protocols/pixelsudpstreamer.cpp | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'src/protocols/pixelsudpstreamer.cpp') diff --git a/src/protocols/pixelsudpstreamer.cpp b/src/protocols/pixelsudpstreamer.cpp index d7c66c7..e7498d7 100644 --- a/src/protocols/pixelsudpstreamer.cpp +++ b/src/protocols/pixelsudpstreamer.cpp @@ -1,7 +1,17 @@ #include "pixelsudpstreamer.h" -PixelsUdpStreamer::PixelsUdpStreamer(std::shared_ptr camera) - : IProtocol{camera} +#include + +PixelsUdpStreamer::PixelsUdpStreamer(std::shared_ptr camera, QObject *parent) + : QObject{parent} + , IProtocol{camera} {} -bool PixelsUdpStreamer::start() {} +bool PixelsUdpStreamer::start() +{ + m_socket = std::make_shared(); + + return true; +} + +void PixelsUdpStreamer::stop() {} -- cgit v1.2.3-70-g09d2