diff options
| author | Catalin Badea <catalin.badea392@gmail.com> | 2012-07-20 12:22:40 (GMT) | 
|---|---|---|
| committer | Catalin Badea <catalin.badea392@gmail.com> | 2012-07-20 12:22:40 (GMT) | 
| commit | 9ccedec3844df80241c65dc6fb24d97efc2f41fc (patch) | |
| tree | b7dd0ffacb6817a383c8d86e42eb0917dd5bd240 /Swift/Controllers/HistoryController.h | |
| parent | 32672b49d8ec454a3ffc94031bb973c6cfa7f862 (diff) | |
| download | swift-contrib-9ccedec3844df80241c65dc6fb24d97efc2f41fc.zip swift-contrib-9ccedec3844df80241c65dc6fb24d97efc2f41fc.tar.bz2  | |
continous scroll between dates.
Diffstat (limited to 'Swift/Controllers/HistoryController.h')
| -rw-r--r-- | Swift/Controllers/HistoryController.h | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/Swift/Controllers/HistoryController.h b/Swift/Controllers/HistoryController.h index 53260a1..00ad752 100644 --- a/Swift/Controllers/HistoryController.h +++ b/Swift/Controllers/HistoryController.h @@ -23,7 +23,9 @@ namespace Swift {  			~HistoryController();  			void addMessage(const std::string& message, const JID& fromJID, const JID& toJID, HistoryMessage::Type type, const boost::posix_time::ptime& timeStamp); -			std::vector<HistoryMessage> getMessages(const JID& selfJID, const JID& contactJID, HistoryMessage::Type type, const boost::gregorian::date& date) const; +			std::vector<HistoryMessage> getMessagesFromDate(const JID& selfJID, const JID& contactJID, HistoryMessage::Type type, const boost::gregorian::date& date) const; +			std::vector<HistoryMessage> getMessagesFromPreviousDate(const JID& selfJID, const JID& contactJID, HistoryMessage::Type type, const boost::gregorian::date& date) const; +			std::vector<HistoryMessage> getMessagesFromNextDate(const JID& selfJID, const JID& contactJID, HistoryMessage::Type type, const boost::gregorian::date& date) const;  			ContactsMap getContacts(const JID& selfJID, HistoryMessage::Type type, const std::string& keyword = std::string()) const;  			boost::signal<void (const HistoryMessage&)> onNewMessage;  | 
 Swift