summaryrefslogtreecommitdiffstats
blob: a2e218c5c6611346a84175b799ae10f29533b879 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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;

			boost::signal<void (const boost::optional<HostAddress>&)> onHostnameResolved;
	};
}