From 3340aa0ef68eb735c36185959c8dbd11178575bf Mon Sep 17 00:00:00 2001 From: Javier Date: Sun, 13 Dec 2015 03:18:09 +0100 Subject: Bump min Qt requirement to 5.2, bump libwatchfish version --- webproxyagent.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 webproxyagent.h (limited to 'webproxyagent.h') diff --git a/webproxyagent.h b/webproxyagent.h new file mode 100644 index 0000000..e3e7329 --- /dev/null +++ b/webproxyagent.h @@ -0,0 +1,27 @@ +#ifndef WEBPROXYAGENT_H +#define WEBPROXYAGENT_H + +#include +#include "sappeer.h" +#include "sapmanager.h" +#include "sapagent.h" + +class WebProxyAgent : public QObject, public SAPAgent +{ + Q_OBJECT + + explicit WebProxyAgent(QObject *parent = 0); + +public: + static WebProxyAgent * instance(); + static void registerServices(SAPManager *manager); + + void peerFound(SAPPeer *peer); + void requestConnection(SAPConnectionRequest *request); + +private: + SAPPeer *_peer; + SAPSocket *_socket; +}; + +#endif // WEBPROXYAGENT_H -- cgit v1.2.3