blob: 39f2d3126c0eb91badce4c4c980e1708c0ffdc17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
#include "icinga/eventcommand.hpp"
#include "icinga/eventcommand-ti.cpp"
using namespace icinga;
REGISTER_TYPE(EventCommand);
thread_local EventCommand::Ptr EventCommand::ExecuteOverride;
void EventCommand::Execute(const Checkable::Ptr& checkable,
const Dictionary::Ptr& resolvedMacros, bool useResolvedMacros)
{
GetExecute()->Invoke({
checkable,
resolvedMacros,
useResolvedMacros
});
}
|