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 /Swift/Controllers/HistoryViewController.h | |
parent | 3af84bc87419831e26a85321c1c970aecd18d2c7 (diff) | |
download | swift-contrib-ca345562f5dee77024c661832eeaa9368737be2c.zip swift-contrib-ca345562f5dee77024c661832eeaa9368737be2c.tar.bz2 |
Retrieve messages from last matching day
Diffstat (limited to 'Swift/Controllers/HistoryViewController.h')
-rw-r--r-- | Swift/Controllers/HistoryViewController.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Swift/Controllers/HistoryViewController.h b/Swift/Controllers/HistoryViewController.h index 4957e37..cddcfb8 100644 --- a/Swift/Controllers/HistoryViewController.h +++ b/Swift/Controllers/HistoryViewController.h @@ -11,6 +11,7 @@ #include <boost/shared_ptr.hpp> #include <Swift/Controllers/UIEvents/UIEventStream.h> +#include <Swiften/History/HistoryManager.h> #include <Swiften/JID/JID.h> #include <set> @@ -35,6 +36,7 @@ namespace Swift { void handleSelectedContactChanged(RosterItem* item); void handleNewMessage(const HistoryMessage& message); void addNewMessage(const HistoryMessage& message); + void handleReturnPressed(const std::string& keyword); private: JID selfJID_; @@ -46,9 +48,10 @@ namespace Swift { HistoryWindow* historyWindow_; Roster* roster_; - std::set<JID> contacts_; - std::set<JID> rooms_; - std::set<JID> roomPrivateContacts_; + ContactsMap contacts_; + ContactsMap rooms_; + ContactsMap roomPrivateContacts_; ContactRosterItem* selectedItem_; + boost::gregorian::date currentDate_; }; } |