summaryrefslogtreecommitdiffstats
blob: 0e8508ee115e5f2d52f81ad5eefe48ff33872bb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef SWIFTEN_GetDiscoInfoRequest_H
#define SWIFTEN_GetDiscoInfoRequest_H

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

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

#endif