From d8d8fc7a0d139e7b864eee3b573bd208f823ad4f Mon Sep 17 00:00:00 2001 From: Javier Date: Sun, 19 Oct 2014 18:45:03 +0200 Subject: initial import, no crypto --- capabilityagent.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 capabilityagent.h (limited to 'capabilityagent.h') diff --git a/capabilityagent.h b/capabilityagent.h new file mode 100644 index 0000000..52692e5 --- /dev/null +++ b/capabilityagent.h @@ -0,0 +1,26 @@ +#ifndef CAPABILITYAGENT_H +#define CAPABILITYAGENT_H + +#include +#include +#include + +#include "sapagent.h" + +class SAPManager; + +class CapabilityAgent : public QObject, public SAPAgent +{ + Q_OBJECT + + explicit CapabilityAgent(QObject *object = 0); + +public: + static CapabilityAgent* instance(); + static void registerServices(SAPManager *manager); + + void peerFound(SAPPeer *peer); + void requestConnection(SAPConnectionRequest *request); +}; + +#endif // CAPABILITYAGENT_H -- cgit v1.2.3