summaryrefslogtreecommitdiffstats
blob: 53ca3eb35a5601a86f93baf46273871455f6526b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef SWIFTEN_GetSecurityLabelsCatalogRequest_H
#define SWIFTEN_GetSecurityLabelsCatalogRequest_H

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

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

#endif