icinga2/lib/methods/icingachecktask.hpp

30 lines
490 B
C++

/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
#ifndef ICINGACHECKTASK_H
#define ICINGACHECKTASK_H
#include "methods/i2-methods.hpp"
#include "icinga/service.hpp"
namespace icinga
{
/**
* Icinga check type.
*
* @ingroup methods
*/
class IcingaCheckTask
{
public:
static void ScriptFunc(const Checkable::Ptr& checkable, const CheckResult::Ptr& cr,
const Dictionary::Ptr& resolvedMacros, bool useResolvedMacros);
private:
IcingaCheckTask();
};
}
#endif /* ICINGACHECKTASK_H */