Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | Related Pages

MUCInvitationHandler Class Reference

A handler that can be used to receive invitations to MUC rooms. More...

#include <mucinvitationhandler.h>

List of all members.

Public Member Functions

virtual ~MUCInvitationHandler ()
virtual void handleMUCInvitation (const JID &room, const JID &from, const std::string &reason, const std::string &body, const std::string &password, bool cont)=0


Detailed Description

A handler that can be used to receive invitations to MUC rooms.

Register a derived class with ClientBase::registerMUCInvitationHandler().

Author:
Jakob Schroeter <js@camaya.net>
Since:
0.9

Definition at line 34 of file mucinvitationhandler.h.


Constructor & Destructor Documentation

virtual ~MUCInvitationHandler  )  [inline, virtual]
 

Virtual Destructor.

Definition at line 40 of file mucinvitationhandler.h.


Member Function Documentation

virtual void handleMUCInvitation const JID room,
const JID from,
const std::string &  reason,
const std::string &  body,
const std::string &  password,
bool  cont
[pure virtual]
 

This function is called for incoming invitations to MUC rooms.

Parameters:
room The JID of the room you being invited to.
from The JID of the inviter.
reason A reason for the invitation.
body The body of the message. May contain a MUC-service generated invitation message.
password Optionally, a password for the room.
cont Indicates whether or not the multi-user chat is a continuation of a private chat.


The documentation for this class was generated from the following file:
Generated on Tue Apr 22 15:10:14 2008 for gloox by  doxygen 1.4.1