diff options
Diffstat (limited to 'Swift/Controllers/HistoryController.h')
-rw-r--r-- | Swift/Controllers/HistoryController.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Swift/Controllers/HistoryController.h b/Swift/Controllers/HistoryController.h index dedf840..9949c19 100644 --- a/Swift/Controllers/HistoryController.h +++ b/Swift/Controllers/HistoryController.h @@ -7,9 +7,21 @@ #pragma once #include <Swiften/JID/JID.h> +#include <boost/date_time/posix_time/posix_time.hpp> namespace Swift { + class HistoryManager; + class JID; class HistoryController { + public: + HistoryController(); + ~HistoryController(); + + void addMessage(const JID& baseJID, const JID& fromJID, const JID& toJID, std::string messageBody, boost::posix_time::ptime timeStamp); + + private: + HistoryManager* localHistory_; + bool remoteArchiveSupported_; }; } |