diff options
Diffstat (limited to 'Swiften/StreamManagement/StanzaAckRequester.h')
-rw-r--r-- | Swiften/StreamManagement/StanzaAckRequester.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/Swiften/StreamManagement/StanzaAckRequester.h b/Swiften/StreamManagement/StanzaAckRequester.h index 6b04238..4d913bb 100644 --- a/Swiften/StreamManagement/StanzaAckRequester.h +++ b/Swiften/StreamManagement/StanzaAckRequester.h @@ -15,21 +15,21 @@ #include <Swiften/Elements/Stanza.h> namespace Swift { - class SWIFTEN_API StanzaAckRequester { - public: - StanzaAckRequester(); - - void handleStanzaSent(boost::shared_ptr<Stanza> stanza); - void handleAckReceived(unsigned int handledStanzasCount); - - public: - boost::signal<void ()> onRequestAck; - boost::signal<void (boost::shared_ptr<Stanza>)> onStanzaAcked; - - private: - friend class StanzaAckRequesterTest; - unsigned int lastHandledStanzasCount; - std::deque<boost::shared_ptr<Stanza> > unackedStanzas; - }; + class SWIFTEN_API StanzaAckRequester { + public: + StanzaAckRequester(); + + void handleStanzaSent(boost::shared_ptr<Stanza> stanza); + void handleAckReceived(unsigned int handledStanzasCount); + + public: + boost::signal<void ()> onRequestAck; + boost::signal<void (boost::shared_ptr<Stanza>)> onStanzaAcked; + + private: + friend class StanzaAckRequesterTest; + unsigned int lastHandledStanzasCount; + std::deque<boost::shared_ptr<Stanza> > unackedStanzas; + }; } |