blob: 1b9f291bee68cb8905772c7826ef8767e23bd91c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#pragma once
#include <boost/signal.hpp>
#include <boost/optional.hpp>
#include "Swiften/Network/HostAddress.h"
namespace Swift {
class DNSSDResolveHostnameQuery {
public:
virtual ~DNSSDResolveHostnameQuery();
virtual void run() = 0;
virtual void finish() = 0;
boost::signal<void (const boost::optional<HostAddress>&)> onHostnameResolved;
};
}
|