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/HistoryViewController.h | |
| parent | 32672b49d8ec454a3ffc94031bb973c6cfa7f862 (diff) | |
| download | swift-contrib-9ccedec3844df80241c65dc6fb24d97efc2f41fc.zip swift-contrib-9ccedec3844df80241c65dc6fb24d97efc2f41fc.tar.bz2 | |
continous scroll between dates.
Diffstat (limited to 'Swift/Controllers/HistoryViewController.h')
| -rw-r--r-- | Swift/Controllers/HistoryViewController.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Swift/Controllers/HistoryViewController.h b/Swift/Controllers/HistoryViewController.h index cddcfb8..5c4dc96 100644 --- a/Swift/Controllers/HistoryViewController.h +++ b/Swift/Controllers/HistoryViewController.h @@ -35,8 +35,10 @@ namespace Swift { void handleUIEvent(boost::shared_ptr<UIEvent> event); void handleSelectedContactChanged(RosterItem* item); void handleNewMessage(const HistoryMessage& message); - void addNewMessage(const HistoryMessage& message); + void addNewMessage(const HistoryMessage& message, bool addAtTheTop); void handleReturnPressed(const std::string& keyword); + void handleScrollReachedTop(const boost::gregorian::date& date); + void handleScrollReachedBottom(const boost::gregorian::date& date); private: JID selfJID_; @@ -52,6 +54,7 @@ namespace Swift { ContactsMap rooms_; ContactsMap roomPrivateContacts_; ContactRosterItem* selectedItem_; - boost::gregorian::date currentDate_; + HistoryMessage::Type currentItemType_; + boost::gregorian::date currentResultDate_; }; } |
Swift