]> granicus.if.org Git - icinga2/blob - lib/db_ido/idochecktask.hpp
Merge pull request #7124 from Icinga/bugfix/namespace-thread-safe
[icinga2] / lib / db_ido / idochecktask.hpp
1 /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
2
3 #ifndef IDOCHECKTASK_H
4 #define IDOCHECKTASK_H
5
6 #include "db_ido/dbconnection.hpp"
7 #include "icinga/checkable.hpp"
8
9 namespace icinga
10 {
11
12 /**
13  * IDO check type.
14  *
15  * @ingroup db_ido
16  */
17 class IdoCheckTask
18 {
19 public:
20         static void ScriptFunc(const Checkable::Ptr& service, const CheckResult::Ptr& cr,
21                 const Dictionary::Ptr& resolvedMacros, bool useResolvedMacros);
22
23 private:
24         IdoCheckTask();
25 };
26
27 }
28
29 #endif /* IDOCHECKTASK_H */