diff options
author | Tobias Markmann <tm@ayena.de> | 2016-03-31 14:57:35 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2016-03-31 14:57:35 (GMT) |
commit | cfbdb43d2cadd40aa87338d41548e4bf89e146e6 (patch) | |
tree | 18d94153a302445196fc0c18586abf44a1ce4a38 /Swiften/Elements/MAMFin.h | |
parent | 1d545a4a7fb877f021508094b88c1f17b30d8b4e (diff) | |
download | swift-cfbdb43d2cadd40aa87338d41548e4bf89e146e6.zip swift-cfbdb43d2cadd40aa87338d41548e4bf89e146e6.tar.bz2 |
Convert tabs to 4 spaces for all source files
Removed trailing spaces and whitespace on empty lines
in the process.
Changed CheckTabs.py tool to disallow hard tabs in source
files.
Test-Information:
Manually checked 30 random files that the conversion worked
as expected.
Change-Id: I874f99d617bd3d2bb55f02d58f22f58f9b094480
Diffstat (limited to 'Swiften/Elements/MAMFin.h')
-rw-r--r-- | Swiften/Elements/MAMFin.h | 88 |
1 files changed, 44 insertions, 44 deletions
diff --git a/Swiften/Elements/MAMFin.h b/Swiften/Elements/MAMFin.h index 96e410e..dd1f7bf 100644 --- a/Swiften/Elements/MAMFin.h +++ b/Swiften/Elements/MAMFin.h @@ -16,48 +16,48 @@ #include <Swiften/Elements/ResultSet.h> namespace Swift { - class SWIFTEN_API MAMFin : public Payload { - public: - MAMFin() : isComplete_(false), isStable_(true) {} - virtual ~MAMFin(); - - void setComplete(const bool isComplete) { - isComplete_ = isComplete; - } - - bool isComplete() const { - return isComplete_; - } - - void setStable(const bool isStable) { - isStable_ = isStable; - } - - bool isStable() const { - return isStable_; - } - - void setResultSet(boost::shared_ptr<ResultSet> resultSet) { - resultSet_ = resultSet; - } - - boost::shared_ptr<ResultSet> getResultSet() const { - return resultSet_; - } - - void setQueryID(const std::string& queryID) { - queryID_ = queryID; - } - - const boost::optional<std::string>& getQueryID() const { - return queryID_; - } - - - private: - bool isComplete_; - bool isStable_; - boost::shared_ptr<ResultSet> resultSet_; - boost::optional<std::string> queryID_; - }; + class SWIFTEN_API MAMFin : public Payload { + public: + MAMFin() : isComplete_(false), isStable_(true) {} + virtual ~MAMFin(); + + void setComplete(const bool isComplete) { + isComplete_ = isComplete; + } + + bool isComplete() const { + return isComplete_; + } + + void setStable(const bool isStable) { + isStable_ = isStable; + } + + bool isStable() const { + return isStable_; + } + + void setResultSet(boost::shared_ptr<ResultSet> resultSet) { + resultSet_ = resultSet; + } + + boost::shared_ptr<ResultSet> getResultSet() const { + return resultSet_; + } + + void setQueryID(const std::string& queryID) { + queryID_ = queryID; + } + + const boost::optional<std::string>& getQueryID() const { + return queryID_; + } + + + private: + bool isComplete_; + bool isStable_; + boost::shared_ptr<ResultSet> resultSet_; + boost::optional<std::string> queryID_; + }; } |