mucinvitationhandler.h
/*
Copyright (c) 2006-2023 by Jakob Schröter <js@camaya.net>
This file is part of the gloox library. http://camaya.net/gloox
This software is distributed under a license. The full license
agreement can be found in the file LICENSE in this distribution.
This software may not be copied, modified, sold or distributed
other than expressed in the named license agreement.
This software is distributed without any warranty.
*/
#ifndef MUCINVITATIONHANDLER_H__
#define MUCINVITATIONHANDLER_H__
#include "clientbase.h"
#include "macros.h"
#include "jid.h"
#include <string>
namespace gloox
{
class GLOOX_API MUCInvitationHandler
{
public:
MUCInvitationHandler( ClientBase* parent );
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, const std::string& thread ) = 0;
};
}
#endif // MUCINVITATIONHANDLER_H__
gloox::ClientBase
This is the common base class for a Jabber/XMPP Client and a Jabber Component.
Definition clientbase.h:79
gloox::JID
An abstraction of a JID.
Definition jid.h:31
gloox::MUCInvitationHandler::~MUCInvitationHandler
virtual ~MUCInvitationHandler()
Definition mucinvitationhandler.h:47
gloox::MUCInvitationHandler::handleMUCInvitation
virtual void handleMUCInvitation(const JID &room, const JID &from, const std::string &reason, const std::string &body, const std::string &password, bool cont, const std::string &thread)=0
gloox::MUCInvitationHandler::MUCInvitationHandler
MUCInvitationHandler(ClientBase *parent)
Definition mucinvitationhandler.cpp:21
gloox
The namespace for the gloox library.
Definition adhoc.cpp:28