diff options
author | Kevin Smith <git@kismith.co.uk> | 2012-05-31 18:11:54 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2012-05-31 18:11:54 (GMT) |
commit | ce9b4d1865df52497cf0d336efe0de3d1dbb7dec (patch) | |
tree | c8822916a2b6d43b158c00065f038e778c206336 /Swift/Controllers/Chat/MUCController.h | |
parent | 6aeb44a905b0c1955ea3afe4ea2025370544e699 (diff) | |
download | swift-contrib-ce9b4d1865df52497cf0d336efe0de3d1dbb7dec.zip swift-contrib-ce9b4d1865df52497cf0d336efe0de3d1dbb7dec.tar.bz2 |
Better MUC inviting
Diffstat (limited to 'Swift/Controllers/Chat/MUCController.h')
-rw-r--r-- | Swift/Controllers/Chat/MUCController.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Swift/Controllers/Chat/MUCController.h b/Swift/Controllers/Chat/MUCController.h index 8b43dcf..6bf056b 100644 --- a/Swift/Controllers/Chat/MUCController.h +++ b/Swift/Controllers/Chat/MUCController.h @@ -32,6 +32,7 @@ namespace Swift { class TimerFactory; class TabComplete; class InviteToChatWindow; + class XMPPRoster; enum JoinPart {Join, Part, JoinThenPart, PartThenJoin}; @@ -43,7 +44,7 @@ namespace Swift { class MUCController : public ChatControllerBase { public: - MUCController(const JID& self, MUC::ref muc, const boost::optional<std::string>& password, const std::string &nick, StanzaChannel* stanzaChannel, IQRouter* iqRouter, ChatWindowFactory* chatWindowFactory, PresenceOracle* presenceOracle, AvatarManager* avatarManager, UIEventStream* events, bool useDelayForLatency, TimerFactory* timerFactory, EventController* eventController, EntityCapsProvider* entityCapsProvider); + MUCController(const JID& self, MUC::ref muc, const boost::optional<std::string>& password, const std::string &nick, StanzaChannel* stanzaChannel, IQRouter* iqRouter, ChatWindowFactory* chatWindowFactory, PresenceOracle* presenceOracle, AvatarManager* avatarManager, UIEventStream* events, bool useDelayForLatency, TimerFactory* timerFactory, EventController* eventController, EntityCapsProvider* entityCapsProvider, XMPPRoster* roster); ~MUCController(); boost::signal<void ()> onUserLeft; boost::signal<void ()> onUserJoined; @@ -124,6 +125,7 @@ namespace Swift { boost::posix_time::ptime lastActivity_; boost::optional<std::string> password_; InviteToChatWindow* inviteWindow_; + XMPPRoster* xmppRoster_; }; } |