diff options
Diffstat (limited to 'Swiften/History/SQLiteHistoryStorage.h')
-rw-r--r-- | Swiften/History/SQLiteHistoryStorage.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Swiften/History/SQLiteHistoryStorage.h b/Swiften/History/SQLiteHistoryStorage.h index aae6db8..782334a 100644 --- a/Swiften/History/SQLiteHistoryStorage.h +++ b/Swiften/History/SQLiteHistoryStorage.h @@ -9,6 +9,7 @@ #include <boost/optional.hpp> #include <Swiften/History/HistoryStorage.h> +#include <boost/thread.hpp> struct sqlite3; @@ -26,6 +27,7 @@ namespace Swift { boost::posix_time::ptime getLastTimeStampFromMUC(const JID& selfJID, const JID& mucJID) const; private: + void run(); boost::gregorian::date getNextDateWithLogs(const JID& selfJID, const JID& contactJID, HistoryMessage::Type type, const boost::gregorian::date& date, bool reverseOrder) const; int getIDForJID(const JID&); int addJID(const JID&); @@ -34,5 +36,6 @@ namespace Swift { boost::optional<int> getIDFromJID(const JID& jid) const; sqlite3* db_; + boost::thread* thread_; }; } |