mucinvitationhandler.cpp
/*
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.
*/
#include "mucinvitationhandler.h"
#include "mucroom.h"
namespace gloox
{
MUCInvitationHandler::MUCInvitationHandler( ClientBase* parent )
{
if( parent )
parent->registerStanzaExtension( new MUCRoom::MUCUser() );
}
}
gloox::ClientBase
This is the common base class for a Jabber/XMPP Client and a Jabber Component.
Definition clientbase.h:79
gloox::ClientBase::registerStanzaExtension
void registerStanzaExtension(StanzaExtension *ext)
Definition clientbase.cpp:1102
gloox::MUCInvitationHandler::MUCInvitationHandler
MUCInvitationHandler(ClientBase *parent)
Definition mucinvitationhandler.cpp:21
gloox::MUCRoom::MUCUser
An abstraction of a MUC user query.
Definition mucroom.h:202
gloox
The namespace for the gloox library.
Definition adhoc.cpp:28