42 QObject *Handler_ =
nullptr;
48 explicit operator bool ()
const
107Q_DECLARE_INTERFACE (
IEntityManager,
"org.Deviant.LeechCraft.IEntityManager/1.0")
Proxy to core entity manager.
virtual bool HandleEntity(LC::Entity entity, QObject *desired=nullptr)=0
Handles the given entity.
virtual DelegationResult DelegateEntity(LC::Entity entity, QObject *desired=nullptr)=0
Delegates the given entity and returns the delegation result.
virtual QList< QObject * > GetPossibleHandlers(const LC::Entity &entity)=0
Queries what plugins can handle the given entity.
virtual ~IEntityManager()
virtual bool CouldHandle(const LC::Entity &entity)=0
Queries whether the given entity can be handled at all.
The result of delegating this entity to another plugin.
QFuture< IDownload::Result > DownloadResult_
A message used for inter-plugin communication.