9#ifndef INTERFACES_IENTITYHANDLER_H
10#define INTERFACES_IENTITYHANDLER_H
63Q_DECLARE_INTERFACE (
IEntityHandler,
"org.Deviant.LeechCraft.IEntityHandler/1.0")
Interface for plugins able to handle entities.
virtual void Handle(LC::Entity entity)=0
Notifies the plugin that it should handle the given entity.
virtual EntityTestHandleResult CouldHandle(const LC::Entity &entity) const =0
Returns whether plugin can handle given entity.
virtual ~IEntityHandler()
The result of testing whether an entity could be handled by a plugin.
A message used for inter-plugin communication.