summaryrefslogtreecommitdiffstats
blob: 2dbff410ed65caa9b19e62c63af77e553f1d371e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * Copyright (c) 2013 Isode Limited.
 * All rights reserved.
 * See the COPYING file for more information.
 */

#include <Swiften/Elements/StanzaAck.h>

#include <boost/numeric/conversion/cast.hpp>

using namespace Swift;

StanzaAck::~StanzaAck() {
}

void StanzaAck::setHandledStanzasCount(int i) {
	handledStanzasCount = boost::numeric_cast<unsigned int>(i);
	valid = true;
}