summaryrefslogtreecommitdiffstats
blob: b5e7e49a3ce7ff82829c835ff946c2479effacff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "Swiften/Queries/IQHandler.h"
#include "Swiften/Queries/IQRouter.h"

namespace Swift {

IQHandler::IQHandler(IQRouter* router) : router_(router) {
	router_->addHandler(this);
}

IQHandler::~IQHandler() {
	router_->removeHandler(this);
}

}