#include <mucroomconfighandler.h>
Public Member Functions | |
virtual | ~MUCRoomConfigHandler () |
virtual void | handleMUCConfigList (MUCRoom *room, const MUCListItemList &items, MUCOperation operation)=0 |
virtual void | handleMUCConfigForm (MUCRoom *room, const DataForm &form)=0 |
virtual void | handleMUCConfigResult (MUCRoom *room, bool success, MUCOperation operation)=0 |
virtual void | handleMUCRequest (MUCRoom *room, const DataForm &form)=0 |
Definition at line 89 of file mucroomconfighandler.h.
virtual ~MUCRoomConfigHandler | ( | ) | [inline, virtual] |
Virtual Destructor.
Definition at line 95 of file mucroomconfighandler.h.
virtual void handleMUCConfigList | ( | MUCRoom * | room, | |
const MUCListItemList & | items, | |||
MUCOperation | operation | |||
) | [pure virtual] |
This function is called in response to MUCRoom::requestList() if the list was fetched successfully.
room | The room for which the list arrived. | |
items | The requestd list's items. | |
operation | The type of the list. |
This function is called when the room's configuration form arrives. This usually happens after a call to MUCRoom::requestRoomConfig(). Use MUCRoom::sendDataForm() to have a Tag created that you can use to send the configuration to the room.
room | The room for which the config form arrived. | |
form | The configuration form. |
virtual void handleMUCConfigResult | ( | MUCRoom * | room, | |
bool | success, | |||
MUCOperation | operation | |||
) | [pure virtual] |
This function is called in response to MUCRoom::kick(), MUCRoom::storeList(), MUCRoom::ban(), and others, to indcate the end of the operation.
room | The room for which the operation ended. | |
success | Whether or not the operation was successful. | |
operation | The finished operation. |
This function is called when a Voice request or a Registration request arrive through the room that need to be approved/rejected by the room admin. Use MUCRoom::createDataForm() to have a Tag created that answers the request.
room | The room the request arrived from. | |
form | A DataForm containing the request. |