summaryrefslogtreecommitdiffstats
blob: 70f09caaca9fc041049e3b7d170216c6502a4cd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

#include "Swiften/Queries/GenericRequest.h"
#include "Swiften/Elements/DiscoInfo.h"

namespace Swift {
	class GetDiscoInfoRequest : public GenericRequest<DiscoInfo> {
		public:
			GetDiscoInfoRequest(const JID& jid, IQRouter* router) :
					GenericRequest<DiscoInfo>(IQ::Get, jid, boost::shared_ptr<DiscoInfo>(new DiscoInfo()), router) {
			}
	};
}