00001 /* 00002 * Copyright (c) 2010 Remko Tronçon 00003 * Licensed under the GNU General Public License v3. 00004 * See Documentation/Licenses/GPLv3.txt for more information. 00005 */ 00006 00007 #pragma once 00008 00009 #include <Swiften/Base/API.h> 00010 #include <Swiften/MUC/MUC.h> 00011 00012 namespace Swift { 00013 class IQRouter; 00014 class StanzaChannel; 00015 class DirectedPresenceSender; 00016 class MUCRegistry; 00017 00018 class SWIFTEN_API MUCManager { 00019 public: 00020 MUCManager(StanzaChannel* stanzaChannel, IQRouter* iqRouter, DirectedPresenceSender* presenceSender, MUCRegistry* mucRegistry); 00021 00022 MUC::ref createMUC(const JID&); 00023 00024 private: 00025 StanzaChannel* stanzaChannel; 00026 IQRouter* iqRouter; 00027 DirectedPresenceSender* presenceSender; 00028 MUCRegistry* mucRegistry; 00029 }; 00030 }