LeechCraft 0.6.70-14794-g33744ae6ce
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
entitytesthandleresult.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_ENTITYTESTHANDLERESULT_H
10#define INTERFACES_ENTITYTESTHANDLERESULT_H
11
27{
31
35 {
36 PIdeal = 1000,
37 PHigh = 800,
38 PNormal = 600,
39 PLow = 200,
40 PNone = 0
41 };
42
49
57 , CancelOthers_ (false)
58 {
59 }
60
66 : HandlePriority_ (prio)
67 , CancelOthers_ (false)
68 {
69 }
70};
71
72#endif
The result of testing whether an entity could be handled by a plugin.
EntityTestHandleResult(Priority prio)
Constructs a test result with given predefined priority.
EntityTestHandleResult()
Default-constructs a test result.
bool CancelOthers_
Whether other handlers should be canceled.
Priority
The typical values for the priority.
int HandlePriority_
The priority with which an entity could be handled.