9#ifndef PLUGINS_AZOTH_INTERFACES_IMUCENTRY_H
10#define PLUGINS_AZOTH_INTERFACES_IMUCENTRY_H
13#include <util/azoth/emitters/mucentry.h>
134 virtual
void Leave (const QString& msg = QString ()) = 0;
150 virtual
void SetNick (const QString& nick) = 0;
203 virtual
void InviteToMUC (const QString& userId, const QString& msg) = 0;
208Q_DECLARE_INTERFACE (
LC::
Azoth::
IMUCEntry,
"org.Deviant.LeechCraft.Azoth.IMUCEntry/1.0")
Represents a single entry in contact list.
Represents a single MUC entry in the CL.
virtual void Leave(const QString &msg=QString())=0
Requests to leave the room.
virtual void InviteToMUC(const QString &userId, const QString &msg)=0
Invites the user to this MUC.
virtual QString GetMUCSubject() const =0
Returns subject of this MUC.
virtual QString GetRealID(const ICLEntry &participant) const =0
Returns the real ID of a participant.
virtual bool CanChangeSubject() const =0
Returns whether MUC subject can be changed.
virtual bool IsAutojoined() const =0
Whether this MUC room was automatically joined.
virtual void Join()=0
Requests to join the room.
Emitters::MUCEntry & GetMUCEntryEmitter()
virtual ~IMUCEntry()=default
virtual QString GetNick() const =0
Returns the nick of our participant.
Emitters::MUCEntry MUCEmitter_
virtual MUCFeatures GetMUCFeatures() const =0
The list of features of this MUC.
virtual QList< ICLEntry * > GetParticipants()=0
The list of participants of this MUC.
virtual void SetNick(const QString &nick)=0
Changes the nick of our participant.
virtual void SetMUCSubject(const QString &subject)=0
Updates the subject of this MUC.
virtual QString GetGroupName() const =0
Returns human-readable name of participants' group.
virtual QVariantMap GetIdentifyingData() const =0
Returns the data identifying this room.