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