blob: aa9e148115a0adddecf4158363da2c8d7c3728b9 (
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
27
|
#ifndef HOSTMANAGER_H
#define HOSTMANAGER_H
#include <QtCore/QObject>
#include "sappeer.h"
#include "sapmanager.h"
#include "sapagent.h"
class HostManagerAgent : public QObject, public SAPAgent
{
Q_OBJECT
explicit HostManagerAgent(QObject *parent = 0);
public:
static HostManagerAgent * instance();
static void registerServices(SAPManager *manager);
void peerFound(SAPPeer *peer);
void requestConnection(SAPConnectionRequest *request);
private:
SAPPeer *_peer;
SAPSocket *_socket;
};
#endif // HOSTMANAGER_H
|