summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-08-29 15:20:29 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-08-29 17:32:41 (GMT)
commit46b13c4d25270c6933d20c6aa790619e30e4cfe8 (patch)
tree36fb78a6eb49180ddbffe2d50e5034f89474e72e /Swiften/Elements
parentf2301a18167bc1221cc0b70b71692ce9d1021119 (diff)
downloadswift-contrib-46b13c4d25270c6933d20c6aa790619e30e4cfe8.zip
swift-contrib-46b13c4d25270c6933d20c6aa790619e30e4cfe8.tar.bz2
Added stanza acking support to client.
Diffstat (limited to 'Swiften/Elements')
-rw-r--r--Swiften/Elements/StanzaAck.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swiften/Elements/StanzaAck.h b/Swiften/Elements/StanzaAck.h
index eaf4e26..53b62b4 100644
--- a/Swiften/Elements/StanzaAck.h
+++ b/Swiften/Elements/StanzaAck.h
@@ -13,6 +13,7 @@ namespace Swift {
class StanzaAck : public Element, public Shared<StanzaAck> {
public:
StanzaAck() : valid(false), handledStanzasCount(0) {}
+ StanzaAck(unsigned int handledStanzasCount) : valid(true), handledStanzasCount(handledStanzasCount) {}
unsigned int getHandledStanzasCount() const {
return handledStanzasCount;