diff options
author | Javier <dev.git@javispedro.com> | 2015-12-13 03:18:09 +0100 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2015-12-13 03:18:09 +0100 |
commit | 3340aa0ef68eb735c36185959c8dbd11178575bf (patch) | |
tree | cf424e206eb60b7ca9f99bf135ed8dae54d25259 /webproxyagent.h | |
parent | f45294559f976258831821ada062c73965201150 (diff) | |
download | sapd-3340aa0ef68eb735c36185959c8dbd11178575bf.tar.gz sapd-3340aa0ef68eb735c36185959c8dbd11178575bf.zip |
Bump min Qt requirement to 5.2, bump libwatchfish version
Diffstat (limited to 'webproxyagent.h')
-rw-r--r-- | webproxyagent.h | 27 |
1 files changed, 27 insertions, 0 deletions
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 <QtCore/QObject> +#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 |