diff options
author | Catalin Badea <catalin.badea392@gmail.com> | 2012-07-01 20:13:27 (GMT) |
---|---|---|
committer | Catalin Badea <catalin.badea392@gmail.com> | 2012-07-01 20:13:27 (GMT) |
commit | 831075a8aeb15dc79c84d28d284b5cdbae2f60ea (patch) | |
tree | e51fa0ff00611e5ca4af7bca1fbfc38a75d640fd /Swift/Controllers/HistoryViewController.h | |
parent | 583809c9f96bbf35196c416a1b6e44539b5ceacc (diff) | |
download | swift-contrib-831075a8aeb15dc79c84d28d284b5cdbae2f60ea.zip swift-contrib-831075a8aeb15dc79c84d28d284b5cdbae2f60ea.tar.bz2 |
Dump message logs using new db structure. Avatars not working
Diffstat (limited to 'Swift/Controllers/HistoryViewController.h')
-rw-r--r-- | Swift/Controllers/HistoryViewController.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Swift/Controllers/HistoryViewController.h b/Swift/Controllers/HistoryViewController.h index 7dabf46..f1ff286 100644 --- a/Swift/Controllers/HistoryViewController.h +++ b/Swift/Controllers/HistoryViewController.h @@ -11,6 +11,8 @@ #include <boost/shared_ptr.hpp> #include <Swift/Controllers/UIEvents/UIEventStream.h> +#include <Swiften/JID/JID.h> +#include <set> namespace Swift { class HistoryWindowFactory; @@ -23,7 +25,7 @@ namespace Swift { class HistoryViewController { public: - HistoryViewController(UIEventStream* uiEventStream, HistoryController* historyController, NickResolver* nickResolver, AvatarManager* avatarManager, HistoryWindowFactory* historyWindowFactory); + HistoryViewController(const JID& selfJID, UIEventStream* uiEventStream, HistoryController* historyController, NickResolver* nickResolver, AvatarManager* avatarManager, HistoryWindowFactory* historyWindowFactory); ~HistoryViewController(); private: @@ -31,6 +33,7 @@ namespace Swift { void handleSelectedContactChanged(RosterItem* item); private: + JID selfJID_; UIEventStream* uiEventStream_; HistoryController* historyController_; NickResolver* nickResolver_; @@ -38,5 +41,8 @@ namespace Swift { HistoryWindowFactory* historyWindowFactory_; HistoryWindow* historyWindow_; Roster* roster_; + + std::set<JID> rooms_; + std::set<JID> contacts_; }; } |