This class implements a unique MUC room. More...
#include <uniquemucroom.h>
Inherits gloox::InstantMUCRoom.
Public Member Functions | |
UniqueMUCRoom (ClientBase *parent, const JID &nick, MUCRoomHandler *mrh) | |
virtual | ~UniqueMUCRoom () |
This class implements a unique MUC room.
A unique MUC room is a room with a non-human-readable name. It is primarily intended to be used when converting one-to-one chats to multi-user chats.
XEP version: 1.21
Definition at line 34 of file uniquemucroom.h.
UniqueMUCRoom | ( | ClientBase * | parent, | |
const JID & | nick, | |||
MUCRoomHandler * | mrh | |||
) |
Creates a new abstraction of a unique Multi-User Chat room. The room is not joined automatically. Use join() to join the room, use leave() to leave it. See MUCRoom for detailed info.
parent | The ClientBase object to use for the communication. | |
nick | The service to create the room on plus the desired nickname in the form service/nick. | |
mrh | The MUCRoomHandler that will listen to room events. May be 0 and may be specified later using registerMUCRoomHandler(). However, without one, MUC is no joy. |
Definition at line 45 of file uniquemucroom.cpp.
~UniqueMUCRoom | ( | ) | [virtual] |
Virtual Destructor.
Definition at line 54 of file uniquemucroom.cpp.