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 <vector> 00010 00011 #include <Swiften/Base/API.h> 00012 #include <Swiften/JID/JID.h> 00013 00014 namespace Swift { 00015 class JID; 00016 00017 class SWIFTEN_API MUCRegistry { 00018 public: 00019 ~MUCRegistry(); 00020 00021 bool isMUC(const JID& j) const; 00022 void addMUC(const JID& j); 00023 void removeMUC(const JID& j); 00024 00025 private: 00026 std::vector<JID> mucs; 00027 }; 00028 }