icinga2/lib/icinga/macroresolver.hpp

30 lines
499 B
C++
Raw Normal View History

/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
#ifndef MACRORESOLVER_H
#define MACRORESOLVER_H
2014-05-25 16:23:35 +02:00
#include "icinga/i2-icinga.hpp"
#include "icinga/checkresult.hpp"
#include "base/dictionary.hpp"
#include "base/string.hpp"
namespace icinga
{
/**
* Resolves macros.
*
* @ingroup icinga
*/
2017-12-31 07:22:16 +01:00
class MacroResolver
{
public:
2014-11-07 12:32:25 +01:00
DECLARE_PTR_TYPEDEFS(MacroResolver);
virtual bool ResolveMacro(const String& macro, const CheckResult::Ptr& cr, Value *result) const = 0;
};
}
#endif /* MACRORESOLVER_H */