summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/History/HistoryMessage.h')
m---------Swiften0
-rw-r--r--Swiften/History/HistoryMessage.h37
2 files changed, 0 insertions, 37 deletions
diff --git a/Swiften b/Swiften
new file mode 160000
+Subproject 8213ba16d0043d2461f4b031c881d61dda5a38c
diff --git a/Swiften/History/HistoryMessage.h b/Swiften/History/HistoryMessage.h
deleted file mode 100644
index 3fda3e2..0000000
--- a/Swiften/History/HistoryMessage.h
+++ /dev/null
@@ -1,37 +0,0 @@
-#pragma once
-
-#include <boost/date_time/posix_time/posix_time_types.hpp>
-
-namespace Swift {
- class HistoryMessage {
- public:
- HistoryMessage(const String& message, const JID& from, const JID& to, const boost::posix_time::ptime time) : message_(message), from_(from), to_(to), time_(time) {
- }
-
- const String& getMessage() const {
- return message_;
- }
-
- const JID& getFrom() const {
- return from_;
- }
-
- const JID& getTo() const {
- return to_;
- }
-
- boost::posix_time::ptime getTime() const {
- return time_;
- }
-
- bool operator==(const HistoryMessage& o) const {
- return message_ == o.message_ && from_ == o.from_ && to_ == o.to_ && time_ == o.time_;
- }
-
- private:
- String message_;
- JID from_;
- JID to_;
- boost::posix_time::ptime time_;
- };
-}