summaryrefslogtreecommitdiff
path: root/capabilityagent.h
blob: 52692e59030ecff019d51bc2a457b202f520a28e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef CAPABILITYAGENT_H
#define CAPABILITYAGENT_H

#include <QtCore/QObject>
#include <QtCore/QPointer>
#include <QtCore/QHash>

#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