00001 /* 00002 * Copyright (c) 2011 Kevin Smith 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/Elements/MUCOccupant.h> 00010 #include <Swiften/JID/JID.h> 00011 namespace Swift { 00012 struct MUCItem { 00013 MUCItem() {} 00014 boost::optional<JID> realJID; 00015 boost::optional<std::string> nick; 00016 boost::optional<MUCOccupant::Affiliation> affiliation; 00017 boost::optional<MUCOccupant::Role> role; 00018 boost::optional<JID> actor; 00019 boost::optional<std::string> reason; 00020 }; 00021 }