![]() |
LeechCraft
0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
|
A message used for inter-plugin communication. More...
#include "structures.h"
Public Attributes | |
QVariant | Entity_ |
The entity that this object represents. More... | |
QString | Location_ |
Source or destination. More... | |
QString | Mime_ |
MIME type of the entity. More... | |
TaskParameters | Parameters_ = NoParameters |
Parameters of this task. More... | |
QMap< QString, QVariant > | Additional_ |
Additional parameters. More... | |
A message used for inter-plugin communication.
The IEntityManager class is responsible for routing entities between plugins.
Definition at line 95 of file structures.h.
QMap<QString, QVariant> LC::Entity::Additional_ |
Additional parameters.
Some predefined or commonly used ones:
Definition at line 164 of file structures.h.
Referenced by LC::Util::MakeANCancel(), LC::Util::MakeANRule(), LC::Util::MakeNotification(), LC::Util::NotificationActionHandler::NotificationActionHandler(), operator<<(), LC::operator==(), operator>>(), and LC::Util::ShortcutManager::RegisterActionInfo().
QVariant LC::Entity::Entity_ |
The entity that this object represents.
In the context of entity delegation it represents the entity that should be downloaded or handled. For example, contents of a torrent file, a magnet link, an RSS document.
Here are some common conventions:
In the context of announcing about a finished entity, it could contain previously mentioned entities as well.
Definition at line 112 of file structures.h.
Referenced by LC::Util::MakeANCancel(), LC::Util::MakeEntity(), operator<<(), LC::operator==(), and operator>>().
QString LC::Entity::Location_ |
Source or destination.
In the context of entity delegation this parameter represents where the other plugin wants this job to be downloaded.
In the context of entity announce this represents from where this entity came - original URL, for example.
Definition at line 122 of file structures.h.
Referenced by LC::Util::MakeEntity(), LC::operator<(), operator<<(), LC::operator==(), and operator>>().
QString LC::Entity::Mime_ |
MIME type of the entity.
An empty mime is considered to be no mime.
Some predefined or commonly used ones:
Definition at line 148 of file structures.h.
Referenced by LC::Util::MakeEntity(), LC::operator<(), operator<<(), LC::operator==(), and operator>>().
TaskParameters LC::Entity::Parameters_ = NoParameters |
Parameters of this task.
Definition at line 152 of file structures.h.
Referenced by LC::Util::MakeEntity(), LC::operator<(), operator<<(), LC::operator==(), and operator>>().