diff options
author | Catalin Badea <catalin.badea392@gmail.com> | 2012-07-19 09:04:58 (GMT) |
---|---|---|
committer | Cătălin Badea <catalin.badea392@gmail.com> | 2012-08-11 15:59:12 (GMT) |
commit | ca345562f5dee77024c661832eeaa9368737be2c (patch) | |
tree | 707c8bf3bab3e420f1652f194f8d7642f8beabcc /Swiften/History/SQLiteHistoryManager.h | |
parent | 3af84bc87419831e26a85321c1c970aecd18d2c7 (diff) | |
download | swift-contrib-ca345562f5dee77024c661832eeaa9368737be2c.zip swift-contrib-ca345562f5dee77024c661832eeaa9368737be2c.tar.bz2 |
Retrieve messages from last matching day
Diffstat (limited to 'Swiften/History/SQLiteHistoryManager.h')
-rw-r--r-- | Swiften/History/SQLiteHistoryManager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/History/SQLiteHistoryManager.h b/Swiften/History/SQLiteHistoryManager.h index a02ecc3..638d73f 100644 --- a/Swiften/History/SQLiteHistoryManager.h +++ b/Swiften/History/SQLiteHistoryManager.h @@ -19,8 +19,8 @@ namespace Swift { ~SQLiteHistoryManager(); void addMessage(const HistoryMessage& message); - std::vector<HistoryMessage> getMessages(const JID& selfJID, const JID& contactJID, HistoryMessage::Type type) const; - std::set<JID> getContacts(const JID& selfJID, HistoryMessage::Type type, const std::string& keyword) const; + ContactsMap getContacts(const JID& selfJID, HistoryMessage::Type type, const std::string& keyword) const; + std::vector<HistoryMessage> getMessages(const JID& selfJID, const JID& contactJID, HistoryMessage::Type type, const boost::gregorian::date& date) const; private: int getIDForJID(const JID&); |