instantmucroom.h
/*
Copyright (c) 2007-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 INSTANTMUCROOM_H__
#define INSTANTMUCROOM_H__
#include "mucroom.h"
namespace gloox
{
class GLOOX_API InstantMUCRoom : public MUCRoom
{
public:
InstantMUCRoom( ClientBase* parent, const JID& nick, MUCRoomHandler* mrh );
virtual ~InstantMUCRoom();
protected:
// reimplemented from MUCRoom (acknowledges instant room creation w/o a
// call to the MUCRoomConfigHandler)
virtual bool instantRoomHook() const { return true; }
};
}
#endif // INSTANTMUCROOM_H__
gloox::ClientBase
This is the common base class for a Jabber/XMPP Client and a Jabber Component.
Definition clientbase.h:79
gloox::InstantMUCRoom::instantRoomHook
virtual bool instantRoomHook() const
Definition instantmucroom.h:54
gloox::InstantMUCRoom::InstantMUCRoom
InstantMUCRoom(ClientBase *parent, const JID &nick, MUCRoomHandler *mrh)
Definition instantmucroom.cpp:22
gloox::JID
An abstraction of a JID.
Definition jid.h:31
gloox::MUCRoomHandler
This interface enables inheriting classes to be notified about certain events in a MUC room.
Definition mucroomhandler.h:91
gloox::MUCRoom::MUCRoom
MUCRoom(ClientBase *parent, const JID &nick, MUCRoomHandler *mrh, MUCRoomConfigHandler *mrch=0)
Definition mucroom.cpp:619
gloox::MUCRoom::nick
const std::string nick() const
Definition mucroom.h:389
gloox
The namespace for the gloox library.
Definition adhoc.cpp:28