icinga2/lib/methods/nulleventtask.hpp

31 lines
551 B
C++
Raw Normal View History

/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
#ifndef NULLEVENTTASK_H
#define NULLEVENTTASK_H
2014-05-25 16:23:35 +02:00
#include "methods/i2-methods.hpp"
#include "icinga/service.hpp"
#include "base/dictionary.hpp"
namespace icinga
{
/**
* Test class for additional event handler types. Implements the "null" event handler type.
*
* @ingroup methods
*/
2017-12-31 07:22:16 +01:00
class NullEventTask
{
public:
static void ScriptFunc(const Checkable::Ptr& service,
const Dictionary::Ptr& resolvedMacros, bool useResolvedMacros);
private:
NullEventTask();
};
}
#endif /* NULLEVENTTASK_H */