summaryrefslogtreecommitdiffstats
blob: 5e237f592d1c6dfb72fcf6325562487dcee5cefb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * Copyright (c) 2010 Isode Limited.
 * All rights reserved.
 * See the COPYING file for more information.
 */

#pragma once

#include <Swiften/Base/API.h>
#include <Swiften/MUC/MUC.h>

namespace Swift {
	class IQRouter;
	class StanzaChannel;
	class DirectedPresenceSender;
	class MUCRegistry;

	class SWIFTEN_API MUCManager {
		public:
			MUCManager(StanzaChannel* stanzaChannel, IQRouter* iqRouter, DirectedPresenceSender* presenceSender, MUCRegistry* mucRegistry);

			MUC::ref createMUC(const JID&);

		private:
			StanzaChannel* stanzaChannel;
			IQRouter* iqRouter;
			DirectedPresenceSender* presenceSender;
			MUCRegistry* mucRegistry;
	};
}