LeechCraft Azoth 0.6.70-17609-g3dde4097dd
Modular multiprotocol IM plugin for LeechCraft
Loading...
Searching...
No Matches
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.
virtual void SuggestToBlacklist (const QList< ICLEntry * > &entries)=0
 Suggests adding the given entries to the blacklist.

Protected Member Functions

virtual ~IHaveBlacklists ()=default

Detailed Description

Interface for accounts that may have blacklists.

Definition at line 21 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:
  • /home/abuild/rpmbuild/BUILD/leechcraft-doc-0.6.70+git.17609.g3dde4097dd-build/leechcraft-0.6.70-17609-g3dde4097dd/src/plugins/azoth/interfaces/azoth/ihaveblacklists.h