LeechCraft Azoth  0.6.70-15082-g543737046d
Modular multiprotocol IM plugin for LeechCraft
LC::Azoth::IHaveBlacklists Class Referenceabstract

Interface for accounts that may have blacklists. More...

#include "ihaveblacklists.h"

Public Member Functions

virtual bool SupportsBlacklists () const =0
 Checks whether this exact account supports blacklists. More...
 
virtual void SuggestToBlacklist (const QList< ICLEntry * > &entries)=0
 Suggests adding the given entries to the blacklist. More...
 

Protected Member Functions

virtual ~IHaveBlacklists ()=default
 

Detailed Description

Interface for accounts that may have blacklists.

Definition at line 33 of file ihaveblacklists.h.

Constructor & Destructor Documentation

◆ ~IHaveBlacklists()

virtual LC::Azoth::IHaveBlacklists::~IHaveBlacklists ( )
protectedvirtualdefault

Member Function Documentation

◆ SuggestToBlacklist()

virtual void LC::Azoth::IHaveBlacklists::SuggestToBlacklist ( const QList< ICLEntry * > &  entries)
pure virtual

Suggests adding the given entries to the blacklist.

It's up to the protocol plugin to show any additional UI that is required to handle this suggestion.

Parameters
[in]entriesThe list of entries to add to the blacklist.

◆ SupportsBlacklists()

virtual bool LC::Azoth::IHaveBlacklists::SupportsBlacklists ( ) const
pure virtual

Checks whether this exact account supports blacklists.

Returns
Whether blacklists are supported by this account.

The documentation for this class was generated from the following file: