#pragma once #include #include namespace http { #define HTTPSenderInterfaceIID "bigsnitch.api.HTTPSenderInterface/100" class SenderInterface { public: virtual ~SenderInterface() = default; virtual int send(http::Request request); virtual bool received(int id); virtual std::optional receive(int id); }; } Q_DECLARE_INTERFACE(http::SenderInterface, HTTPSenderInterfaceIID)