summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCatalin Badea <catalin.badea392@gmail.com>2012-07-03 13:17:51 (GMT)
committerCatalin Badea <catalin.badea392@gmail.com>2012-07-03 13:17:51 (GMT)
commit40dc0541e60549cc2db83005f45b51f93d42cc00 (patch)
treea197714d94fd3681802555e0783e6df694d7d6cc /Swiften/History/SQLiteHistoryManager.h
parentfbeef036efeabe1218490f5a7659d8779350af7c (diff)
downloadswift-contrib-40dc0541e60549cc2db83005f45b51f93d42cc00.zip
swift-contrib-40dc0541e60549cc2db83005f45b51f93d42cc00.tar.bz2
Added message type logging. Fixed handling new messages.
Diffstat (limited to 'Swiften/History/SQLiteHistoryManager.h')
-rw-r--r--Swiften/History/SQLiteHistoryManager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/History/SQLiteHistoryManager.h b/Swiften/History/SQLiteHistoryManager.h
index 480d570..fce30f8 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, bool isGroupChat) const;
- void getAllContacts(const JID& selfJID, std::set<JID>& mucs, std::set<JID>& contacts) const;
+ 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;
private:
int getIDForJID(const JID&);