13class QNetworkAccessManager;
25 virtual bool allowed(
const QUrl &url)
const = 0;
29 virtual QNetworkAccessManager *
shared() = 0;
Borrowed GUI-thread network service used for catalogue previews and data downloads.
Definition INetworkPolicy.hpp:18
virtual QNetworkAccessManager * shared()=0
Obtain the policy-enforcing network manager.
virtual bool allowed(const QUrl &url) const =0
Test a destination without making a request.
virtual ~INetworkPolicy()=default
Destroy an implementation; extensions never delete the host-owned service.
Public header-only ABI for independently compiled native GUI extensions.
Definition ExtensionHost.hpp:24