diff options
author | Catalin Badea <catalin.badea392@gmail.com> | 2012-06-26 07:56:42 (GMT) |
---|---|---|
committer | Catalin Badea <catalin.badea392@gmail.com> | 2012-06-26 07:56:42 (GMT) |
commit | 88ef15d265a9ff9ab40ac5d90d14af08b0f8c4dd (patch) | |
tree | fd349b0adb02c8b0c956154efa7ebf915b1ebe4f /Swift/Controllers/Chat/ChatControllerBase.h | |
parent | cba5a2aa6db557102998028977e4d84d25181304 (diff) | |
download | swift-contrib-88ef15d265a9ff9ab40ac5d90d14af08b0f8c4dd.zip swift-contrib-88ef15d265a9ff9ab40ac5d90d14af08b0f8c4dd.tar.bz2 |
Use seperate controllers for viewing/handling history
Diffstat (limited to 'Swift/Controllers/Chat/ChatControllerBase.h')
-rw-r--r-- | Swift/Controllers/Chat/ChatControllerBase.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Swift/Controllers/Chat/ChatControllerBase.h b/Swift/Controllers/Chat/ChatControllerBase.h index b698581..376f7a2 100644 --- a/Swift/Controllers/Chat/ChatControllerBase.h +++ b/Swift/Controllers/Chat/ChatControllerBase.h @@ -37,6 +37,7 @@ namespace Swift { class UIEventStream; class EventController; class EntityCapsProvider; + class HistoryController; class ChatControllerBase : public boost::bsignals::trackable { public: @@ -58,7 +59,7 @@ namespace Swift { void handleCapsChanged(const JID& jid); protected: - ChatControllerBase(const JID& self, StanzaChannel* stanzaChannel, IQRouter* iqRouter, ChatWindowFactory* chatWindowFactory, const JID &toJID, PresenceOracle* presenceOracle, AvatarManager* avatarManager, bool useDelayForLatency, UIEventStream* eventStream, EventController* eventController, TimerFactory* timerFactory, EntityCapsProvider* entityCapsProvider); + ChatControllerBase(const JID& self, StanzaChannel* stanzaChannel, IQRouter* iqRouter, ChatWindowFactory* chatWindowFactory, const JID &toJID, PresenceOracle* presenceOracle, AvatarManager* avatarManager, bool useDelayForLatency, UIEventStream* eventStream, EventController* eventController, TimerFactory* timerFactory, EntityCapsProvider* entityCapsProvider, HistoryController* historyController); /** * Pass the Message appended, and the stanza used to send it. @@ -110,5 +111,6 @@ namespace Swift { boost::shared_ptr<Timer> dateChangeTimer_; TimerFactory* timerFactory_; EntityCapsProvider* entityCapsProvider_; + HistoryController* historyController_; }; } |