summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/MUC/MUC.h')
-rw-r--r--Swiften/MUC/MUC.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Swiften/MUC/MUC.h b/Swiften/MUC/MUC.h
index bccc26c..af3daa8 100644
--- a/Swiften/MUC/MUC.h
+++ b/Swiften/MUC/MUC.h
@@ -20,6 +20,7 @@
namespace Swift {
class StanzaChannel;
+ class IQRouter;
class PresenceSender;
class MUC {
@@ -28,7 +29,7 @@ namespace Swift {
enum LeavingType { Part, Disconnect };
public:
- MUC(StanzaChannel* stanzaChannel, PresenceSender* presenceSender, const JID &muc);
+ MUC(StanzaChannel* stanzaChannel, IQRouter* iqRouter, PresenceSender* presenceSender, const JID &muc);
void joinAs(const String &nick);
/*void queryRoomInfo(); */
@@ -66,7 +67,9 @@ namespace Swift {
private:
JID ownMUCJID;
StanzaChannel* stanzaChannel;
+ IQRouter* iqRouter_;
PresenceSender* presenceSender;
+ JID muc_;
std::map<String, MUCOccupant> occupants;
bool joinComplete_;
boost::bsignals::scoped_connection scopedConnection_;