diff options
author | Catalin Badea <catalin.badea392@gmail.com> | 2012-06-26 09:51:15 (GMT) |
---|---|---|
committer | Catalin Badea <catalin.badea392@gmail.com> | 2012-06-26 09:51:15 (GMT) |
commit | ad7d00c25b74d212457fa599861c5583e79e7c13 (patch) | |
tree | 16dd3991eadc5798ecdc32de655b776b6356922e /Swift/Controllers/HistoryController.h | |
parent | 88ef15d265a9ff9ab40ac5d90d14af08b0f8c4dd (diff) | |
download | swift-contrib-ad7d00c25b74d212457fa599861c5583e79e7c13.zip swift-contrib-ad7d00c25b74d212457fa599861c5583e79e7c13.tar.bz2 |
Added SqliteManager to build. not working
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_; }; } |