summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/Controllers/HistoryViewController.h')
-rw-r--r--Swift/Controllers/HistoryViewController.h9
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_;
};
}