![]() |
LeechCraft
0.6.70-13729-g7046a9d2a7
Modular cross-platform feature rich live environment.
|
A message used for inter-plugin communication. More...
#include "structures.h"
Public Member Functions | |
Entity () | |
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_ |
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 119 of file structures.h.
|
inline |
Definition at line 190 of file structures.h.
QMap<QString, QVariant> LC::Entity::Additional_ |
Additional parameters.
Some predefined or commonly used ones:
Definition at line 188 of file structures.h.
Referenced by LC::Util::NotificationActionHandler::AddFunction(), LC::Util::GetUserText(), LC::Util::MakeANCancel(), LC::Util::MakeANRule(), LC::Util::MakeNotification(), LC::Util::NotificationActionHandler::NotificationActionHandler(), operator<<(), LC::operator==(), operator>>(), and LC::Util::ShortcutManager::RegisterGlobalShortcut().
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 136 of file structures.h.
Referenced by LC::Util::GetUserText(), 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 146 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 172 of file structures.h.
Referenced by LC::Util::GetUserText(), LC::Util::MakeEntity(), LC::operator<(), operator<<(), LC::operator==(), and operator>>().
TaskParameters LC::Entity::Parameters_ |
Parameters of this task.
Definition at line 176 of file structures.h.
Referenced by LC::Util::MakeEntity(), LC::operator<(), operator<<(), LC::operator==(), and operator>>().