15 #ifndef MUCROOMCONFIGHANDLER_H__
16 #define MUCROOMCONFIGHANDLER_H__
57 const std::string&
nick )
58 : m_jid( jid ), m_nick( nick ), m_affiliation( affiliation ), m_role( role )
68 : m_nick( nick ), m_affiliation( affiliation ), m_role(
RoleInvalid ),
92 const JID&
jid()
const {
return m_jid; }
98 const std::string&
nick()
const {
return m_nick; }
116 const std::string&
reason()
const {
return m_reason; }
123 std::string m_reason;
191 virtual void handleMUCConfigList(
MUCRoom* room,
const MUCListItemList& items,
202 virtual void handleMUCConfigForm(
MUCRoom* room,
const DataForm& form ) = 0;
211 virtual void handleMUCConfigResult(
MUCRoom* room,
bool success,
MUCOperation operation ) = 0;
220 virtual void handleMUCRequest(
MUCRoom* room,
const DataForm& form ) = 0;
226 #endif // MUCROOMCONFIGHANDLER_H__
MUCRoomAffiliation affiliation() const
const std::string & reason() const
MUCListItem(const std::string &nick, MUCRoomAffiliation affiliation, const std::string &reason)
MUCListItem(const JID &jid)
std::list< MUCListItem > MUCListItemList
The namespace for the gloox library.
This is an implementation of XEP-0045 (Multi-User Chat).
const std::string & nick() const
MUCListItem(const std::string &nick, MUCRoomRole role, const std::string &reason)
virtual ~MUCRoomConfigHandler()
MUCListItem(const JID &jid, MUCRoomRole role, MUCRoomAffiliation affiliation, const std::string &nick)
An abstract interface that can be implemented for MUC room configuration.