LeechCraft
0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
ientityhandler.h
Go to the documentation of this file.
1
/**********************************************************************
2
* LeechCraft - modular cross-platform feature rich internet client.
3
* Copyright (C) 2006-2014 Georg Rudoy
4
*
5
* Distributed under the Boost Software License, Version 1.0.
6
* (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
7
**********************************************************************/
8
9
#ifndef INTERFACES_IENTITYHANDLER_H
10
#define INTERFACES_IENTITYHANDLER_H
11
#include <QByteArray>
12
#include <QtPlugin>
13
#include "
structures.h
"
14
15
struct
EntityTestHandleResult
;
16
26
class
Q_DECL_EXPORT
IEntityHandler
27
{
28
public
:
45
virtual
EntityTestHandleResult
CouldHandle (
const
LC::Entity
& entity)
const
= 0;
46
58
virtual
void
Handle (
LC::Entity
entity) = 0;
59
60
virtual
~IEntityHandler
() {}
61
};
62
63
Q_DECLARE_INTERFACE (
IEntityHandler
,
"org.Deviant.LeechCraft.IEntityHandler/1.0"
)
64
65
#endif
66
IEntityHandler::~IEntityHandler
virtual ~IEntityHandler()
Definition:
ientityhandler.h:60
LC::Entity
A message used for inter-plugin communication.
Definition:
structures.h:95
structures.h
IEntityHandler
Interface for plugins able to handle entities.
Definition:
ientityhandler.h:26
EntityTestHandleResult
The result of testing whether an entity could be handled by a plugin.
Definition:
entitytesthandleresult.h:26
src
interfaces
ientityhandler.h
Generated by
1.8.17