![]() |
LeechCraft Azoth
0.6.70-15082-g543737046d
Modular multiprotocol IM plugin for LeechCraft
|
Interface for entries for sending directed statuses. More...
#include "ihavedirectedstatus.h"
Public Member Functions | |
virtual | ~IHaveDirectedStatus () |
virtual bool | CanSendDirectedStatusNow (const QString &variant)=0 |
Checks if status can be sent to the given variant. More... | |
virtual void | SendDirectedStatus (const EntryStatus &status, const QString &variant)=0 |
Sends directed status to the given variant. More... | |
Interface for entries for sending directed statuses.
This interface should be implemented by CL entries that support directed statuses — that is, statuses sent only to a given entry.
Definition at line 37 of file ihavedirectedstatus.h.
|
inlinevirtual |
Definition at line 46 of file ihavedirectedstatus.h.
|
pure virtual |
Checks if status can be sent to the given variant.
This function should return false if directed status cannot be sent to variant right now, otherwise it should return true (even in doubt). A naive implementation may choose to always return true here.
[in] | variant | The variant of the entry to check. |
|
pure virtual |
Sends directed status to the given variant.
This function should (try to) send the given status to the given variant of the entry.
[in] | status | The status to send. |
[in] | variant | The variant of the entry where to send the status. |