diff options
Diffstat (limited to 'Swiften/Elements/StreamResume.h')
-rw-r--r-- | Swiften/Elements/StreamResume.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/Swiften/Elements/StreamResume.h b/Swiften/Elements/StreamResume.h index 6876ead..0ded077 100644 --- a/Swiften/Elements/StreamResume.h +++ b/Swiften/Elements/StreamResume.h @@ -14,29 +14,29 @@ #include <Swiften/Elements/ToplevelElement.h> namespace Swift { - class SWIFTEN_API StreamResume : public ToplevelElement { - public: - StreamResume(); - ~StreamResume(); - - void setResumeID(const std::string& id) { - resumeID = id; - } - - const std::string& getResumeID() const { - return resumeID; - } - - const boost::optional<unsigned int> getHandledStanzasCount() const { - return handledStanzasCount; - } - - void setHandledStanzasCount(unsigned int i) { - handledStanzasCount = i; - } - - private: - std::string resumeID; - boost::optional<unsigned int> handledStanzasCount; - }; + class SWIFTEN_API StreamResume : public ToplevelElement { + public: + StreamResume(); + ~StreamResume(); + + void setResumeID(const std::string& id) { + resumeID = id; + } + + const std::string& getResumeID() const { + return resumeID; + } + + const boost::optional<unsigned int> getHandledStanzasCount() const { + return handledStanzasCount; + } + + void setHandledStanzasCount(unsigned int i) { + handledStanzasCount = i; + } + + private: + std::string resumeID; + boost::optional<unsigned int> handledStanzasCount; + }; } |